layout problems in IE6

liunx

Guest
I'm making a site for someone, and I used tables for the layout. I'm assuming this is the problem, because the site displays perfectly in the latest versions of Mozilla Firebird and Opera. Strangely, though, IE6 is adding space under some images. Here're links to the screen shots:<br />
<br />
<!-- m --><a class="postlink" href="http://www.radioactiverabbit.com/dbaudio/images/screen_ie.jpg">http://www.radioactiverabbit.com/dbaudi ... een_ie.jpg</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.radioactiverabbit.com/dbaudio/images/screen_mf.jpg">http://www.radioactiverabbit.com/dbaudi ... een_mf.jpg</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.radioactiverabbit.com/dbaudio/images/screen_op.jpg">http://www.radioactiverabbit.com/dbaudi ... een_op.jpg</a><!-- m --><br />
<br />
Please help. Also, if you have any other suggestions regarding the layout, please tell me. Thanks so much!<!--content-->I would help you but I am going to need a link or I will need to see some source code. I cant work on screen shots alone.<!--content-->Oh, sorry, I forgot to include that stuff. Here's a link to the site:<br />
<br />
<!-- m --><a class="postlink" href="http://www.radioactiverabbit.com/dbaudio">http://www.radioactiverabbit.com/dbaudio</a><!-- m --><br />
<br />
Thanks!<!--content-->Well for the bottum one you will need to make an image that spans across the whole cell and then change the cell back color, or you can use the css margin property.<br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"" style="margin-bottom: -1px;"> you will need to play with the value, by using a - number it creates some overlap so that will get rid of any gap I would assume. The top problem looks like its in your css, and as we all know mozilla reads css far better then ie so it will read the code properly, you might need to dumb down your css. Woul you please post your css code, well maybe Ill just get it, I was just too lazy to type the url for it and Download <!--more--> the file.<!--content-->Um, I was looking at your css file, whats with all of the foriegn characters? A lot of these the little boxes where a character cant be displayed and its real hard to read. Would you please post the css you wrote so people can read it?<!--content-->Here's my CSS:<br />
<br />
<br />
A {<br />
font-family:Times New Roman, Times, serif;<br />
font-size:12px;<br />
cursor:pointer;<br />
color:#6C2B29;<br />
background-color:transparent;<br />
}<br />
A:link {<br />
text-decoration:none;<br />
}<br />
A:visited {<br />
text-decoration:none;<br />
}<br />
A:hover {<br />
text-decoration:underline;<br />
}<br />
body {<br />
margin:0;<br />
color:#000000;<br />
background-color:#6C2B29;<br />
font-family:Times New Roman, Times, serif;<br />
font-size:12px;<br />
}<br />
td#top {<br />
background-image:url("images/toplines.gif");<br />
background-repeat:repeat-x;<br />
background-color:#6C2B29;<br />
width:100%;<br />
height:16px;<br />
}<br />
td#leftbar {<br />
background-color:#6C2B29;<br />
width:140px;<br />
vertical-align:top;<br />
}<br />
div#leftnav {<br />
background-color:#000000;<br />
width:100%;<br />
text-align:center;<br />
vertical-align:top;<br />
font-size:24px;<br />
}<br />
td#titlebar {<br />
background-color:#6C2B29;<br />
width:100%;<br />
height:36px;<br />
vertical-align:top;<br />
}<br />
td#titleunder {<br />
background-color:#000000;<br />
height:22px;<br />
}<br />
td#titlefull {<br />
background-color:#FFFFFF;<br />
width:100%;<br />
height:30px;<br />
vertical-align:middle;<br />
}<br />
td#content {<br />
background-color:#FFFFFF;<br />
vertical-align:top;<br />
}<br />
td#lct {<br />
background-color:#FFFFFF;<br />
vertical-align:top;<br />
}<br />
td#lcb {<br />
background-color:#FFFFFF;<br />
vertical-align:bottom;<br />
}<br />
td#footer {<br />
background-color:#6C2B29;<br />
vertical-align:middle;<br />
}<br />
img {<br />
border:0;<br />
}<br />
table {<br />
background-color:transparent; <br />
border:0;<br />
}<br />
table#main {<br />
background-color:#FFFFFF; <br />
border:0;<br />
}<br />
tr {<br />
border:0;<br />
}<br />
td {<br />
font-size:12px; <br />
spacing:0;<br />
padding:0;<br />
}<br />
hr {<br />
background-color:#000000;<br />
color:#000000;<br />
}<br />
.left {<br />
text-align:left;<br />
}<br />
.center {<br />
text-align:center;<br />
}<br />
.right {<br />
text-align:right;<br />
}<br />
.justify {<br />
text-align:justify;<br />
}<br />
.header {<br />
font-size:20pt;<br />
}<br />
<br />
<br />
Thanks again!<!--content-->ok, the problem in IE6 is that it gets the spaces between your tags, so you can eliminate that by eliminating the spaces, for example, if you have:<br />
<td><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"#"><br />
</td><br />
it will give you a space, but if you put it like this:<br />
<td><img src"#"></td><br />
you will not get any gaps<!--content-->
 
Back
Top