aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes CSS is not working in IE6, but working fine in IE7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS is not working in IE6, but working fine in IE7" Watch "CSS is not working in IE6, but working fine in IE7" New topic
Author

CSS is not working in IE6, but working fine in IE7

Debarati Dey Mitra
Greenhorn

Joined: Dec 01, 2008
Posts: 1
I have a velocity template,the header & and footer is showing properly in IE6,but the content in between header and footer is not showing in IE6, where is the whole template is working fine in IE7 and firefox.I have applied proper hack for IE6 also. I dont understand , what i have to do Please suggest. I am attached the header and footer CSS and the middle part that is not working.
#footer {
height: 20px;
overflow: hidden;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: #000;
text-align: right;
color: #fff;
}

#header {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 140px;
overflow: hidden;
background: #000;
background-image: url(../images/csm_bg_header.png);
background-repeat: repeat-x;
color: #c0c0c0;
}
///***********following part is not working*********************/
#custinfo {
position: absolute;
top:30px;
left:10px;
right:10px;
/*height:60px;*/
height:auto;
font-weight: bold;
font-size: 80%;
text-align: right;
}
#custinfo table
{
/*width: 100%;
height: 100%;*/
width: auto;
height: auto;
margin: 0 auto;
}
#custinfo td
{
text-align: left;
padding-right: 10px;
/*overflow: auto;*/
}
/////**************************////////////////////
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: CSS is not working in IE6, but working fine in IE7