Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS float creating white space Re: CSS float creating white space

#111394
Sunny
Member

Sorry sample code
[html]
[body]
[div style=”float:left; width:60%; height:100px; background:red”][/div]
[div style=”float:left; width:60%; height:100px; background:green”][/div]
[div style=”float:right; width:30%; height:100px; background:blue” position:relative; top:0][/div]
[/body[
[/html]

I do not want the gap at the top and want the third div to start from the top of the page but on right side.