Can some body change this css From "id" to "class" please

Discussion in 'CSS' started by googlerankmaniac, Mar 20, 2008.

  1. #1
    #m{margin:0 0px;padding:0;list-style:none; border-top:0px solid #840000;}
    #m a:link,#m a:visited{display:block;margin:3px 3; padding:3px 3;background:#ffffff;
    color:#000000;text-decoration:none;text-indent:6px; font-weight:normal;width:128px}
    #m a:hover{background:#33CCFF;font-weight:bold;color:#ffffff }

    PLease help.. Thanks in advance!
     
    googlerankmaniac, Mar 20, 2008 IP
  2. pilotX

    pilotX Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey there, all you have to do is swap the (#m) with a (.m) to make it a class. The period is what defines the class in CSS. One more thing to do before you test it is to update the html to say <div class="m"></div>
     
    pilotX, Mar 20, 2008 IP
  3. googlerankmaniac

    googlerankmaniac Peon

    Messages:
    568
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But now i have another problem

    293 Value Error : font attempt to find a semi-colon before the property name. add it
    292 Value Error : font Parse Error [empty string]
    343 Value Error : font attempt to find a semi-colon before the property name. add it
    342 Value Error : font Parse Error [empty string]
    420 Value Error : font attempt to find a semi-colon before the property name. add it
    419 Value Error : font Parse Error [empty string]
    470 Value Error : font attempt to find a semi-colon before the property name. add it
    469 Value Error : font Parse Error [empty string]
    520 Value Error : font attempt to find a semi-colon before the property name. add it
    519 Value Error : font Parse Error [empty string]
    570 Value Error : font attempt to find a semi-colon before the property name. add it
    569 Value Error : font Parse Error [empty string]
    620 Value Error : font attempt to find a semi-colon before the property name. add it
    619 Value Error : font Parse Error [empty string]
    670 Value Error : font attempt to find a semi-colon before the property name. add it
    669 Value Error : font Parse Error [empty string]
    720 Value Error : font attempt to find a semi-colon before the property name. add it
    719 Value Error : font Parse Error [empty string]
    770 Value Error : font attempt to find a semi-colon before the property name. add it
    769 Value Error : font Parse Error [empty string]
    820 Value Error : font attempt to find a semi-colon before the property name. add it
    819 Value Error : font Parse Error [empty string]
    870 Value Error : font attempt to find a semi-colon before the property name. add it
    869 Value Error : font Parse Error [empty string]
    920 Value Error : font attempt to find a semi-colon before the property name. add it
    919 Value Error : font Parse Error [empty string]
    970 Value Error : font attempt to find a semi-colon before the property name. add it
    969 Value Error : font Parse Error [empty string]
    1020 Value Error : font attempt to find a semi-colon before the property name. add it
    1019 Value Error : font Parse Error [empty string]
    1070 Value Error : font attempt to find a semi-colon before the property name. add it
    1069 Value Error : font Parse Error [empty string]
    1120 Value Error : font attempt to find a semi-colon before the property name. add it
    1119 Value Error : font Parse Error [empty string]
    1170 Value Error : font attempt to find a semi-colon before the property name. add it
    1169 Value Error : font Parse Error [empty string]
    1220 Value Error : font attempt to find a semi-colon before the property name. add it
    1219 Value Error : font Parse Error [empty string]
    1270 Value Error : font attempt to find a semi-colon before the property name. add it
    1269 Value Error : font Parse Error [empty string]
    1320 Value Error : font attempt to find a semi-colon before the property name. add it
    1319 Value Error : font Parse Error [empty string]
    1370 Value Error : font attempt to find a semi-colon before the property name. add it
    1369 Value Error : font Parse Error [empty string]
    1420 Value Error : font attempt to find a semi-colon before the property name. add it
    1419 Value Error : font Parse Error [empty string]
    1470 Value Error : font attempt to find a semi-colon before the property name. add it
    1469 Value Error : font Parse Error [empty string]
    1524 Value Error : font attempt to find a semi-colon before the property name. add it
    1523 Value Error : font Parse Error [empty string]

    PLease help again
     
    googlerankmaniac, Mar 20, 2008 IP
  4. pilotX

    pilotX Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hmm.. are you linking to the style sheet or embedding it on the page. Also, what programming language are you using
     
    pilotX, Mar 20, 2008 IP
  5. googlerankmaniac

    googlerankmaniac Peon

    Messages:
    568
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    googlerankmaniac, Mar 20, 2008 IP
  6. pilotX

    pilotX Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hey man its not your Style sheet its your index page: This is the error ->

    <p style="font: 12px line-height: 12px; padding: 0; margin: 0; padding-top: 7px; text-align: justify;">

    You forgot to close the font: 12px; and you should change the font: 12px; font-size:12px;
     
    pilotX, Mar 20, 2008 IP
  7. googlerankmaniac

    googlerankmaniac Peon

    Messages:
    568
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks really helped a lot!
     
    googlerankmaniac, Mar 20, 2008 IP
  8. pilotX

    pilotX Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    sure no prob
     
    pilotX, Mar 20, 2008 IP