.css stylesheet problems

Discussion in 'OT Technology' started by Scout, Sep 2, 2006.

  1. Scout

    Scout OT Supporter

    Joined:
    Oct 10, 2003
    Messages:
    41,554
    Likes Received:
    0
    Location:
    Awwwz
    If anyone has any time on their hands, can you take a look at my very basic .css and tell me what's wrong? As it doesn't work:





    <style type="text/css">
    body
    {font-family:Arial,Helvetica,sans-serif;
    font-size:1em;
    color:666666;
    margin-left:100px;
    margin-right:100px;}


    h1
    {font-size:1.8em;
    background-color: transparent;
    border: 1px solid;
    border-color: 666666;
    color: f0f0f0;
    padding: 3px;
    overflow: hidden;}

    h2
    {font-size:1.6em;
    background-color: transparent;
    color: f0f0f0;
    border: 1px solid;
    border-color: 666666;}

    h3
    {font-size: 1.05em;
    text-transform: uppercase;
    margin-bottom: -15px;}


    #topnav
    {font-size: 1.0em;
    text-align:center;}

    #topnav ul
    {list-style:none;
    margin:0;
    padding:0;
    padding-top:20px;
    padding-bottom:20px;
    border-bottom:1px dotted #ccc;
    border-top:1px dotted #ccc;}

    #topnav li
    {display:inline;
    padding-right:5px;}




    #spyware
    {color:f0f0f0;
    font-size:1.1em;
    text-decoration:none;}

    #spyware a:hover
    {color:white;}


    #ipaddresses
    {color:f0f0f0;
    font-size:1.1em;
    text-decoration;none}

    #ipaddresses a:hover
    {color:white;}


    #searchengines
    {color:f0f0f0;
    font-size:1.1em;
    text-decoration:none;}

    #searchengines a:hover
    {color:white;}


    #reference
    {color:f0f0f0;
    font-size:1.1em;
    text-decoration:none;}

    #reference a:hover
    {color:white;}
    </style>
     
  2. 95vr4

    95vr4 OT Supporter

    Joined:
    Oct 6, 2004
    Messages:
    2,513
    Likes Received:
    0
    Location:
    Weddington, NC
    css looks fine. Lets see the html
     
  3. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
  4. purebad

    purebad I don't need your approval, right?

    Joined:
    Aug 25, 2006
    Messages:
    4,376
    Likes Received:
    0
    Location:
    Smyrna, GA
    what he said
     
  5. Scout

    Scout OT Supporter

    Joined:
    Oct 10, 2003
    Messages:
    41,554
    Likes Received:
    0
    Location:
    Awwwz

Share This Page