473,326 Members | 2,655 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,326 software developers and data experts.

Content is not aligned at the top of a div with IE 6?!?!?

Hello, I am renewing a website using CSS and I have some problems with
IE6.
Following this link:
http://www.ansv.it/templates/Template_Index_IT.dwt.asp
you may notice that the container area has 3 colums, 1 and 3 with
titles and the 2 with a big image.
Well, 1 and 3 are not perfectly at the top of their column while 2 is
even worst...with the image going down and down.
Opera and Firefox even showing different errors with the background
handling (which I know how to solve) show correctly the image at the
top...but still those two colored boxes with the title are not at the
top.
Would you please give some advice?
Here it is the css file.
Thank you,
Ataru

body {
margin: 0px;
background-image:url(../images/TTileMix.gif);
background-repeat:repeat-x;
font-family:Tahoma;
font-size:11px;
color:#707070;
background-color: #FAFAF0;
}

..bg_color1 {
background-color: #6699CC;
}
..bg_color2 {
background-color: #E6E6DA;
}
..clearer {
font-size: 0px;
line-height: 0px;
clear: both;
}
..header {
width:762px;
clear: both;
}
..header_col1 {
float: left;
width: 187px;
height: 139px;
}
..header_col1_box1 {
height: 26px;
}
..header_col2 {

margin-top: 0px;
margin-right: 177px;
margin-bottom: 0px;
margin-left: 187px;
}
..header_col2_box1 {
height: 26px;
}
..header_col2_box2 {
height: 26px;
}
..header_col2_box3 {
height: 42px;
padding-top: 10px;
}
..header_col3 {
float: right;
width: 177px;
height: 139px;
}
..header_col3_box1 {
height: 26px;
}
..header_col3_box2 {
height: 42px;
padding-top: 10px;
}
..container {
width:762px;
clear: both;
}
..container_col1 {
float: left;
width: 187px;
}
..container_col1_box1 {
height: 30px;
}
..container_col1_box2 {
background-image: url(../images/MLShadow.jpg);
background-repeat: no-repeat;
padding-top: 15px;
margin-bottom: 15px;
padding-right: 5px;
padding-left: 15px;
}
..container_col2 {
margin-top: 0px;
margin-right: 177px;
margin-bottom: 0px;
margin-left: 187px;
background-color: #FFFFFF;
}
..container_col2_box1 {
background-image: url(../images/MCShadow.jpg);
background-repeat: no-repeat;
padding-top: 15px;
margin-bottom: 15px;
padding-right: 5px;
padding-left: 15px;
}
..container_col3 {
float: right;
width: 177px;
}
..footer {
height: 62px;
background-image: url(../images/DTileMix.gif);
background-repeat: repeat-x;
}
..footer_box {
height: 62px;
width: 762px;
}
..footer_col1 {
float: left;
width: 585px;
height: 31px;
}
..footer_col3 {
height: 31px;
float: right;
width: 177px;
}
..footer_box1 {
margin-top: 10px;
margin-left: 15px;
}
..footer_box2 {
margin-top: 40px;
margin-left: 50px;
}
..footer_box3 {
}

..search {
position:absolute;
left:7px;
height:96px;
width:242px;
top: 2px;
}
..menu {position:absolute; left:441px; top:0px; height:65px;
width:304px}
..companyname {position:absolute; left:590px; top:85px; height:20px;
width:147px}
..navigation {position:absolute; left:545px; top:224px; height:32px;
width:221px; background-image:url(../images/naviagation.gif)}

