473,408 Members | 1,871 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,408 software developers and data experts.

Explorer (but not Firefox) indents right column text

Why is it that in this two-column example that (only) in explorer, the
text in the right-column moves a couple pixels over to the right
whereever there is text across from it in the left hand column? I
pasted the code below.

View screenshot:
http://www.tanguay.info/web/examples...Compatible.png

Download complete code:
http://www.tanguay.info/web/download...Compatible.zip

Thanks,

Edward Tanguay
All my projects: http://www.tanguay.info

=====================================

<html>
<head>
<style type="text/css">

body {
margin: 0px;
background-color:#dddddd;
font-family: Verdana, Geneva, Lucida, Helvetica, Arial, sans-serif;
}

#header {
background-color: beige;
border-bottom: 1px solid #888;
margin-bottom: 0px;
padding: 10px;
}

#leftColumn {
float: left;
width:200px;
}

#content {
position: relative;
padding: 10px;
margin-left: 200px;
text-align:left;
}

#footer {
background-color: #333;
color: ivory;
font-size: 11px;
padding: 3px;
text-align: right;
clear: both;
}

p {
padding: 0;
margin: 0px;
}

#leftColumnPaddingFix {
padding:10px;
}

#leftColumnBackgroundColor {
position:relative;
width:100%;
background:url("images/leftBackground.png") repeat-y top left;
z-index: 100;
}

#rightColumnBackgroundColor {
position:relative;
width:100%;
background:url("images/rightBackground.png") repeat top right;
z-index: 200;
}

#leftColumn p {
font-size:11;
color:green;
}

</style>

</head>
<body>

<div id="header">
<p>This is the header</p>
</div>

<div id="rightColumnBackgroundColor">

<div id="leftColumnBackgroundColor">
<div id="leftColumn">
<div id="leftColumnPaddingFix">
<ul>
<li>one</li>
<li>two</li>

<li>three</li>
<li>four</li>
</ul>
</div>
</div>

<div id="content">
<p>This is the Content DIV. This is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
theThis is the Content DIV. This is theThis is the Content DIV. This is
the IV. Thihe Content DIV.</p>
</div>
<div id="footer">
<p>This is the footer</p>
</div>

</div>

</div>

</body>
</html>

Aug 4 '06 #1
1 1433

"Edward" <ed****@tanguay.infokirjoitti
viestissä:11**********************@s13g2000cwa.goo glegroups.com...

<snip>
View screenshot:
http://www.tanguay.info/web/examples...Compatible.png
It's just IEs 3 pixel jog bug.. Read more about it in
http://www.positioniseverything.net/...reepxtest.html

<snip>
Aug 4 '06 #2

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

Similar topics

5
by: xperiencednoob | last post by:
I want a left-column menu bar and a right-column data area. The menu items (6 or so) are fixed-height and the space below them needs to expand. I've run into a strange situation only with IE6....
0
by: MAFDoit | last post by:
NEWSGROUP: This is a followup to the post below. The original post was helpful and I now know many ways to RETRIEVE information from Windows explorer, but I haven't yet found a way to INSERT or...
3
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
4
by: Dan Pearce | last post by:
Processing some text from an external text file into a web page. If I use this: <? $s = file_get_contents('text.txt'); $search = array("@\r\n@si"); $replace = array('</br>'); echo...
2
alexphd
by: alexphd | last post by:
This code works in firefox perfectly, but in Internet Explorer it does not calculate the total correctly. Anybody know why? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"...
6
by: superdevo | last post by:
Hey everyone, I seem to be having a problem with my CSS in IE 7. The problem does not show up in FireFox though. I've setup an online store that originally had a #wrapper "container" and #body...
3
by: Steve | last post by:
Hi All I have an asp.net 2.0 website with the following css file It uses Master pages and in Firefox 3.04 for windows only, 3 of the web pages don't display the Master page properly The...
2
by: XolileWarren | last post by:
Can anyone help? I have a gridview and two link buttons;back and previous to navigate back and forward the page is working fine on Opera but the link button is not active when using FireFox and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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
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...

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.