Amol Katdare wrote:

> The problem: This indentation (TAB/CRLF) displays itself as unwanted
> space(s) when the HTML is rendered.
> 
> Is there any way to get rid of "white space only text nodes" using CSS? (FF
> and IE)

I think that the issue is html, not css. If you place code line breaks 
between your links, there will be white-space. CSS isn't going to 
control how the browser renders that, as it reads the code line break as 
a space (content) [btw, what are the "..."  and onclicks for?]

<span class="foo"><a href="#">some text</a></span>
<span class="foo"><a href="#">some text</a></span>

isn't the same as

<span class="foo"><a href="#">some text</a></span><span class="foo"><a 
href="#">some text</a></span>

In the first example, there will be *one* space between two links; in 
the second, there won't. FOL, afaik.

Like I said, it's an html issue, just like stacking <img> tags in your 
code... the span is an empty selector, so it's as if you were using

<a href="#">some text</a>
<a href="#">some text</a>
<a href="#">some text</a>

which would also add a space between the links.

What does your css look like? What is the context of the link tags? You 
could probably set up something to float the spans, which would get rid 
of the space created, but likely be another sort of problem  :\

If it is just for readability, maybe you could use comments in some way 
instead.

HTH,
Donna




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to