Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > CSS
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 07-18-2011, 04:55 AM
  #1
mjwb
Novice (Level 1)
 
Join Date: Jul 2011
Posts: 1
iTrader: (0)
mjwb is an unknown quantity at this point
Exclamation CSS IE Align Error Upon Combination

I recently purchased two templates, a html site and an oscommerce site. I planned to use the html site as a landing page and the oscommerce site as a catalog. I wanted the style to be the same across all pages using the html site style so i combined the two stylesheets. Each page is correctly rendered in Firefox however the aligning of the header and footer in IE are not central but rather hard left. Could any one tell me what hack needs to be done to fix this problem or where I am going wrong. Thanks in advance.

The stylesheet can be viewed at http://www.catering.basterfieldonlin...stylesheet.css and the site can be viewed at catering.basterfieldonline.com
mjwb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 07-25-2011, 12:59 PM
  #2
Frank HF
Soldier (Level 11)
 
Frank HF's Avatar
 
Join Date: Jul 2011
Location: Amsterdam, the Netherlands
Posts: 118
iTrader: (0)
Frank HF can only hope to improve
You don't need a hack but correct html. Your doctype sends IE into quirks mode, which makes it irresponsive to margin: 0 and margin: auto. You need a standards doctype or you need to center matters with the <center> tag. Because your header div is 960 px wide, centering it will align the Basterfield image approximately over the menu.

Last edited by Frank HF : 07-25-2011 at 02:08 PM.
Frank HF is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Reply
KEEP TABS
SPONSORS
 
Boxedart

 
 


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



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 09:11 AM.

   

Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.