hello, I need help please with, first the menu bar which becomes bigger under IE
and also how to get the content to stretch all the way to the bottom/footer.
can anyone help me with this please?Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Coffee</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <style type="text/css"> html,body{margin:0;padding:0} body{font: 76% arial,sans-serif;text-align:center; background:url(images/marble_bg.jpg);margin:40px 0;} p{margin:0 10px 10px} a{display:block;color: #006;padding:10px; text-decoration: none; color: #B43939;} a:hover {text-decoration: underline; color: #FFFFFF;} img {border:none} div#header{position:relative} div#header h1{height:150px;line-height:80px;margin:0;padding-left:10px;background:#FFF url(images/coffee_beans.jpg) 0 0 no-repeat; color: #79B30B} div#header a{position:absolute;right:0;top:23px} div#menu{min-height:20px; margin:0; padding:0; background:#a4b05c; color:#FFF; border-top: solid 4px #74182f;} * html #menu {height:20px;} div#container{text-align:left; background:#74182f} div#content {line-height:1.4; background:#ece9ca;} div#left{background:#74182f; color:#FFF} div#footer{background:#a4b05c;color: #FFF; border-bottom: solid 4px #74182f;} div#footer p{margin:0;padding:5px 10px} div#footer a{display:inline;padding:0;color: #C6D5FD} div#container{width:760px;margin:0 auto} div#content{float:right;width:550px} div#left{float:left;width:210px} div#footer{clear:both;width:100%} .menu { width: 100%; margin: 0; padding: 0 ; background: none; list-style-type:none } .menu ul { margin: 0; padding: 0; list-style-type: none; } .menu li { margin: 0; padding: 0; float: left; width: 20%; text-align: left; } .menu a{ display:block; padding: 5px 10px; margin:0; text-decoration:none; } .menu a:hover{ background:#663300; color:#FFF; } </style> <body> <div id="container"> <div id="header"><h1>Header</h1></div> <div id="menu"> <ul class="menu"> <li><a href="#">Home</a></li> <li><a href="#">Our Stores</a></li> <li><a href="#">What's New</a></li> <li><a href="#">Careers</a></li> <li><a href="#">Contact</a></li> </ul> <br clear="left"> </div> <div id="wrapper"> <div id="content"> <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text text column text silly very make long very fill silly make make long make text fill very long text column silly silly very column long very column filler fill long make filler long silly very long silly silly silly long filler make column filler make silly long long fill very.</p> <p>very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p> <p>fill long make long text very make long fill column make text very silly column filler silly text fill text filler filler filler make make make make text filler fill column filler make silly make text text fill make very filler column very </p> <p>column text long column make silly long text filler silly very very very long filler fill very fill silly very make make filler text filler text make silly text text long fill fill make text fill long text very silly long long filler filler fill silly long make column make silly long column long make very </p> </div> </div> <div id="left"> <!--<div id="latest" class="boxed">--> <h2 class="title">News</h2> <div class="content"> <ul> <li> <h3>March 5, 2008</h3> <p><a href="#">In posuere eleifend odio quisque semper augue mattis wisi maecenas ligula…</a></p> </li> <li> <h3>March 3, 2008</h3> <p><a href="#">Quisque dictum integer nisl risus, sagittis convallis, rutrum id, congue, and nibh…</a></p> </li> <li> <h3>February 28, 2008</h3> <p><a href="#">Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue rutrum…</a></p> </li> <li> <h3>February 25, 2008</h3> <p><a href="#">Nam pede erat, porta eu, lobortis eget, tempus et, tellus. Etiam nequea…</a></p> </li> <li> <h3>February 20, 2008</h3> <p><a href="#">Vivamus fermentum nibh in augue. Praesent a lacus at urna congue rutrum. Nulla enim eros…</a></p> </li> </ul> </div> </div> <!--</div>--> <div id="footer"><p>The footer.</p></div> </div> </body> </html>
Many thanks.





Bookmarks