a {color:#FF9415}
..red {color:#E50000}
..white {color:#FFF; text-decoration:none}
..yellow {color:#FF9415}
..menu_link {color:#707070; text-decoration:none}
..blue {color:#4B6677;}

..datebox {
background-image: url(../images/bg3.gif);
height: 31px;
}
..box2_title_bg {
background-image: url(../images/t1-2.gif);
background-repeat: no-repeat;
background-position: top;
height: auto;
}
..box2_title_text {
color:#707070;
font-weight: bold;
margin-left: 37px;
padding-top: 8px;
}
..box2_main_box {
padding: 10px;
margin-right: 10px;
margin-left: 17px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #D5D8DA;
margin-top: 10px;
height: 57px;
}
..box2_main_image {
float: left;
margin-right: 5px;
height: 54px;
width: 68px;
margin-top: 5px;
}
..box2_main_link {
height: 23px;
clear: none;
padding-left: 219px;
}
..box2_updates_box {
padding: 10px;
margin-right: 10px;
margin-left: 17px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #D5D8DA;
margin-top: 10px;
height: auto;
}
..box2_updates_link {
font-size: 11px;
font-weight: bold;
color: #FF9415;
margin-bottom: 1em;
}
..box3_title_bg {

background-image: url(../images/t1-4.gif);
background-repeat: no-repeat;
background-position: top;
height: auto;
}
..box3_title_text {
color:#FF9415;
text-decoration:none;
font-weight: bold;
margin-left: 34px;
padding-top: 12px;
font-size: 14px;
line-height: 16px;
}
..box3_main_box {

padding: 10px;
margin-right: 10px;
margin-left: 10px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #D5D8DA;
margin-top: 10px;
height: 53px;
}
..box3_main_image {
float: left;
margin-right: 5px;
margin-left: 0px;
margin-top: 5px;
}
..box1_login_box {
height: 96px;
margin-left: 7px;
}
..col2_large {
margin-top: 0px;
margin-right: 209px;
margin-bottom: 0px;
margin-left: 6px;
height: auto;
padding-top: 20px;
}
..container_large {

clear: both;
width: 766px;
background-image: url(../images/bg_main_d.gif);
}
..box2_large_title_text {

color:#707070;
text-decoration:none;
font-weight: bold;
margin-left: 37px;
padding-top: 8px;
}
..box2_large_title_bg {

background-image: url(../images/t1-2.gif);
background-repeat: no-repeat;
background-position: left top;
height: auto;
}
..box2_large_main_box {

padding: 10px;
margin-right: 40px;
margin-left: 27px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #D5D8DA;
margin-top: 10px;
height: auto;
}
..box1_container {
margin-left: 7px;
}
..box1_title_bg {
background-image: url(../images/bg_box1_title.gif);
height: 52px;
width: 242px;
}
..box1_title_text {

color:#707070;
text-decoration:none;
font-weight: bold;
margin-left: 34px;
padding-top: 12px;
font-size: 14px;
line-height: 16px;
}
Jul 21 '05 #1
0 2254

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

Similar topics

2
by: Dave Mausner | last post by:
consider a one-row, two-column table. the right column is very long with text content. the left column is used for navigation links. i aligned the links with the top of the column so that they...
3
by: Andres Mas Torrecillas | last post by:
Hi! I'm having a little trouble with an IFRAME added in an HTML page. IFRAME has a fixed size and it contains another HTML page, which only has some text paragraphs and a pair of images aligned...
0
by: Mike Kozlowski | last post by:
I have a div floated left for a navbar, with another div in the normal flow for content, like so: #leftnav { float: left; width: 120px; } #content { margin-left: 170px; margin-right: 10px;} ...
13
by: Headless | last post by:
A right aligned float next to a paragraph needs to be placed before the paragraph in the source, this causes the content order to be opposite in the visual and aural domain. Anyone know of a...
1
by: foldface | last post by:
Hi I'm working with a web site where 99% of the content is dynamic and words can be of any size, e.g. thiswouldbeavalidword. At the moment everything is done using inner tables, I want to move to...
2
by: R0bert Neville | last post by:
I have been working a rounded content box approach. The layout rendered beautifully in Firefox, yet IE threw a wrench into my layout. The approach has to be re-thought and aligned for compatibility...
9
by: Spoon | last post by:
Hello everyone, As far as I understand, if I request a uint8_t buffer, it could be allocated anywhere. uint8_t *buf = new uint8_t By anywhere, I mean e.g. it could start at an odd address....
1
by: bobmct | last post by:
css'ers: As on old time raw html coder I am still struggling to grasp the nuances of css. But, I'm getting there... however slowly! I am currently having a problem I've spent way too much...
29
by: K. Jennings | last post by:
I would like to get the result of malloc() such that it is aligned on a given boundary - 8, in this case. Assuming that sizeof(u64) is 8, will u64 *p = malloc(N) ; do the trick in general? ...
6
by: lilOlMe | last post by:
Hi there! I've a bunch of <div>'s for a login page...I would like to align them in the center of my website's content (real estate) area. I have tried "text-align:center;" but it doesn't work....
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.