Keywords as CSS definitions/variables?

Discussion in 'CSS' started by almondj, Aug 14, 2007.

  1. #1
    I wonder if it's possible to have CSS variables contain keywords. Example:

    h1 {font-family: Arial; font-decoration: underline; }

    Replace with keywords

    cars, auto parts, forums, trucks, racing, etc. {font-family: Arial; font-decoration: underline; }

    The CSS validator would be like WTF is this? But maybe search engine would <3 it?
     
    almondj, Aug 14, 2007 IP
  2. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #2
    CSS is used to customize the look of your page and adjust the styles. HTML is used to build the actual page. :rolleyes:
     
    Katy, Aug 15, 2007 IP
  3. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #3
    What's up with all these weird SEO people invading the CSS forum and thinking up of ideas such as keywords being selectors and not using image replacement techniques to satisfy search engines? WTF?
     
    soulscratch, Aug 15, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've been driving them out of the SEO boards with my eloquent presentations of fact and logic. Sorry. :(
     
    Dan Schulz, Aug 15, 2007 IP
  5. almondj

    almondj Peon

    Messages:
    768
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #5
    I know what it is and how to use it, I was justa wonderin'!
     
    almondj, Aug 16, 2007 IP