2 replies [Last post]
ljbailey
ljbailey's picture
User offline. Last seen 1 year 12 weeks ago. Offline
rank Enthusiast
Enthusiast
Joined: 2009-01-10
Posts: 224
Points: 59

Hi Guys,

The one thing I don't know about CSS (that I know of) is what this for instance represents:

margin:10px 10px 20px;

I know that what you have 4 settings that it is top, right, bottom, left, and that when you have two it is top/bottom left/right but what does three do, is it top, right, bottom, or is it top/right bottom and left?

PLease help me put this one to bed.

Liam Bailey is director of Galloway Web Services, a Stranraer web design company, sister of SEO copywriting services company Write About Property.

Hugo
Hugo's picture
User offline. Last seen 1 hour 3 min ago. Offline
rank Moderator
Moderator
Joined: 2004-06-06
Posts: 15096
Points: 2191

The one that gets omitted is

The one that gets omitted is fetched from it's counterpart, so the last being 'left' takes it's value from 'right' the second value, so it's same idea as pairs.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

ljbailey
ljbailey's picture
User offline. Last seen 1 year 12 weeks ago. Offline
rank Enthusiast
Enthusiast
Joined: 2009-01-10
Posts: 224
Points: 59

Thanks for that

Sorry about the delay, been snowed under of late. Thanks for clearing that up.

Liam Bailey is director of Galloway Web Services, a Stranraer web design company, sister of SEO copywriting services company Write About Property.