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 4 of 4

Thread: CSS Help Please

  1. #1
    New to the CF scene
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Help Please

    Those are my first attemps with CSS based website, I used tables

    Finally when I was able to control those things I am haing problems...

    Here is what I made and I stuck ..... see why .. >



    I am using dreamweaver. here is what I made as the first stages..



    Here is the HTML code it self




    Here is my CSS




    Okay all looks good to my un-expirinesed eye. but until I tried to preview it...



    Can some one see the problem, and mayby help.

    Thenks

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yeah you need a # before ALL hex values. You don't have one for the background color of #main. Also padding does count for overall width and height fyi. In the future please just post the code rather than screen shots of the code, it helps in testing possible solutions easier.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Apr 2006
    Location
    Manchester, UK
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    body,td,th{
    font-family: Arial;
    font-size: 12px;
    }
    
    body{
    background-color: #2f2f2f;
    }
    
    #main{
    background-color: #f8f8f8;
    margin: auto;
    width: 728px;
    padding-top: 17px;
    padding-right: 16px;
    padding-left: 15px;
    border: 1px solid #646464;
    }

  • #4
    New to the CF scene
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh very sorry for posting screens I will next time.

    And thenks alot for the help.


  •  

    Posting Permissions

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