473,473 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to prevent DIVs from overlaying?

dorinbogdan
839 Recognized Expert Contributor
Hi,

I cannot fix this link to look correct in FireFox, as it looks in IE.

NOTE: I have access to modify any HTML code, except the top Table and bottom DIV (they are dynamically included by the provider).

In FireFox the bottom DIV (of the provider) overlays my main DIV.

Please advise,
Dorin.
Apr 5 '07 #1
5 3243
drhowarddrfine
7,435 Recognized Expert Expert
You will never get IE to try and perform like modern browsers without a proper doctype. See the sticky at the top of this board about doctypes.

For your overlay problem, you have a div that is absolutely positioned. This removes that div and its contents from the normal flow which is why that footer is allowed to rise up. Change it to position:relative and see if that solves the problem although you may have to adjust its positioning.

Then validate your html and css for a list of errors all this generates.
Apr 5 '07 #2
dorinbogdan
839 Recognized Expert Contributor
1. With relative position it appears almost similar, the bottom Div was shifted few lines bellow. (please check the link to see)

2. How to validate HTML and CSS?

Thanks,
Dorin.
Apr 5 '07 #3
dorinbogdan
839 Recognized Expert Contributor
Even the <hr> style appears a little different now, the Doctype solved the problem:
[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/html]

Thanks,
Dorin.
Apr 5 '07 #4
AricC
1,892 Recognized Expert Top Contributor
1. With relative position it appears almost similar, the bottom Div was shifted few lines bellow. (please check the link to see)

2. How to validate HTML and CSS?

Thanks,
Dorin.
Here is a link to the validator.
Apr 5 '07 #5
dorinbogdan
839 Recognized Expert Contributor
Thanks for help drhowarddrfine and AricC.
Apr 6 '07 #6

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

Similar topics

4
by: smiley | last post by:
I hope this is the right forum for this question; i know it crosses over a few topics but here goes. I have a page that uses a server-side include perl script to return a list of name/value pairs...
2
by: wooks | last post by:
I have designed a form whereby the bottom right hand corner of each field is overlayed with text that act as a caption for the field. As an example see the background labels in this article...
12
by: sneill | last post by:
Hello, I have the following HTML / CSS that draws 2 rows. Each row has 3 cells. I want the cells within each row to span a single line. Each cell is 100px wide, and the row containing them is...
39
by: WindAndWaves | last post by:
Hi Gurus I have a page, which looks a bit like this: .... <body> <div ID=id1>................</DIV> <div ID=gsd>................</DIV> <div ID=ewd>................</DIV> <div...
2
by: tasman.hayes | last post by:
I'm experimenting with converting a site from a table layout to CSS. I'm floating three DIVs in a row for the top of a website (a logo, navigation buttons and a email list signup box). The DIVs...
10
by: hendedav | last post by:
Gang, I am not quite sure if this has been posted before. I have searched google groups and couldn't find anything. I am trying to setup a container div that contains columns of divs (to...
0
by: josephkorn | last post by:
Hi all. I have a problem in my website in trying to prevent a user from double submitting the form. I am calling a subroutine from my page_load event that passes in the commandbutton that I want...
2
by: Num GG | last post by:
Hi all, Given this simple code: <div id="mydiv" ondblclick="alert(id)" //parent div Div4 bla bla bla bla on div 4 <div id="myembeddeddiv"ondblclick="alert(id)" // child div...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.