I use it to contain a background image which is the "cap" on the end of a
curved tab.
I could also think of other of reasons to do this.  Sometimes you want to
have a message or indicator in an A and want to change it dynamically.

It still shouldn't crash the browser.  I "thought" it was valid.

Glen

On 4/30/07, Simon Tiplady | Forums <[EMAIL PROTECTED]> wrote:
>
> What is the point of a span if it is not spanning anything?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka
> Sent: 01 May 2007 00:51
> To: css-d@lists.css-discuss.org
> Subject: [css-d] <span /> crashing IE7
>
> My IE7 crashes if I look at the following source:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html>
> <head>
>     <title>Crashes IE7</title>
>
> <style>
>   a {  position: relative;}
>   a span{position: absolute;}
> </style>
> </head>
> <body  >
>
>   <a href="">Link1<span /></a>
>   <a href="">Link2<span /></a>
>
> </body>
> </html>
>
> It doesn't crash if I am explicit with <span></span> It doesn't crash if I
> only have 1 link.
>
> Is <span /> illegal?  Why would this crash IE7?
>
> Glen
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org --
> http://www.evolt.org/help_support_evolt/
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to