473,474 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

style="HOVER{}"? posible?

hey all,

i wonder if it is posible to make a A:HOVER without a class defintion..

so
<a href="#" style="{color:red;};HOVER{color:blue}">test</a>

because i am sending html email in the body and the web interface filters
out the classes..
anyone a solution or a tip?

Cheers,

D
Jul 21 '05 #1
3 74890
Els
dev wrote:
hey all,

i wonder if it is posible to make a A:HOVER without a class defintion..

so
<a href="#" style="{color:red;};HOVER{color:blue}">test</a>
<a href="#">test</a>

a:link{color:red;}
a:hover{color:blue;}

because i am sending html email in the body and the web interface filters
out the classes..


You mean it filters the CSS rules I think - not the classes?
Anyway, you can use the old-fashioned html attributes in the <body>
opening tag:
<body text="black" link="red" vlink="red" alink="blue">

Deprecated of course, but perfect for email I think.
alink is for selected links, not sure if hover counts as selected
though. I guess you'll need an onmousover script for that.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos văo. O resto é imperfeito.
- Renato Russo -
Jul 21 '05 #2
dev wrote:
hey all,

i wonder if it is posible to make a A:HOVER without a class defintion..

so
<a href="#" style="{color:red;};HOVER{color:blue}">test</a>


No. Pseudoclasses can't be used in STYLE attributes.
Jul 21 '05 #3


"Harlan Messinger" <hm*******************@comcast.net> wrote in message
news:3h************@individual.net...
dev wrote:
hey all,

i wonder if it is posible to make a A:HOVER without a class defintion..

so
<a href="#" style="{color:red;};HOVER{color:blue}">test</a>


No. Pseudoclasses can't be used in STYLE attributes.


@Harlan
Thanks for the info.

@Els you cant use scripts in body email format because all will be filtert
out.

but anyway thanks for the responses

Cheers,

D

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: al | last post by:
Hi, I've been trying to create a image mouseOver effect using CSS - is this possible? Or will I have to use DIV tags or something along those lines? I've tried a number of things - the code...
9
by: Max Weebler | last post by:
Hi, I have a datagrid built that has an alternating item style that sets the backcolor and ForeColor of its rows. I have 4 template columns. One of them has a LinkButton embedded in it to...
1
by: DiegoMx | last post by:
I'm having a problem with "a:visited" properties overriding "a:hover" ones - here's the relevant part of my CSS: a.barra { position:absolute; top:30px; font-family:century gothic;...
2
by: spifster | last post by:
Hello all, I am building a collapsable tree using Javascript with DOM in IE. In order to make collapsed cells disappear I have been hiding the text. The cells collapse but still leave borders...
1
by: Paul | last post by:
Below is the html and css. It works in Firefox but not IE. When you click on "Your Links", it should cause a new menu "system" to open up to the right of the "Your Links" with two menu options. ...
1
by: bobmct | last post by:
Anyone: As a non-js programmer (but incorporater of js code into my perl/php/html sites) I am attempting to create vertical self expanding menu (when the user cursors over a selection it will...
4
by: knkk | last post by:
I have style definitions that look like this: .a10b, .a10b a:link, .a10b a:visited, .a10b a:hover { font: 10px Arial; color: #000000;
9
Death Slaught
by: Death Slaught | last post by:
I'm working on a web site, and every thing is fine except when I added the navagation bar......for some reason it pushes my navagation bar away from the border, which is odd because there's no reason...
5
by: dangt85 | last post by:
Hello, I have the following page: ... <style type="text/css"> body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.