-
1. Re: Styling the <a> tag inline...
VinayKSharma Sep 7, 2009 9:20 PM (in response to Jhabrix)You must be having some really one off case that is why you are looking for inline style...
Here is how you do it..
<a href="your url comes here" style="color:#ffcc00; font-size:12px; text-decoration:underline">Click Me</a>
This is just an example which colors your a tag and applies 12px font and underline as decoration. You can define your own per your requirement.
Secondly, the problem with inline style is that you wont be able to capture the 4 states (link, visited, hover, active).
So your link will always look the same in every state.
Regards,
Vinay
-
2. Re: Styling the <a> tag inline...
Jhabrix Sep 8, 2009 1:21 AM (in response to VinayKSharma)vikrish21 wrote:
You must be having some really one off case that is why you are looking for inline style...
Hi Vinay,
Yes, it is a one-off (for an html mailer).
<a href="your url comes here" style="color:#ffcc00; font-size:12px; text-decoration:underline">Click Me</a>
That's what i've done...
Secondly, the problem with inline style is that you wont be able to capture the 4 states (link, visited, hover, active).
So your link will always look the same in every state.
And that is the answer / reason to / for my problem
-
3. Re: Styling the <a> tag inline...
VinayKSharma Sep 8, 2009 1:24 AM (in response to Jhabrix)So I believe I answered your query and clarified / confirmed your doubts
Regards
Vinay
-
4. Re: Styling the <a> tag inline...
Jhabrix Sep 8, 2009 8:20 AM (in response to VinayKSharma)vikrish21 wrote:
So I believe I answered your query and clarified / confirmed your doubts
More or less... but hope springs eternal, etc. etc.


