Click to See Complete Forum and Search --> : OUTLINE property of CSS


sneakyimp
04-01-2004, 08:03 PM
Can anyone explain this to me a little...as i understand it, an outline is a border that hovers OVER an html element that doesn't impact the layout of the page. this true? sounds cool to me.

Sam
04-01-2004, 08:41 PM
sounds nice, but it is CSS2, so there's no guaruntee its 100% supported. see the REC (http://www.w3.org/TR/REC-CSS2/ui.html#propdef-outline) for more information

sneakyimp
04-01-2004, 08:45 PM
that link is precisely where i discovered the existence of this property...i can't get outline stuff to show up in IE. it sounds super handy to me.

Sam
04-01-2004, 09:00 PM
does it show up in real browsers (http://www.mozilla.org/products/firefox/)? its likely that IE just doesn't support it.

sneakyimp
04-01-2004, 09:42 PM
like it or not, most people use it--at LEAST twice as many people as mozilla:

http://www.upsdell.com/BrowserNews/stat.htm

Sam
04-01-2004, 09:46 PM
it may be a widely used browser, but that doesn't make it real

ray326
04-01-2004, 10:28 PM
Originally posted by sneakyimp
Can anyone explain this to me a little...as i understand it, an outline is a border that hovers OVER an html element that doesn't impact the layout of the page. this true? sounds cool to me. Since it screws it up a border-top doesn't impact the page layout in IE either. ;) Try text-decoration: overline.