1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Default value

Discussion in 'CSS' started by 9reenNinj@, May 4, 2005.

  1. #1
    if you have this in a external CSS file :

    td
    {
    FONT-SIZE: 7.25pt;
    COLOR: #008060;
    FONT-FAMILY: 'verdana';
    BACKGROUND-COLOR: #e9eeea;
    TEXT-ALIGN: left
    }

    td.normalTd
    {
    }
    SEMrush
    Is there a way to set all the attributes changed in the first "default" class back to their default value in normalTD ?
     
    9reenNinj@, May 4, 2005 IP
    SEMrush
  2. CompressedAir

    CompressedAir Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure what you are asking; but if you mean to override the previous settings in the td tag, you could do:
    td.normalTd
    {
    font-size: auto; (or whatever your default value is)
    color: whatever your default color is
    BACKGROUND-COLOR: whatever your default color is;
    text-align: right; (or whatever your default value is)
    }
    Code (markup):
     
    CompressedAir, May 9, 2005 IP
  3. 9reenNinj@

    9reenNinj@ Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    My question was if there was a way to do this without repeating all the changed attributes.
     
    9reenNinj@, May 23, 2005 IP