SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to combine classes? (can CSS do this?)

    Can I do the following: (I have the classes listed twice - is that legal?)

    Could I do soemthing like:
    .pmp, .jmp {border:0;}
    .pmp {position:absolute;top:-30px;}
    .jmp {position:relative;left:-1px;}

  2. #2
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The first thing you can do (define multiple classes at once). But I'm quite sure you can't define a class twice or split it's definition into multiple blocks like that.
    Kevin


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
  •