473,667 Members | 2,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4654
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.c omwrote:
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 incompatibiliti es 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 incompatibiliti es with CSS
'Improvements' - http://tinyurl.com/b245h
Actually, it's calling its *movement away* from CSS incompatibiliti es
"improvemen ts."

<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
4164
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 "push_back" a copy of this into a vector V. This is repeated many times in an iterative process. Ok whenever I "push_back" a copy of Class A, I also want to assign a pointer contained in an exisiting instance of a Class B to this
38
23979
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 font) Woudl some of the space character in unicode work? (my html files uses unicode) Xah
2
1682
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
2076
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 be put on the list for a number of days. The information that I would then have is the person,s ID, name, the first date they are on the list and the number of days they are on the list. Assuming that the dates are consecutive (although weekends...
2
5780
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 new record to a subform. If I close msgbox I can then successfully add new record. Have looked on MS Technet and tried their 2 suggestions:- 1)LinkChildFields property contains the name of a form property - this isn't the case linkChildFields...
0
1298
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 Bulletin HC-SB-61-269' printed text: 'Service Bulletin HC -SB-61-269' All looks fine on the screen (print preview) but the spaces appear when I actually print.
135
7445
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 which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the situation behind it, and which is proper.
10
2448
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. Apparently, the problem lies with the bit of javascript I've used to randomly display a photo on the page. If I take the javascript out, the pieces of the layout fit together seamlessly. Put the javascript back in and gaps appear. Here's...
5
1927
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 (vertically) of space between controls. i have all of the controls in a table, to help line them up, and I have reviewed the html to verify that there are no extra spaces or paragraphs or breaks between the controls. however, when i run the web site,...
0
8459
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8367
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7391
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5677
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2781
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
2
1779
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.