Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Stupid simple CSS issue!

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #157825
    lprintz
    Participant

    Hi guys!

    For the LIFE of me, I can’t get the widths of list items to adjust based on a class to the ul

    I’ve tried all iterations of child selectors, universal selectors, etc. and just can’t get it to work!

    I KNOW this is simple and I’m probably missing something silly.

    Here’s the page – http://siphon-marketing.com/widget/widget.html

    I’ve set the style to 2col and it’s ignoring me :(

    Len

    #157826
    Melindrea
    Participant

    It can’t start with a number, that’s not a valid classname.

    #157827
    lprintz
    Participant

    Told you it was stupid simple! :)

    So a class can’t begin with a digit?

    Thanks SO much Melindrea!

    #157835
    Melindrea
    Participant

    No, it appears that it can only start with a dash, an underscore, or a letter. There’s some other rules as well, you can check it up if you’re interested.

    #157869
    lprintz
    Participant

    I hear ya Joe!

    I’ve been doing this since CSS was created (coded back in old ‘table’ days) and this is the first I’ve done this…never would’ve thought :)

    Len

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.