|
Lining Up Information In Three Column Lay Out
|
Logged in as: Guest
|
Name: | |
|

bbidderonoh
Posts: 5
Member since: 10/19/2008

|
Lining Up Information In Three Colum...
|
|
|
I am very new to using CSS. I have attempted to set up a three column lay out design but I am having trouble with items in the left column moving down when I put an item in the center column. My site is being tested on: http://dataentryathome.info/ Here is my CSS: body {background-color: #ffffff;} #header {width: 100%; margin: .5em;} h1 {color: #800000; font-size: 2.5em; text-align: center; margin: 0em;} p.header {color: #000000; font-size: 1.25em; font-weight: bold; text-align: center; margin: 0em;} #content {position: relative; width: 100%;} #countdown-image {text-align: center; position: relative; background-color: #ffffff; margin: 0em; margin-top: 0px;} div#navbar {height: 30px; margin-left: 15%; margin-right: 15%; border-top: solid #000 1px; border-bottom; solid #000 1px; background-color: #FFCC00;} div#navbar ul {margin: 0px; padding: 0px; font-family: arial, sans-serif; font-size: small; font-weight: bold; color: #000000; line-height: 30px; white-space: no wrap; text-align: center;} div#navbar ul li {list-style: none; display: inline; padding: 7px 10px;} #main-text { background-color: #ffffff; position: relative; margin-top: 5%; margin-left: 15%; border: solid 1px #800000; width: 70%;} h2 {color: #800000; font-size: 1.5em; text-align: center; margin-top: -3%;} #leftcol {background-color: #ffffff; height: auto; width: 20%; margin-top: -20%; margin-left: -23%; text-align:center;} img.leftcolads {float:left; clear: left;} My HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Great Gift Ideas For Pets And Their People</title> <meta name="keywords" content="dog gifts, gifts under $10, dog collar, personalized collar, personalized dog collar,nascar for dogs, NFL for dogs, football jersey for dogs, MLB for dogs, jersey for dogs, baseball jersey for dogs, ornament" /> <link rel="stylesheet" type="text/css" href="Homepage-style.css"> </head> <body> <div id="header"> <h1>Cleveland Pet Store.Com</h1> <p class="header">"Great Gift Ideas For Pets And Their People"</p> </div> <br /> <div id="navbar"> <ul> <li>Home</li> <li>Gifts Under $10</li> <li>Licensed Gear</li> <li>Personalized Collars</li> <li>Magazines</li> </ul> </div> <div id="content"> <div id="main-text"> <h2> </h2> <h2>Featured Gifts Under $10</h2> <img src="images/PawPrintOrnament.jpg" alt="Paw Print Ornament"/> <div class="desc">Paw Print Ornament</div> <img src="images/PawPrintOrnament.jpg" alt="Paw Print Ornament"/> <div class="desc">Paw Print Ornament</div> <div id="leftcol"> <img src="images/greenies.png" alt="Greenies" class="leftcolads"/> <p><font color="#008000"><b>Greenies</b></font><br /><a href="http://www.greenies.com/en_US/FreeSample/">Free Sample</a> Treats For Dogs And Cats</p> <img src="images/waggin.jpg" alt="Waggin Tail Cookies" class="leftcolads"/> <p><font color="#800000"><b>Waggin Tail Cookies</b></font> Grain Free!</p> <p><a href="http://www.easywebautomation.com/app/?af=863236">Try A Sample <align="right"></align="right"></a></p> </div> </div> </div> </body> </html>
|
|
|
|
Report Abuse |
Date: 11/11/2008 11:48:01 AM
 |
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|