Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > intermittent CSS behavior in Firefox

Thread Tools

intermittent CSS behavior in Firefox

tkepler tkepler is offline
Junior Member
Join Date: Feb 2008
Posts: 1
I know Firefox is supposed to be standards-compliant and the most reliable when it comes to CSS, but I'm having a problem that I can't pin down. Hopefully someone can offer me some insight.

I have a wrapper div (800px wide, centered on the page using margin-left: auto and margin-right: auto) that contains other divs. There are a couple of divs at the top, and then two side-by-side divs below (relative positioning, floated left and right respectively).

In most other browsers I test in (IE6, IE7, Safari, Opera), it works fine. And indeed, in Firefox it works mostly fine. However, every once in a while the right-hand div bumps down to below the left-hand div. Not every time, and reloading the page realigns them at the top. It seems to me to be pretty random, and it's not dependent upon the width of either div (I cranked them both down to very narrow, just to make sure I wasn't exceeding my 800px somehow).

Again, it's only Firefox, and it's intermittent. My CSS validates, so obviously it's either a Firefox bug OR I'm omitting something I need to have.

Anyone have any ideas? The site can be seen here:

and the CSS is at:

(Currently the two divs in question have borders so I can see what's going on, but I'll take those out when I roll out the site.)

Thanks in advance for any insight anyone can provide.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermittent mouse behavior Rich Windows 64bit 9 03-04-2010 11:33 PM
Intermittent forms Login failure for IE but not Firefox Sky ASP .Net Security 1 08-28-2007 08:52 AM
Strange Behavior: Intermittent 'The Page cannot be displayed'. L Scott ASP .Net 0 12-02-2004 03:28 PM
undefined behavior or not undefined behavior? That is the question Mantorok Redgormor C Programming 70 02-17-2004 02:46 PM
Behavior in CSS style on RadioButton Curtis Koppang ASP .Net 0 12-11-2003 02:01 PM