PDA

View Full Version : formatting an xsl tag - not working


chelvis
04-18-2003, 04:04 PM
I have a .css where the <BlueText> is for blue color text. <BLink> is for a link.

<A CLASS="BlueText"><LI>Data1</LI></A>
<A CLASS="BlueText"><LI>Data information 2</LI></A>
<A CLASS="BlueText"><LI><A CLASS="BLink" href="http://www.codingforums.com">Click Here</A><A CLASS="BlueText">to go to the page</A></LI></A>

In the above <LI> tags, in the first 2 lines, even the dot comes in blue. But in the third line, since I have a link I wrote like that but the dot comes in usual black color. How can I make the dot come in blue with the link? Because the link is a different color from the BlueText color.

Any help?

Mr KFB
04-21-2003, 05:47 PM
This isn't really a question that has anything to do with xsl. Its really just an HTML formatting issue. You can solve this problem by making a "BlueText" style sheet class for your list and making your code look like this:

<LI CLASS="BlueText">Data1</LI>
<LI CLASS="BlueText">Data information 2</LI>
<LI CLASS="BlueText"><A CLASS="BLink" href="http://www.codingforums.com">Click Here</A> to go to the page</LI>

Perhaps you already know this, but you don't need to use anchor tags for styles.

chelvis
04-22-2003, 03:44 PM
Yes, this works in IE and NN 6. But doesn't work in Netscape 4.x browsers. That is why I am concerned. So to over come this I created a table and put an image (like the list tag dot)
:confused:

brothercake
04-23-2003, 03:42 AM
Why not just dowgrade netscape 4 - treat it a legacy browser with only minimal CSS, or none at all.