Remove a parent style

Discussion in 'CSS' started by timallard, Feb 25, 2008.

  1. #1
    Ok...im stuck..

    Im working within a content management system and its adding a dashed line to each <li> in an <ul> within a module.

    Im using dynamic content that is also content managed. its wrapping each item in a <li>.

    <module> (li style is here content managed)
    <list> (li dynamic)
    </list> (li dynamic)
    </module> (end module)

    I need the <li> to NOT have the li style in the module. I have no control over the dynamic list elements, its only fed in with a javascript tag.

    Thank you for your help,
    -Tim
     
    timallard, Feb 25, 2008 IP
  2. os-vdo

    os-vdo Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you post a snippet of the code? It's not complicated just helps to see the layout ;)
     
    os-vdo, Feb 25, 2008 IP
  3. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #3
    If you don't have access to modify the parent style, you can't do jack but overwrite it.
     
    soulscratch, Feb 25, 2008 IP