473,395 Members | 1,456 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.

IE adding extra spaces between DIV among other things

Hi Everyone,

I'm not completely new to CSS, but I've never written an entire site
in CSS, which is what I'm doing now. I wrote our website many years
ago using tables to format the page, but now I hope to recode it using
CSS to make it easier to update.

Anyway, I'm starting to get my own tales of whoa with CSS and IE, and
I need the assistance of the group to see if anyone has options on how
to resolve this. The site is actually written with tons of
ColdFusion, but I've stripped it down to the guts (HTML and CSS) and
placed it on a server as the CF version is behind our firewall.
Results are the same.

http://www.hotlug.org/css/1/

In Firefox and Opera this looks great, plus all the code (HTML and
CSS) validates okay. IE is adding space between the Header and Search
DIV's, plus I'm forcing 740px within the Search DIV and all the
embedded DIVs equal 740px.. but in IE the last DIV wraps. If I move
the Width of DIV#Search to like 765 instead of 740 it doesn't wrap,
but then it's too long.

This is my first time to code using DIV, so I've added lots of stuff
for testing. I've tried to force 0px on the borders and margins, but
nothing has worked. So how the heck can I get this page to render
properly on IE? I've tried IE6 and 7 with the same results.

Thanks for any assistance. If I can find the trick for IE, I should
be able to carry it over to this and other applications.

Take care --

Alex

Mar 22 '07 #1
6 4648
Alex wrote:
http://www.hotlug.org/css/1/

You are running the browser (IE) in qurks mode, where it reproduces the
broken box model from prior versions. Google for "quirks mode".

And font-size: 11px?

--
Richard.
Mar 22 '07 #2
Alex wrote:
>
http://www.hotlug.org/css/1/

IE is adding space between the Header and Search
http://hsivonen.iki.fi/doctype/

--
Berg
Mar 22 '07 #3
On Mar 22, 5:58 pm, "Richard Formby" <r...@invalid.comwrote:
Alex wrote:
http://www.hotlug.org/css/1/

You are running the browser (IE) in qurks mode, where it reproduces the
broken box model from prior versions. Google for "quirks mode".

And font-size: 11px?

--
Richard.
Quirks Mode... is this something set in my browser or is it being
triggered by my code? If it's something in the browser, then I'd
assume this is enabled by default because my installs of IE (IE6 and
IE7 on two different systems) are both doing this.

Also it's crazy how Microsoft calls it's incompatibilities with CSS
'Improvements' - http://tinyurl.com/b245h

Thanks for the info though, and I'm reading up on Quirks Mode now.

Alex

Mar 23 '07 #4
Alex wrote:
>
Quirks Mode... is this something set in my browser or is it being
triggered by my code?
Bergamot already gave you the link I would provided:
http://hsivonen.iki.fi/doctype/
>
Also it's crazy how Microsoft calls it's incompatibilities with CSS
'Improvements' - http://tinyurl.com/b245h
Actually, it's calling its *movement away* from CSS incompatibilities
"improvements."

<q>Internet Explorer 7 contains a number of improvements to cascading
style sheet (CSS) parsing and rendering over IE6. These improvements are
aimed at improving the consistency of how Internet Explorer interprets
cascading style sheets as recommended by the W3C in order that
developers have a reliable set of functionality on which to rely.</q>

Necessary and overdue. - J.

--
John
Mar 23 '07 #5
John Hosking wrote:
<q>Internet Explorer 7 contains a number of improvements to cascading
style sheet (CSS) parsing and rendering over IE6. These improvements are
aimed at improving the consistency of how Internet Explorer interprets
cascading style sheets as recommended by the W3C in order that developers
have a reliable set of functionality on which to rely.</q>

Necessary and overdue. - J.
and incomplete.

--
Richard.
Mar 23 '07 #6
Richard Formby wrote:
John Hosking wrote:
><q>Internet Explorer 7 contains a number of improvements to cascading
style sheet (CSS) parsing and rendering over IE6.

Necessary and overdue. - J.

and incomplete.
Yeah, but it's a darned good start. I'm grateful for the bug fixes, plus
proper min/max-width/height support.

--
Berg
Mar 23 '07 #7

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

Similar topics

34
by: Adam Hartshorne | last post by:
Hi All, I have the following problem, and I would be extremely grateful if somebody would be kind enough to suggest an efficient solution to it. I create an instance of a Class A, and...
38
by: Xah Lee | last post by:
sometimes i wish to add white space in <p> as to achived effects similar to tab. what should i do? using empty image seems the sure way but rather complicated. (and dosen't change size with...
2
by: Papajo | last post by:
Is there a script that would add a space in front of and behind any text adding to a form box, it coud be triggered by either an onClick or onBlur event handler. Any help s appreciated. Thanks Joe
2
by: dixie | last post by:
I have a report which is printed daily. It is a list of people. A person can be put on this list for one day, which is easyily achieved from a simple form. My problem is that a person can also...
2
by: brenda.stow | last post by:
error msg " An error occured while referencing the object. You tried to run a visual basic procedure that improperly references a property or method of an object" This msg occurs everytime I add a...
0
by: ChrisM | last post by:
Hi, Got a strange one here. I have a report which is part of my dotnet application. It prints fine except for one thing: It adds extra spaces to certain things. eg, required text: 'Service...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
10
by: fleemo17 | last post by:
I have another table layout that looks good in all the browsers I've tested it in *except*, once again, IE on the PC. In IE there's extra space around some of the table cells making up the layout. ...
5
by: dw | last post by:
hello - first, let me state that i am an Asp.Net rookie. here is the situation: i have a page that looks good in the vs.net designer, but when the page renders there are extra amounts...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.