|
|
 |
Re: FN-FORUM: css question
date posted 20th March 2006 20:53
I still can't get it right in IE or Firefox. The is a gap aswell between the
Navigation images in Firefox which won't go away either. The first div is in
the right place in Firefox but the second one should be on the right of it.
body {
background-color: #EDECF6;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
color: #322B60;
text-align: center;
margin: 0;
}
#content {
width:760px;
margin-left: auto;
margin-right: auto;
}
#main {
width:580px;
background-color: #FFFFFF;
border: 1px solid #6A5EB8;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
color: #322B60;
text-align: left;
}
#navigation {
position: relative
width: 180px;
right: 580px
background-color: #FFFFFF;
border: 1px solid #6A5EB8;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
color: #322B60;
}
Thanks
Pam
----- Original Message -----
From: "Tony Crockford" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, March 20, 2006 7:44 PM
Subject: Re: FN-FORUM: css question
>
> On 20 Mar 2006 19:20:47 -0000, pamela @ gconnect [EMAIL REMOVED]
> wrote:
>>
>> How with css positioning do I get
>> http://www.knutsford-software.co.uk/test/support.asp in the middle of the
>> page rather than the left hand side? It is so much easier with tables. I
>> have been playing around for ages and just can't get it right
>
> body {text-align: center} /*for IE*/
>
> div#main {
> width: 80%;
> margin: 0 auto;
> text-align: left;
> }
>
> should get you sorted.
>
> see: http://www.maxdesign.com.au/presentation/center/
> for other ways.
>
> ;o)
>
>
> --
> Join me: http://wiki.workalone.co.uk/
> Thank me: http://www.amazon.co.uk/gp/registry/1VK42TQL7VD2F
> Engage me: http://www.boldfish.co.uk/portfolio/
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|