simple html question

Out of context: Reply #9

  • Started
  • Last post
  • 10 Responses
  • doctor0

    <style>
    ul { list-style-type: none }
    .lev-1 { margin-left: 20px }
    .lev-2 { margin-left: 40px }
    </style>

    <ul>
    <li>Arizona</li>
    <li class="lev-1">Phoenix</li>
    <li class="lev-2">Hotel 1</li>
    <li class="lev-2">Hotel 2</li>
    </ul>

    • ah, i'm just trying to get away from using css to do the list.studderine
    • thank you for the help.studderine
    • You should always - always - use CSS to determine how your content is displayed.doctor
    • i understand that, seperate content from presentation, but for my purposes i wanted the purely html waystudderine
    • I can't imagine why, but best of luck to you anyway. :)doctor

View thread