Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 4th, 2006, 03:05 AM
Edward
Guest
 
Posts: n/a
Default 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>

  #2  
Old August 4th, 2006, 09:25 AM
W˙rm
Guest
 
Posts: n/a
Default Re: Explorer (but not Firefox) indents right column text


"Edward" <edward@tanguay.infokirjoitti
viestissä:1154657232.787550.223360@s13g2000cwa.goo glegroups.com...

<snip>
It's just IEs 3 pixel jog bug.. Read more about it in
http://www.positioniseverything.net/...reepxtest.html

<snip>


 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles