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

Thread Tools   Display Modes
  View First Unread
Old 07-18-2011, 05:55 AM
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, 01:59 PM
Frank HF
Soldier (Level 11)
Frank HF's Avatar
Join Date: Jul 2011
Location: Amsterdam, the Netherlands
Posts: 119
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 03: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


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

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 07:19 PM.


Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2016, 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.