Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Location
    Singapore
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,740
    Thanks
    22
    Thanked 1,837 Times in 1,821 Posts
    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.
    Last edited by Excavator; 12-26-2007 at 07:21 AM.
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •