Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: CSS question (again)

date posted 7th March 2008 11:02

If you mean the #container div, I set it to:-
#container {
min-width: 870px;
max-width:1000px;
margin: 10px auto;
border:1px solid #444444;
background: #ffffcc;
text-align:left;
}

"margin: 10px auto" - I hope this means 10px top and bottom, auto left
right?

Is the "text-align:left;" causing the prob maybe?

In FF, it behaves impeccably :)

Lee Rickler wrote:
>
> Have you set margin and padding left/ right to auto?
>
> Lee Rickler
> Director - Point and Stare - pointandstare.com
> Web Design and Development for over 11 years
>
> Dominic Raywood wrote:
>>
>> I have amended a site of mine recently, to contain the while page
>> within a div, so that the site is fluid, but only upto a max width.
>>
>> All looks fine in Firefox and IE7. It centres, has a nice fading
>> background image for the bit of the page the site doesn't use.
>> Resizes upto 1000px wide and goes down to a min width too. All looked
>> good until in IE7, I decided to reduce the font size in the browser.
>> It sort of behaves, but the div is then not central. It retains it's
>> size and the content stays inside, but with reduced font, the
>> container div moves to the left. With increased font, it moves to the
>> right.
>>
>> Any ideas what could be wrong?
>>
>> http://bagenhamfarm.co.uk if you are good with CSS layout and would
>> like a peep.
>>
>> Thanks.
>>
>

--
Dominic Raywood
Rubicon Computer Services Limited
W: http://rubiconcsl.com
E: [EMAIL REMOVED]
T: 08456 521 561 (+44 1823 698420)
F: 08456 521 561
M: 07050 204998 (+44 7811 252573)
Skype: RubiconCSL



Messages by Day
March 31st 2008
March 30th 2008
March 29th 2008
March 28th 2008
March 27th 2008
March 26th 2008
March 25th 2008
March 24th 2008
March 23rd 2008
March 22nd 2008
March 21st 2008
March 20th 2008
March 19th 2008
March 18th 2008
March 17th 2008
March 16th 2008
March 15th 2008
March 14th 2008
March 13th 2008
March 12th 2008
March 11th 2008
March 10th 2008
March 9th 2008
March 8th 2008
March 7th 2008
March 6th 2008
March 5th 2008
March 4th 2008
March 3rd 2008
March 2nd 2008
March 1st 2008


Messages by Month
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000