Results 1 to 2 of 2

CSS Help

This is a discussion on CSS Help within the Template Modifications forums, part of the vBulletin SEO Discussion category; I have the following CSS for a list: HTML Code: #custom { font: 12px verdana, geneva, lucida, 'lucida grande', arial, ...

  1. #1
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times

    CSS Help

    I have the following CSS for a list:

    HTML Code:
          #custom { font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
                    }
        
    
        #custom ul {
            list-style: none;
            margin-left: 0;
            padding-left: 1em;
            text-indent: -1em;
            }
    
        #custom li {
            list-style-image: none;
            list-style-type: none;
            }
            #custom li a:active, #custom li a:visited, #custom li a:link  {
            font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
                    text-decoration:underline;
            }
        #custom ul li:before {
            content: "0BB 020";
            }
    At the end is the content: "0BB 020"; however when viewing the block on my site with firefox, the text "0BB 020" shows before each list item. In IE the list shows perfectly. What is the alternative?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    :before, :after and many other pseudo selectors are not widespread support yet.

    firefox is showing your OBB 020 BEFORE your list, as it supports it.
    IE does not yet support this CSS 3 spec specification.



    if you don't want anything beofre your list, remove your last statement.

Similar Threads

  1. Cleanup CSS code
    By MaestroX in forum vBSEO Features Archive
    Replies: 10
    Last Post: 04-02-2007, 12:31 PM
  2. CSS in file
    By Przemysław Rejf in forum Template Modifications
    Replies: 3
    Last Post: 12-17-2006, 09:14 PM
  3. css error
    By mediax in forum Bug Reporting
    Replies: 1
    Last Post: 11-17-2005, 08:51 PM
  4. XHTML 1.0 und CSS valid
    By maresi in forum Deutsch
    Replies: 1
    Last Post: 11-08-2005, 09:22 PM

Posting Permissions

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