|
|
 |
Re: FN-FORUM: oh darn it
date posted 1st June 2005 15:48
I usually have a div surrounding everything with margins set to auto,
e.g.
#divcontainingeverything {
width: 770px;
margin-left: auto;
margin-right: auto;
background-color: #fff;
}
That centres everything in the div in a cross-browser friendly way.
Paul
On 1 Jun 2005 13:59:24 -0000, "Beston" said:
>
> but how is it that on:
> http://www.benzographology.co.uk/thisiscentred
>
> there arent any center tags on and it aligns in IE
>
> but on
>
> http://deltatraffic.co.uk/dursign/deltatraffic.htm
>
>
>
> it needs a center tag?
>
> how do I get the image in the middle without a center tag?
>
> ta
> Alex
>
>
|
 |
|