Jump to content


Problem with border in Firefox


4 replies to this topic

#1 Althanis

    Young Padawan

  • Members
  • Pip
  • 62 posts

Posted 02 December 2005 - 01:30 PM

This is the page:

http://tobiasbuckell.../test/index.htm

In IE, the black 1px border on the left and right side of the container div extend right down to the bottom as they should, but in Firefox stop about halfway through, Anywayone has any idea why?

#2 AnDy89

    Young Padawan

  • Members
  • Pip
  • 64 posts

Posted 02 December 2005 - 03:24 PM

you defined the height as 100% and firefox reads 100% differently to IE.

#3 Althanis

    Young Padawan

  • Members
  • Pip
  • 62 posts

Posted 02 December 2005 - 05:44 PM

I see what's happening. In Firefox, the length of the border is always the length of the actual browser and when you scroll down it doesnt extend past there.

Any ideas how to fix this?

#4 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 02 December 2005 - 08:38 PM

instead of using height 100%, (everything BUT ie renders it the way you see it in firefox) add a <div style="clear:both;"> right before the end tag of the container div.

#5 Althanis

    Young Padawan

  • Members
  • Pip
  • 62 posts

Posted 03 December 2005 - 03:46 PM

Thanks a lot, that worked. Dont know why it occured, but it's fixed.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users