Can’t figure out some simple CSS
-
I have the following in my HMTL (before I convert it for WordPress). The image that is in my #page will not fill the height correctly. Any suggestions?
index.html
<div class="container"> <div id="header"> <h1><a src="/"></a></h1> </div> <div id="page"> <div id="content"> <p>Lorem Ipsum</p> </div> <div id="sidebar"> <div id="searchform"> <form method="get" id="search" action="#"> <fieldset> <input type="text" class="searchbar" name="s" id="s" /> <input type="submit" class="search" value="Search" /> </fieldset> </form> </div> </div> </div>Here is the CSS:
.container { width:100%; height: 100%; margin: 0 auto; } #page { background: /*#41424e*/ url('images/nav.png'); border-radious: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; margin: 0 auto; text-align: left; width: 960px; padding-top:20px; clear:both; } #content { float: left; margin-left:20px; width: 540px; padding:20px; background: rgb(245, 245, 234); border-radious: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; } #sidebar { float: left; margin: 0 20px 0 20px; padding: 0 20px; width: 280px; background: rgb(245, 245, 234); -moz-border-radius: 10px; -webkit-border-radius: 10px; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Can’t figure out some simple CSS’ is closed to new replies.