SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2001
    Location
    Utah
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Whats wrong with my CSS?

    This may be more then a simple CSS problem, I have two styles on my forum, both use the same CSS file, one is working, one is not... is there something wrong with this CSS? If not, i'll start going through all my changed templates!

    Heres a link to it working: http://www.bikeforums.net/index.php?&styleid=1

    And not working:
    http://www.bikeforums.net/index.php?&styleid=1

    Id rather get the 2nd link working, it has more customized, but i cant figure out the CSS problem

    Code:
    TEXTAREA, .bginput {
    FONT-SIZE: 10px;
    	FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    	COLOR: #000000;
                    border-top:1px solid;
                    border-bottom:1px solid;
                    border-left: 1px solid;
                    border-right:1px solid;
                    BORDER-COLOR: #042445;
    	BACKGROUND-COLOR: #CFCFCF
    }
    
    .bginput2 {
    FONT-SIZE: 10px;
    	FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    	COLOR: #FFFFFF;
                    border-top:1px solid;
                    border-bottom:1px solid;
                    border-left: 1px solid;
                    border-right:1px solid;
                    BORDER-COLOR: #000000;
                    height: 17px;
    	BACKGROUND-COLOR: #416186
    }
    
    BODY {
    	SCROLLBAR-BASE-COLOR: #042445;
    	SCROLLBAR-ARROW-COLOR: #FFFFFF;
    }
    
    SELECT {
    	FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    	FONT-SIZE: 11px;
    	COLOR: #000000;
    	BACKGROUND-COLOR: #CFCFCF
    }
    
    .toplinks {
    	FONT-SIZE: 10px;
    	FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    	COLOR: #FFFFFF;
                    border-top:1px solid;
                    border-bottom:1px solid;
                    border-left: 1px solid;
                    border-right:1px solid;
                    BORDER-COLOR: #000000;
                    width: 158px;
                    height: 17px;
    	BACKGROUND-COLOR: #416186
    }
    
    A:link, A:visited, A:active {
    	COLOR: #042445;
    }
    
    A:hover {
    	COLOR: #000000;
    }
    #cat A:link, #cat A:visited, #cat A:active {
    	COLOR: #FFFFFF;
    	TEXT-DECORATION: none;
    }
    #cat A:hover {
    	COLOR: #FFFFFF;
    	TEXT-DECORATION: underline;
    }
    #ltlink A:link, #ltlink A:visited, #ltlink A:active {
    	COLOR: #042445;
    	TEXT-DECORATION: none;
    }
    #ltlink A:hover {
    	COLOR: #000000;
    	TEXT-DECORATION: underline;
    }
    .thtcolor {
    	COLOR: #FFFFFF;
    }

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Frankly, I don't see the difference, but let's see if we can't get you up and running. I'll put my corrections in red.
    Code:
    TEXTAREA.bginput {
    FONT-SIZE: 10px;
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    COLOR: #000000;
    border-top, border-bottom, border-left, border-right:1px solid #042445;
          	BACKGROUND-COLOR: #CFCFCF
    }
    
    .bginput2 {
    FONT-SIZE: 10px;
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    COLOR: #FFFFFF;
    border-top, border-bottom, border-left, border-right:1px solid #000000;
    height: 17px;
    BACKGROUND-COLOR: #416186
    }
    
    BODY {
    SCROLLBAR-BASE-COLOR: #042445;
    SCROLLBAR-ARROW-COLOR: #FFFFFF;
    }
    
    SELECT {
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    FONT-SIZE: 11px #000000;
    BACKGROUND-COLOR: #CFCFCF
    }
    
    .toplinks {
    FONT-SIZE: 10px;
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    COLOR: #FFFFFF;
    border-top, border-bottom, border-left, border-right:1px solid #000000;
    width: 158px;
    height: 17px;
    BACKGROUND-COLOR: #416186
    }
    
    A:link, A:visited, A:active {
    COLOR: #042445;
    }
    
    A:hover {
    COLOR: #000000;
    }
    #cat A:link, #cat A:visited, #cat A:active {
    COLOR: #FFFFFF;
    TEXT-DECORATION: none;
    }
    #cat A:hover {
    COLOR: #FFFFFF;
    TEXT-DECORATION: underline;
    }
    #ltlink A:link, #ltlink A:visited, #ltlink A:active {
    COLOR: #042445;
    TEXT-DECORATION: none;
    }
    #ltlink A:hover {
    COLOR: #000000;
    TEXT-DECORATION: underline;
    }
    .thtcolor {
    COLOR: #FFFFFF;
    }
    Does this work?

    Sketch
    Last edited by Sketch; Dec 15, 2001 at 21:46.
    Aaron Brazell
    Technosailor



  3. #3
    SitePoint Zealot
    Join Date
    Feb 2001
    Location
    Utah
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, heres the style set wtih teh bad CSS: http://www.bikeforums.net/index.php?&styleid=16 ...

    I'll give your code a try

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2001
    Location
    Utah
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, i was missing a tag!


Bookmarks

Posting Permissions

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