View Full Version : Safari/IE Problems

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.

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">

And add this into your .css file:

#main {
width: 100%;
text-align: center;

This will center it for Windows (IE5+ and Firefox)

05-08-2006, 08:07 PM
Yeah. You just need to center the whole thing.

Also, you could just use:
<div align="center">
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">
<div id="container" align="center">