Margin problems in IE6
Posted: 30 October 2010 09:04 AM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-30

Hi there

Im very new to css and html and am having problems with my site, it works fine in later versions of IE, Chrome and Firefox but in IE6 the body text seems to lose it margin and all be displayed on very left of page. Could anyone help me please?

my test page is @
http://quaycargo.uphero.com/contacts.html

Thanks
Andy

Profile
 
 
Posted: 30 October 2010 11:00 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  1
Joined  2010-10-29

in file css/andy.css
replace

alt block

#content {
    
floatleft;
    
width100%;
    
background#fff url(images/content-bg.jpg) no-repeat;
    
displayinline;

new block

#content {
    
background#fff url(images/content-bg.jpg) no-repeat;

Or obviously specify width
width: 650px;

Profile
 
 
Posted: 01 November 2010 01:21 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-30

Hi

Thanks for help, but it still isn’t aligning in IE6, maybe my Index page would be better to look at as it has more text, anymore ideas would be much appreciated

thanks
Andy

Profile