easynet
12-26-2007, 05:59 AM
hello
i have little problem about container.
why my layout not balance.when using ff ok instead IE7 not cosistent
please see here http://filehino.com/putrapbrasmana/
css file: http://filehino.com/putrapbrasmana/style/style.css
TQ
Excavator
12-26-2007, 06:19 AM
Hello easynet,
No sense putting margin on the body of your document.
I corrected the spelling of margin-top for you and it works. Like this:/*This is css for putrabrasmana*/
body{
background:#fff url('img/bg_main.gif') repeat-x;
}
#container{
width: 80%;
margin-top: 50px;
margin-right: 50px;
margin-bottom:50px;
margin-left:50px;
/* all that could be shortened to margin: 50px;*/
padding: 80px;
border: 1px solid #666;
background: #ede25e;
}
.italic{
font-style:italic;
font-size:large;
font-weight:bold;
color:#65814;
text-indent: value;
text-transform: value;
}
The validator finds that and other errors in both your CSS and your markup. Check out the suggestion about validating often in my sig below.