473,513 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DIV still overlapping


http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no error.
But Firefox is still overlapping the DIV's. (View with IE7 to get the
picture of what I want)

Please, please help.

Mar 21 '06 #1
6 5928
Gernot Frisch wrote:
http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no error.
But Firefox is still overlapping the DIV's. (View with IE7 to get the
picture of what I want)


As mentioned previously your choice of Doctype causes Internet Explorer to
decide that you don't understand CSS and intentionally get certain CSS
features wrong.

Change your Doctype to:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

or join the 21st century with:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

(and fix the legacy things that Transitional lets you get away with).

.... and IE will stop making that mistake. Then you can start trying to get
it to act as you want.

Also as mentioned previously - using pt units for font sizing is harmful.

* It ignores user preference
* Most systems are not calibrated to correctly translate pt to screen
pixels.
* Internet Explorer users cannot easily increase the font size if you pick
something unreadable to them.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Mar 21 '06 #2
Gernot Frisch wrote:
http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no error.
Don't simplify it. Use a full doctype as David said. Preferably Strict.

Then, visit this link and fix your CSS errors.

<http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.glbasic.com/bugs.htm>
Please, please help.


We will help you help yourself. :-)

--
-bts
-Warning: I brake for lawn deer
Mar 21 '06 #3
Gernot Frisch wrote:
http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no error.
But Firefox is still overlapping the DIV's. (View with IE7 to get the
picture of what I want)

Remove the "height: 21px" from ".X2".
Firefox correctly heeds the property by maintaining the div height at
21px. IE does not; it treats height like min-height instead.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Mar 22 '06 #4

"Jim Moe" <jm***************@sohnen-moe.com> schrieb im Newsbeitrag
news:vo********************@giganews.com...
Gernot Frisch wrote:
http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no
error.
But Firefox is still overlapping the DIV's. (View with IE7 to get
the
picture of what I want)

Remove the "height: 21px" from ".X2".
Firefox correctly heeds the property by maintaining the div height
at
21px. IE does not; it treats height like min-height instead.

Bingo! Thank you very much!
Mar 22 '06 #5
Gernot Frisch wrote:

http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no error.
But Firefox is still overlapping the DIV's. (View with IE7 to get the
picture of what I want)

Please, please help.


I would, but in order for me to see what you want, I first have to reboot
into windows, go to microsoft, download and install IE7, probably reboot
into windows again, open the new browser, and view your page so that I can
see what your goal is. Then, I would uninstall IE7, make sure it did not
corrupt anything on my windows partition, ensure that everything is nice
and stable, reboot back into linux, bring up Firefox and see what it is
displaying and compare that with my recollection of what was happening back
in IE7.

On the other hand, if you could get a snapshot of what you want, next time
you run IE7 and upload it to your site with a link in your message, then I
can easily download the screenshot, display it in a window, while at the
same time looking at your site in firefox.

In other words, if you would like my assistance. Make it easy for me to
assist you. Otherwise, Sorry! Maybe next time.

Carolyn
--
Carolyn Marenger

Mar 24 '06 #6

"Carolyn Marenger" <ca****@marenger.com> schrieb im Newsbeitrag
news:ce**************************@PRIMUS.CA...
Gernot Frisch wrote:

http://www.glbasic.com/bugs.htm

I fixed the doctype and simplified it. The validator shows no
error.
But Firefox is still overlapping the DIV's. (View with IE7 to get
the
picture of what I want)

Please, please help.


I would, but in order for me to see what you want, I first have to
reboot
into windows, go to microsoft, download and install IE7, probably
reboot
into windows again, open the new browser, and view your page so that
I can
see what your goal is. Then, I would uninstall IE7, make sure it
did not
corrupt anything on my windows partition, ensure that everything is
nice
and stable, reboot back into linux, bring up Firefox and see what it
is
displaying and compare that with my recollection of what was
happening back
in IE7.

On the other hand, if you could get a snapshot of what you want,
next time
you run IE7 and upload it to your site with a link in your message,
then I
can easily download the screenshot, display it in a window, while at
the
same time looking at your site in firefox.

In other words, if you would like my assistance. Make it easy for
me to
assist you. Otherwise, Sorry! Maybe next time.


OOps! It was IE 6 that viewed it correct. Also, I already got a
solution (see my last reply to Jim Moe)
Thank you for your will to help.
Mar 27 '06 #7

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

Similar topics

1
1917
by: km | last post by:
Hi all, python re module deals with only nonoverlapping matches. how to go for if i want to find out overlapping matches and their span ? regards, KM
1
3247
by: André Søreng | last post by:
With the re/sre module included with Python 2.4: pattern = "(?P<id1>avi)|(?P<id2>avi|mp3)" string2match = "some string with avi in it" matches = re.finditer(pattern, string2match) .... matches.groupdict() {'id2': None, 'id1': 'avi'} Which was expected since overlapping matches are ignored.
11
4650
by: Max M | last post by:
I am writing a "find-free-time" function for a calendar. There are a lot of time spans with start end times, some overlapping, some not. To find the free time spans, I first need to convert the events into a list of non overlapping time spans "meta-spans". This nice ascii graph should show what I mean. 1) --- 2) ---
3
12788
by: Phil Sandler | last post by:
All, I have a table with start and end dates/times in it, and would like to be able to calculate the number of hours represented, accounting for overlapping records. Note that I am looking for an answer on HOW to do this--I don't necessarily need it to be written for me (although it would not go unappreciated!).
4
2958
by: Simon Elliott | last post by:
Is there an equivalent of std::copy which works on STL containers for overlapping ranges? -- Simon Elliott http://www.ctsn.co.uk
0
1480
by: Bruce | last post by:
Hello, Back in the Access 97 days, if I had two texboxes on a form or report that overlapped, and I selected both and did a Format, Align, Top from the menu in design view, the controls would align such that the top edge of one control would align with the bottom edge of the other and they would no longer overlap. I liked this behavior. ...
4
2179
by: David Thorp | last post by:
New to this list (first post), and relatively new to C, so hi everyone... If anyone can help me with this I'll be most grateful... The following code is from a rather elaborate (for me) program I'm writing (hence all the meaningles variable names and so on), but I've narrowed the problem down to these snippets. Just to make sure, I...
4
3227
by: Charlie Brown | last post by:
I have a form with 2 custom controls that can be dragged around by a user. How can I check if they overlap each other without performing some kind of Collision detection on them? Is there anything in GDI to check for overlapping controls?
4
4850
by: =?ISO-8859-15?Q?Jean=2DFran=E7ois?= Lemaire | last post by:
Hello all, I'm learning C and I still am struggling to understand some basic concepts. For example, I read in the standard that with functions such as strcpy, 'If copying takes place between objects that overlap, the behavior is undefined.' But how can I be sure that they don't overlap? For example, if I write this: char string1 =...
3
4405
by: cowboyrocks2009 | last post by:
Hi, I am trying to write a Java program to plot rectangles with different colors side by side non overlapping but unfortunately I am unable to do that as of now. Suppose I want to create 3 rectangles:- 100 - 200 200 - 300 300 - 400 I want to have 3 rectangles non overlapping and adjacent to each other with 3 different colors. I am new...
0
7270
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4759
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
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 we have to send another system

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.