I am trying to place three background images side by side (horizontal), but am unable to using the "float" property like I thought I would. Is there a better way to do this? I need them to be completely flush next to each other.
Site URL: http://goldvinegrill...ding/index.html
To look like: http://goldvinegrill...ing/Website.jpg
CSS code:
#wrapper {margin: 0px auto; width:1057px;}
body {background-color:#FFFFF;}
#center {background:url("../images/center.jpg") no-repeat; width:532px; height:500px; margin:0 auto;}
#l-side {background:url("../images/l-side.jpg") no-repeat; width:261px; height:500px; float:left;}
#r-side {background:url("../images/r-side.jpg") no-repeat; width:264px; height:500px; float:left;}
HTML code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <link href="css/style.css" type="text/css" rel="stylesheet"> <title>Andrea & Jordans Wedding</title> </head> <body> <div id="wrapper"> <div id="l-side"> </div> <div id="center"> </div> <div id="r-side"> <div> </div> </body> </html>
Thanks for any help!

New Topic/Question
Reply



MultiQuote






|