Banner issues |
Banner issues |
Jane Gallagher |
May 8 2008, 04:35 PM
Post
#1
|
Newbie Group: Members Posts: 15 Joined: 7-May 08 Member No.: 5,604 |
I've been asked to help a friend create a website for her pilates business. Before I really begin, however, I've been trying to polish my pretty basic web design skills (that I haven't used in years). I've been trying to use a layout provide by the free version of Coffee Cup HTML Editor.
You can see my banner issues: here Any idea why my navigation/extra columns are blocking the banner from fitting into the layout? CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Layout 25</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="HAPedit 3.1"> <style type="text/css"> html,body{margin:0;padding:0} body{font: 76% arial,sans-serif} p{margin:0 10px 10px} a{display:block;color: #981793;padding:10px} body { margin:0 auto; width:770px; border: 1px solid #000000; font-family:Arial,Verdana,sans-serif; color:#003366; font-size:10pt; text-align:justify; } div#header h1{height:80px;line-height:80px;margin:0; padding-left:10px;background: #EEE;color: #79B30B} div#content p{line-height:1.4} div#navigation{background:#B9CAFF} div#extra{background:#FF8539} div#footer{background: #333;color: #FFF} div#footer p{margin:0;padding:5px 10px} div#wrapper{float:left;width:100%;margin-left:-33%} div#banner{ float:top; height: 149px; background-image: url(http://pilatesbyj.com/testbanner.jpg); background-repeat: no-repeat;} div#content{margin-left:33%} div#navigation{float:right;clear:top;width:32.9%} div#extra{float:right;clear:right, top;width:32.9%} div#footer{clear:both;width:100%} </style> </head> <body> <div id="container"> <div id="wrapper"> <div id="banner"></div> <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="navigation"> <p><strong>2) Navigation here.</strong> long long fill filler very fill column column silly filler very filler fill fill filler text fill very silly fill text filler silly silly filler fill very make fill column text column very very column fill fill very silly column silly silly fill fill long filler </p> </div> <div id="extra"> <p><strong>3) More stuff here.</strong> very text make long column make filler fill make column column silly filler text silly column fill silly fill column text filler make text silly filler make filler very silly make text very very text make long filler very make column make silly column fill silly column long make silly filler column filler silly long long column fill silly column very </p> </div> <div id="footer"><p>Here it goes the footer</p></div> </div> <div style="font:normal 11px arial,sans-serif;text-align:center; margin:1em auto;">::: Made with CoffeeCup : <a href="http://www.coffeecup.com/" title="HTML - FTP - Flash" style="text-decoration: none"> Web Design Software & Website Hosting</a> :::</div> </body> </html> This post has been edited by Darin McGrew: May 8 2008, 04:40 PM |
Darin McGrew |
May 8 2008, 04:42 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I recommend that you start by fixing the markup errors and CSS errors reported by the online tools.
Right now, you've floated div#wrapper to the left, and its siblings div#navigation and div#extra to the right. And that's what I see in my browser. |
Lo-Fi Version | Time is now: 24th April 2024 - 11:44 PM |