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 Madness - split topic here

date posted 29th February 2008 17:40

Tony,
I find that padding can be useful and my approach is to subtract any =
width padding from the specified width

ie before padding

.myDiv{
width:200px;
}

with padding

.myDiv{
width:170px;/*200 _ I keep this here for reference*/
padding-left:10px;
padding-right:20px;
}

just another option for those picking this up!


Kind regards=20


Brendan Oliver


M:+44(0)7701 054 588
T: +44 (0)1949 21202
E: [EMAIL REMOVED]
E: [EMAIL REMOVED]

14 Main Street
East Bridgford
Nottingham
United Kingdom

Internet E-mail Confidentiality: This E-Mail may contain confidential =
and/or privileged information. It is only intended for the use of the =
addressee indicated in this message. If you are not an intended =
addressee of this email (or responsible for delivery of the message to =
such person), the disclosure, copying or delivering of the contents of =
this email to anyone else is strictly prohibited and may be unlawful. If =
you receive this e-mail by mistake destroy the message and please notify =
us immediately by e-mail. Please advise immediately if you or your =
employer do not consent to Internet E-Mail for messages of this type. =
Information or opinions in this message that do not relate to this =
business shall be treated as neither given or endorsed by it. Please =
note that whilst we try to ensure that messages and attachments are =
virus free, we cannot accept responsibility for situations where this is =
not the case.

=20

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] Behalf Of Tony
Crockford
Sent: 29 February 2008 15:53
To: Brendan Oliver
Subject: Re: FN-FORUM: CSS Madness - split topic here




On 29 Feb 2008, at 15:43, Brendan Oliver wrote:

>
> as Tony mentioned lots of css problems come from your friend and =20
> mine IE - whos a bit of a rule breaker.
>
> Most of these problems can be solved by understanding the box model =20
> - http://www.brainjar.com/css/positioning/default.asp and how IE =20
> treats padding and margin values

The simple trick that I learned long ago, that saved me from loads of =20
grief, was to avoid horizontal padding altogether.

if you need white space add a margin to the contained element, not =20
padding to the container.

that one simple thing eliminates a whole mess of IE problems.

;o)




--=20
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
February 29th 2008
February 28th 2008
February 27th 2008
February 26th 2008
February 25th 2008
February 24th 2008
February 23rd 2008
February 22nd 2008
February 21st 2008
February 20th 2008
February 19th 2008
February 18th 2008
February 17th 2008
February 16th 2008
February 15th 2008
February 14th 2008
February 13th 2008
February 12th 2008
February 11th 2008
February 10th 2008
February 9th 2008
February 8th 2008
February 7th 2008
February 6th 2008
February 5th 2008
February 4th 2008
February 3rd 2008
February 2nd 2008
February 1st 2008


Messages by Month
October 2008
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