473,466 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

page validates and renders in FF, but in IE 6 and 7 it has extra padding. Why?

Please check out this page:

http://www.bluewallllc.com/Laura/cms...hp?pageId=2217

It validates, and it is rendering about right in FireFox. However, in
IE it has a bunch of extra padding that is throwing off the whole
page. In particular, it seems there is more padding on the left of the
main container. Even when we go through and set most of the padding
to 0, so that in FireFox there is almost no padding, in IE there is
still quite a bit. Where is it coming from?

To be specific, the left column, starting with this block of links:

# CLIENTS
# ABOUT US
# PRODUCTS
# SERVICES
# BLOG
# BENEFITS
# CONTACT US
# HOME

Seems pushed to the right in IE. Even when we take out padding, so
that this block of links is touching the left edge of the container
they are in, in IE 6 and 7 it is as if there is still extra padding on
the left.

What gives?

Feb 13 '07 #1
2 2373
Jake Barnes wrote:
Please check out this page:

http://www.bluewallllc.com/Laura/cms...hp?pageId=2217
Nice looking page.
>
It validates,
But the CSS doesn't.
and it is rendering about right in FireFox. However, in
IE it has a bunch of extra padding [...] Where is it coming from?

To be specific, the left column, starting with this block of links:

# CLIENTS [...]
That'd be your ul.nav. BTW, on my IE6 your midcolumn is pushed all the
way down (and to the left) below your content.
Seems pushed to the right in IE. Even when we take out padding, so
that this block of links is touching the left edge of the container
they are in, in IE 6 and 7 it is as if there is still extra padding on
the left.

What gives?
Don't know. But your lightbox.css is MIA (404).

How about a simplified test case? What happens when you remove the
midcolumn content from your XHTML? Is the problem still there? Then
leave it out and remove the footer. Still a problem? Weed out the CSS
for us. I will bet most of it doesn't apply to the problem (or even
apply to the page) so you can throw it all out for a minimal test case.
And get rid of the JavaScript first of all.

I see some margin-left:auto where there's no width defined, but I don't
know for sure if IE does something different from FF there. What happens
when you remove the left border-color on .nav? Or the padding-left from
..nav li a?

How does IE react when you simply change the doctype to HTML 4.01 strict?

BTW: the usual mutterings apply regarding sizing in px. IE6 users won't
be able to resize text that is font-size: 11px. And what does 12px mean
to a printer? Does that relate to its resolution? Or what?

And you ought to set a background color, in addition to the background
image. When images are turned off, I can't read the site at all.

That's all I can offer now. Good luck.

--
John
Feb 13 '07 #2
Jake Barnes wrote:
Please check out this page:

http://www.bluewallllc.com/Laura/cms...hp?pageId=2217

It validates, and it is rendering about right in FireFox. However, in
IE it has a bunch of extra padding that is throwing off the whole
page. In particular, it seems there is more padding on the left of the
main container. Even when we go through and set most of the padding
to 0, so that in FireFox there is almost no padding, in IE there is
still quite a bit. Where is it coming from?
As John noted, fix the CSS errors.
You use a lot of precise positioning with margins, something IE does not
appreciate. Make sure your arithmetic is correct; allow less than 100%
space usage by the blocks of elements so the IE can make its errors and
still render correctly.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 13 '07 #3

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

Similar topics

23
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
31
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and...
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
14
by: Melanie Avids | last post by:
Hi, I'm tired of banging my head on the computer. I'm hoping someone can help? I have a very small simple page that looks perfect in Firefox, Safari, and Netscape. It's clean. The HTML and CSS both...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
7
by: GaryDean | last post by:
In my old 1.1 apps the default was MS_POSITIONING="GridLayout" and Textboxes and labels and such always had POSITION: absolute; and I never had any distortion when the page was rendered. Life was...
1
by: dr1ft3r | last post by:
I, like many others, hate IE simply because it doesn't go along with standard and bothers every site anybody attempted to make in the history of the web. I've checked this site in FF, NS, and Opera...
1
by: Rob | last post by:
I know this is an old one, considering how many posts I found on it but I just wondered if any best practises had popped up recently, especially as Ajax has increased JavaScript and DHTML's...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
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
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,...
1
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...
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,...
0
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: 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...

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.