473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

New Firefox 2.0 Div Alignment Oddity

I had a web app working great with the previous Firefox where I had a
table cell and it had 2 divs inside -- one for text and one for an
image to go right beside it. (It was a "modified recently" flag icon
and a modified date, just so you can picture this.)

When I upgraded to Firefox 2.0, the image decided to shift to the
bottom and the text to the top, and right beside each other. Their CSS
float values were left and right -- the right/left thing was the
expected result, but I didn't bargain for the upper and lower movement.
I tried using vertical-align and valign, but that didn't help.

The solution, I found, was to make the div holding the text have the
"position: absolute" property, oddly enough. That snapped the text and
flag icon to the middle -- exactly what I wanted.

Hope this helps you if you're having this problem too.

Nov 24 '06 #1
0 1446

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stone Chen | last post by:
Hello, When I try to insert this line of code into my script, Firefox refuses to render. Could someone explain to me why that is? if (x.firstChild.firstChild.nodeValue==productID) { some code...
2
by: Joey | last post by:
Hello all, I have been designing a site where the main content is enclosed in one table, and that table needs to be centered (the centering is done by using another container such as a div or...
10
by: David Deharbe | last post by:
Hi, Assuming that a pointer to void is always a multiple of 4 provides an opportunity to use as tags the two bits that are always 0. Knowing that several experts on the ISO99 C standard should...
0
by: KPants | last post by:
I'm currently attempting to fix an issue that's been occuring with the design template I made for my Myspace... At first, it looked perfectly fine in Firefox, but in IE, everything was off the the...
6
by: Andy Mabbett | last post by:
Please can someone remind me of the most elegant fix for the way Firefox fails to vertically align cell content by default? For example, the second event on: ...
1
by: rahulthathoo | last post by:
We are having some problem with out css- style on firefox. The same site displays fine in IE. But in Firefox, there are some hyperlinks which just dont appear as hyperlinks, rather appear as plan...
9
by: Geoff Cox | last post by:
hello when I use <fieldset><legend></legend> <input type="hidden" name="subject" value="Course"> <input type="hidden" name="recipient" value="allemails"> <input type="hidden" name="email"...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
2
by: Steve | last post by:
A few months ago I went to a web site that looked terrible in Firefox, but fine in IE and Opera. It turned out that because I had reset my default font size in Firefox to be larger, that my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.