SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox: Webpage renders differently each time I refresh

    I have an unordered list that should be displaying two items per line on the page and then wrapping to the next line and doing the same thing. This only happens correctly about 30% of the time in firefox.

    url:

    I've attached a screenshot of the problem.
    Attached Images Attached Images
    Last edited by volare; Jan 15, 2008 at 11:14.

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems to work ok for me in FF, but you do have some errors - you cannot nest a <p> (block level elements) inside an <a> (inline element).

  3. #3
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Centauri View Post
    you cannot nest a <p> (block level elements) inside an <a> (inline element).
    ...and how this particular markup is parsed in Firefox depends on packet boundaries, which should explain why it's rendered differently on reload.

    http://ln.hixie.ch/?start=1138169545&count=1
    Simon Pieters

  4. #4
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you both. Fixed it.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •