Jump to content


blog not displaying correctly in firefox (CSS)


3 replies to this topic

#1 zingyGecko

    Young Padawan

  • Members
  • Pip
  • 16 posts

Posted 02 January 2007 - 06:23 PM

I'm making a blog php script, and now I'm trying to make a second column for links (the first column being all the blog posts), so in CSS I made the 1st column's div float:left and made another column and made it's div float:right. It works fine in Internet Explorer but in firefox it gets messed up. Here's some screens so you can see what i mean:

Firefox:
Posted Image

Internet Explorer:
Posted Image

I have the outputted html as an attachment.

You can download it with all the images here: http://www.badongo.com/file/1955666

If anyone can tell me how to fix it then it'd be greatly appreciated. Thanks in advance.

Attached Files


Edited by zingyGecko, 03 January 2007 - 06:39 PM.


#2 bay

    Young Padawan

  • Members
  • Pip
  • 105 posts
  • Gender:Male
  • Location:Chicago, IL USA

Posted 03 January 2007 - 12:03 AM

don't have time to actually download it right now...but my guess is that you need overflow:auto; in the div that won't "expand" down.

#3 blacky

    Young Padawan

  • Members
  • Pip
  • 34 posts
  • Gender:Male

Posted 03 January 2007 - 12:05 AM

after the two divs you have floating left and right, add another div to clear them.

<div style="clear:both"></div>


#4 zingyGecko

    Young Padawan

  • Members
  • Pip
  • 16 posts

Posted 03 January 2007 - 06:38 PM

View Postblacky, on Jan 3 2007, 01:05 AM, said:

after the two divs you have floating left and right, add another div to clear them.

<div style="clear:both"></div>
That worked, thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users