AJAX Forums

CSS - INLINE change to <A> to affect link, visited and hover properties???

This is a discussion on CSS - INLINE change to <A> to affect link, visited and hover properties??? within the XHTML and CSS forums, part of the Beginners AJAX category; Anyone know how to change the default properties of a link as you would in a style sheet, but in the INLINE code ... here is what I want to do, ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-22-2007, 11:48 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 themountainviewguy is on a distinguished road
CSS - INLINE change to <A> to affect link, visited and hover properties???

Anyone know how to change the default properties of a link as you would in a style sheet, but in the INLINE code ... here is what I want to do, sort of works sometimes, but it is broken:The text of the link.Why doesn't this work when they say you can do it inline?To im_smarticle:You may be smart but you are not answering my question, I know how to do it in in a style sheet, I would like to invoke the properties INLINE ...To immisc:That was what I was thinking but I could not find any documentation to support that, draw a distinction, or explain.I appreciate your efforts, but when I ask or answer a question I would like a full detailed reponse to the questions I asked.Perhaps and example, or a pointer to documentation explaining why I cannot do what I hope to do .. still do not see why, I just think you do not know how to do it.
__________________
themountainviewguy is offline   Reply With Quote
Old 06-22-2007, 02:35 PM   #2 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 Im Smarticle is on a distinguished road
When they say inline are you sure they dont mean using an orderd list style inline?Ive never seen it done the way you have it on there...a:link { color:black; text-decoration: none; }a:visited { color:black ; text-decoration:none; }a:hover { color: yellow ; text-decoration: underline;}a:active { color:blue; text-decoration: underline; } The text of the link Try that if that doesnt work try checking spacing and stuff alsi
__________________
Im Smarticle is offline   Reply With Quote
Old 06-23-2007, 01:44 AM   #3 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 vrushali k is on a distinguished road
iammisc answered it right. And i'll explain you why it wont work inline for a tag. When you are defining a style sheet inline, you can apply it to a tag like but not to the different states of any particular tag. tag is unique tag, which offers states like active state, visisted state, over state and normal state. Other tags do not have any behaviour like tag. So, you can define inline style sheet for tag but only for default or normal state. If you want to define styles for other states, you can look pagelevel CSS or external CSS.
__________________
vrushali k is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : Commercial Real Estate and Properties by localizador1709 admin AJAX Freelance Jobs 0 09-30-2008 06:31 PM
How do you use HTML or CSS to display a second image when you hover the American Pride XHTML and CSS 0 06-24-2007 03:32 PM
css declarations - is there a proper order for listing properties? holymoly! XHTML and CSS 0 06-19-2007 08:48 PM
Can I use XML Document for a blog which will be higly visited and edited??? Pranav XML and XSLT 1 05-20-2007 06:12 PM
fix my link to 360 Miss T XHTML and CSS 0 05-18-2007 02:57 PM


All times are GMT -4. The time now is 06:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com