Announcement

Collapse
No announcement yet.

List items in Firefox and Netscape

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    List items in Firefox and Netscape

    Hi All.

    Can anyone answer this, if I create a list of items like so:

    !!<<li>Hats and gloves</li>>!!
    !!<<li>Body protectors</li>>!!
    !!<<li>Boots</li>>!!
    !!<<li>Jodhpurs and breeches</li>>!!
    !!<<li>Show Jackets and shirts</li>>!!
    !!<<li>Chaps</li>>!!
    !!<<li>Fluorescent clothing</li>>!!
    !!<<li>Childrens</li>>!!

    why when viewed with Firefox or Netscape I get a <BR> after each </li>!! which makes the list lokk untidy.


    Many thanks

    Dereck

    #2
    I dont know why the line breaks are being inserted, nor why it only happens in Firefox, but I would try this...

    - strip all the unnecessary actinic HTML tags, and you need to tell it what type of list it is (either <UL> for Unordered list(bullet points) or <OL> for Ordered list (numbers)) like so....

    Code:
    !!<
    <ul>
    <li>Hats and gloves</li>
    <li>Body protectors</li>
    <li>Boots</li>
    <li>Jodhpurs and breeches</li>
    <li>Show Jackets and shirts</li>
    <li>Chaps</li>
    <li>Fluorescent clothing</li>
    <li>Childrens</li>
    </ul>
    >!!

    Comment


      #3
      You are getting the line breaks as you were putting each on a new line - surrounding each line with the !!<...>!! code ... IE shows this incorrectly but as you had intended - Firefox et al are not as forgiving about errors as IE.

      Using the full <ul> structure as above will give the desired results.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment

      Working...
      X