View Full Version : Safari/IE Problems
TimHolley
05-08-2006, 02:45 PM
After designing my site in dreamweaver using CSS stylesheets, I thought that all was well until i realised that people were seeing very different versions of my site using IE. Viewed in Safari it looks fine; all centered, correct layout. Whereas when viewed using IE the content doesn't center in the browser window. The site is www.timholley.de.
Any tips/advice!?! It's my CV website for applying to jobs so I'm really loosing out if it doesn't look the same in all browsers.
otaku
05-08-2006, 06:49 PM
Hello TimHolley,
One thing you can do is to place all your content inside another div like below:
<div id="main">
<div id="container">
etc...
</div>
</div>
And add this into your .css file:
#main {
width: 100%;
text-align: center;
}
This will center it for Windows (IE5+ and Firefox)
djr33
05-08-2006, 08:07 PM
Yeah. You just need to center the whole thing.
Also, you could just use:
<div align="center">
.......
</div>
around all of your content...
the css is more complex, but "better", so use what you want :)
Actually, looking at your source, all you need to do is replace:
<div id="container">
with:
<div id="container" align="center">
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.