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 layout oddity

date posted 18th March 2008 12:50

I've tried on 1280 x 1024 and 1280 x 800. Both misbehave :(

I'll try the change of min/max to see if it breaks the good one tonight.
I'm on a client site at the mo and it wouldn't be fair to do it in
their time :)


Jon Warner wrote:
> Sorry, just reread your post AFTER a coffee.
>
> What screen resolution are you test these at?
>
> What happens if you change the good designs min/max to the bad one?
>
> Regards
>
> Jon Warner
> The PixelForge
> t: 07890 299 836
> e: [EMAIL REMOVED]
> w: www.pixelforge.net
> web design // graphic design
>
>
>
>
>
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Dominic
> Raywood
> Sent: 18 March 2008 10:25
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: FN-FORUM: Css layout oddity
>
>
> I have a couple of sites on which I've used the same CSS layout idea to
> create a container div and give it a max-width to stop the pages growing
> too wide.
>
> I got one to do what I want and it works not only in FF, but IE7 too!!!
> So, I copied the same CSS code to another. In FF it works fine, but
> in IE7, the max-width is ignored?
>
> I've tried gradually removing other items (divs etc.) to see if they are
> causing the problem, but can't see what if screwing it up.
>
> The two sites are: http://bagenhamfarm.co.uk (works okay in both) and
> http://advocacyinsomerset.org.uk (ignores max-width in IE7).
>
> Body and container code is:-
>
> Bagenham Farm:
> body { position: relative;
> min-width: 870px;
> color:#444444;
> background-position: top;
> background-color: #cccc66;
> background-image: url("/images/bg2.jpg");
> background-repeat: repeat-x;
> font-family: arial, helvetica, Verdana, Geneva, Sans-Serif; }
>
> #container {
> min-width: 870px;
> max-width:1000px;
> margin: 10px auto;
> border:1px solid #444444;
> background: #ffffcc;
> text-align:left;
> }
>
> Advocacy in Somerset:
> body { position: relative;
> min-width: 600px;
> background: #ffffff;
> background-position: top;
> background-color: #e8ecfc;
> background-image: url("/images/bg2.jpg");
> background-repeat: repeat-x;
> color: #333333;
> font-family: arial, helvetica, Verdana, Geneva, Sans-Serif;
> }
>
> #container {
> min-width: 600px;
> max-width: 1100px;
> margin: 10px auto;
> border:1px solid #a0a0a0;
> background: #f2f5fd;
> text-align:left;
> }
>
> Any idea what is breaking the max-width on one site, but not the other?
>
> 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
September 2008
August 2008
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