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 Help

date posted 29th January 2006 16:49

In CSS, more is less. The less CSS attributes that you can get away with
using, the better. Don't' overcomplicate your CSS by adding loads of
different styles and tweaks for everything.

To handle minimum height, I've (so far) found that doing;

div {display:block; height:400px; min-height:400px;)
body > div{height:auto;)

Seems to work. The first bit sets the height and IE happily extends the
block out if it's higher than 400px. IE ignores min-height in the first
div declaration. The body > div selector only words for Moz and it
resets the height to auto so that the block will auto-expand for Moz.

Don't know how well it works for Opera and to be honest, I don't care ;)

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Tony
Crockford
Sent: 29 January 2006 16:53
To: Andy Macnaughton-Jones
Subject: Re: FN-FORUM: CSS Help


On 29 Jan 2006 16:40:22 -0000, Lee Fogarty [EMAIL REMOVED]
wrote:
>
> Thanks for the replies folks but I'm still struggling here. This is=20
> why I code & don't design :)
>
> The url is=20
> http://82.13.65.36/independent_lady/independent_4.php?e_id=3D17

start again...

simply:





forms & stuff





give body text-align: center and #container text-align: left and
margin: 0 auto; and it will centre on the page.

take away all the position absolutes and the header will push the
content down, the content will push the footer down.

TBH I'm struggling to see why you've complicated your layout so much..

;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



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


Messages by Month
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
March 2006
January 2006


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