This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2003 > Trying to center my design





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Trying to center my design
abs

2003-12-17, 9:41 am

Hi!

I'm struggling to be able to center the different blocks in my site
(http://flat.solidinternet.com/prova.php?p_idgal=1). But, no matter
what I do I never get what I'm trying to achieve. The site needs to
work in NS6+ and IE6+ at least, but neither of those browsers render
it the way I want. Here is the stylesheet I'm using:

http://flat.solidinternet.com/images/styles2.css

What am I doing wrong ? Is it impossible to center it correctly ?
Any advice ?


Thanks in advance



--
Abs
Jeff Thies

2003-12-17, 9:41 am

> I'm struggling to be able to center the different blocks in my site
quote:

> (http://flat.solidinternet.com/prova.php?p_idgal=1). But, no matter
> what I do I never get what I'm trying to achieve. The site needs to
> work in NS6+ and IE6+ at least, but neither of those browsers render
> it the way I want. Here is the stylesheet I'm using:
>
> http://flat.solidinternet.com/images/styles2.css



I don't think you should have to go that far...

You have a ton of absolutely positioned divs with inline styles
margin-right: auto, margin-left: auto

Either this is absolutely positioned or it's not. You can't have it both
ways!

Cheers,
Jeff
quote:

>
> What am I doing wrong ? Is it impossible to center it correctly ?
> Any advice ?
>
>
> Thanks in advance
>
>
>
> --
> Abs





Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews