Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-26-2007, 05:59 AM   PM User | #1
easynet
New to the CF scene

 
Join Date: Dec 2007
Location: Singapore
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
easynet is an unknown quantity at this point
layout container problem.

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
easynet is offline   Reply With Quote
Old 12-26-2007, 06:19 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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:
Code:
/*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.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

Last edited by Excavator; 12-26-2007 at 06:21 AM..
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:54 PM.


Advertisement
Log in to turn off these ads.