• Resolved nimaha

    (@nimaha)


    Using a static home page, I have an unordered list with an id=””

    It would look like this: <ul id="something">

    Whenever I save the page, WordPress removes the id and it looks like this:

    <ul>

    Obviously, this is causing me some real styling pains.

    I have not encountered this problem before and have not had any success fixing it. The only thing that has worked so far was putting the element into a widget.

    I am on WordPress MU 2.9.2.

Viewing 1 replies (of 1 total)
  • Have you tried wrapping it in another element with a class?

    <div class="example">
    <ul id="something">
    
    // your list etc..
    
    </ul>
    </div>

    That way if the ID gets wiped and but the class remains you can target based on the containing element..

    div.example ul { //your css }

    No idea why it removes the ID in the first place, the above is just a suggestion for trying to work around it.

Viewing 1 replies (of 1 total)
  • The topic ‘unordered list id tag getting removed’ is closed to new replies.