Click to See Complete Forum and Search --> : Text color


TLMM
08-25-2003, 12:11 PM
I am using the following link within a paragraph:

<a href="" onclick="return OpenAfterPics('Test')"
STYLE="text-decoration: none; color: #C85E00">Test</a>

I am able to set the text to the color I want, but can I set the hover color here as well? I do not want to use a style sheet.

Thanks!

AdamGundry
08-25-2003, 12:13 PM
I don't believe you can use pseudoclasses with the inline style attribute, only with <style> sections and external stylesheets. It should be fairly easy to apply using a class in the <style> section or external sheet. Why do you not want to use one?

Adam

TLMM
08-25-2003, 12:25 PM
If using a style sheet is my only option, then I guess I will go with that. I wasn't sure if it was possible to put it within the code that I previously posted.

Thanks for your help.