473,395 Members | 1,688 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,395 software developers and data experts.

Are there any solution to the div height problem in Firefox?

Hi,

I'm making website for my client. I have now for four hours tried to find a solution to the famous Firefox div height issue.

If someone isn't familiar with it, here is image which explains a bit:
http://www.kolumbus.fi/tuomas.harju/...la_firefox.jpg

The orange background in the image should go on behind the text when the page is scrolled. In IE it works fine. In Firefox it doesn't work. In Firefox there isn't background after that grey bottom bar. Only way it seems to work is if I set the div height for example 200%. But it just isn't very nice way to do it.

And of course I can do it with table. Can it be done with CSS?

Thanks for help.

- Tuomas
Dec 28 '06 #1
4 2917
AricC
1,892 Expert 1GB
Post that code please
Dec 28 '06 #2
drhowarddrfine
7,435 Expert 4TB
There is no height problem in Firefox.
There is a height problem in IE.

As AricC said, post a link or the complete code or we will have to show you a picture of the fix. ;)

Now that I look at the picture, am I correct that the div is floated? In that case, IE is incorrect here and improperly expands elements to contain floated items.
Dec 28 '06 #3
Arielle
76
Firefox doesn't have a problem, IE does.

Only way I ever found around it was to resize the element with an on load javascript function.
Dec 28 '06 #4
drhowarddrfine
7,435 Expert 4TB
There is a way without javascript but, unfortunately, I'm going out of town right now for at least three days.
Dec 28 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Lachlan Hunt | last post by:
Hi, In the "Firefox 5 Minute Challenge" that I'm trying to write the stylesheet for, the height of language bar needs controlled by the height of the content, so that if the window is not wide...
6
by: amandadev | last post by:
Hi there, I actually have two problems with the following site: http://coombes.amandadevries.com: 1. Why does Firefox ignore my request for a 'red' background for my ..container? IE doesn't....
1
by: astrochelonian | last post by:
Hello, all, First time I post, so I beg for everyone's patience. I am writing because I have the following doubt. in the page http://atuin.no-ip.org, you can see a blue-grey bar stretching...
1
by: achillies | last post by:
After hours of searching and coding, i finally have a code to drag and draw rectangles on images. I got most of the code pasted below from a post almost 2 years old and did some patch work to it. Now...
5
by: austincollins | last post by:
I have been searching for hours to find a solution to display text rotated at 90 degrees in firefox, and could not find one. css3 and IE has the css command "writing-mode: tb-rl;" but this does not...
1
by: John Nagle | last post by:
I'm having problems with excessive line spacing in FireFox. This seems to happen when "line-height" is set to "normal" when a large font is in effect, then there's a font change to a smaller font...
2
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, I have a gridview and I need it to display correctly in Opera. I need to set the row height, so that even on the last page of data all the rows are the same height as on the other pages. ...
19
by: Rabel | last post by:
I have a page that is using tables (please no comments about this - I understand it should be css but firefox created this template) I have a menu down the left side and the bottom is supposed to...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.