Outline would be useful if you could specify the individual top/right/bottom/left components of it.

Say you have a site and you want to separate sections with a 1px border at the bottom of each, doing so using border is the obvious option but this interferes with the baseline grid. If you could use outline-bottom instead (which doesn't exist unfortunately) you'd got your 1px separate without added an extra pixel to the position of subsequent content.

- Andrew

David Hucklesby wrote:
On Sat, 19 May 2007 11:18:04 +0100, Designer wrote:
On 18/05/07, Stephen Kelly <[EMAIL PROTECTED]> wrote:

I find this invaluable,

http://www.webdevout.net/css-hacks

The most valuable part (for me) was introducing me to 'outline' instead of 
border. I
confess, I'd never come across it before. I've had a quick play and it does 
validate
OK. The interesting thing (I think, anyway) is that whereas border applies an 
extra
width/height, outline does not. This can be useful sometimes, esp when testing 
[ as in *
{outline : red dashed thin}, for example].

The big question of course, is whether there is anything undesirable about the 
use of
'outline'?


While "border" affects layout, adding to size and "trapping" margins,
for example, AFAIK "outline" does not, acting in a similar manner to
"background".

As you noted, this is valuable when testing. As you also say, not
for IE, where I resort to background-color instead.

Incidentally, have you tried Firebug? It's the only thing I know
that indicates where your margins are (and lets you change them
dynamically).

Cordially,
David
--



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************






*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to