View Single Post
  #9  
Old 02-04-2010, 01:23 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Centering page in IE

Quote:
Originally Posted by pdstudio
O shit, I forgot to test it in IE6, again. I see the problem, the header+topmenu+search goes next to the pages right side. Hmm, annoying.
Is there a solution for this problem?


If I remember rightly you have to play around with altskin.ie6.css

That's one solution, I added more css to my main.css to combat this, some of it Was:
Code:
html,body { height: 100%; background:#b9d3df; text-align: center; padding-top: 2px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; } body { /* MSIE 5 doesn't center based on auto left/right margins, but 'text-align:center' does center top-level divs: */ text-align: center; /* Specify a min-width for the body as wide as the 'wrapper' element itself. This prevents negative (i.e. inaccessible) left-margins in narrow browser windows when using Navigator 6+/Mozilla on Win32: */ min-width: 960px; margin-top:0px; margin-bottom:1px; }

With the usual other edits, but I also have an additional container wrap...
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote