Sent by Amol Katdare on 2 December 2005 23:11
Hi,
I am using some indentation to maintain a little bit of code readability.
Here is a sample snippet:
<span class="..." onmouseover="..." onmouseout="...">
<a href="#" class="..." onclick="..."/>some text</a>
<span id="..." style="..." >
<a href="#" style="..." class="..." onclick="..." title="...">x</a>
</span>
</span>
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 tried white-space attribute but couldn't get it to "eliminate" (though it
collapses spaces) the white space only text nodes.
Thanks,
Amol Katdare
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/