The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Trouble with floated element margins
Good Morning…
this is driving me absolutely nuts!
http://www.oasiswebdevelopment.com/aurora/index4.html
I have two elements each floated left with a 10 px margin applied to their class. It renders correctly within dreamweaver but not in my browsers..
markup:
CSS
.imgbox { width: 299px; float: left; margin-left: 10px;
}
Can anyone help????
thank you
Elizabeth
What do you mean by not rendering correctly?
the margins are in effect in the DW Window but in the browser window, the two images are smack together.. no margins so that image 1 is right up agains image 2.
Can you help?
actually I just looked again and now they are cooperating.. I did not change anything.. this is really weird.. any comments?
could have been your cache that was making it display incorrectly.