It doesn't seem possible. But would the following also seem a
violation of the general notions behind css?
You have a DIV, say asociated with class, 'topdiv'.
Inside of that you have an anchor (and whatever it contains),
associated with class, 'a'.
Somewhere else in, 'topdiv', there is a span or element (containing
whatever), associated with class, 'b'.
Can you read the pseudo selector :hover for 'a', and somehow modify
presentation for 'b'?
..topdiv.a A:hover .b ?
The anchor element becomes a trigger for a style change to b, in other
words. It doesn't seem possible. Yet both 'a' and 'b' are in scope in
'topdiv', but outside each other's scope. 1 1841
Mark Johnson wrote: It doesn't seem possible. But would the following also seem a violation of the general notions behind css?
You have a DIV, say asociated with class, 'topdiv'.
Inside of that you have an anchor (and whatever it contains), associated with class, 'a'.
Somewhere else in, 'topdiv', there is a span or element (containing whatever), associated with class, 'b'.
Can you read the pseudo selector :hover for 'a', and somehow modify presentation for 'b'?
.topdiv.a A:hover .b ?
The anchor element becomes a trigger for a style change to b, in other words. It doesn't seem possible. Yet both 'a' and 'b' are in scope in 'topdiv', but outside each other's scope.
You can put <span class="b"> inside <a class="a">, and use
positioning to make it look like it's somewhere else.
..topdiv a.a:link .b{
position:relative;
left:8em;
top:3em;
color:red;
}
..topdiv a.a:hover .b{
position:relative;
left:8em;
top:3em;
color:blue;
}
<div class="topdiv">
<a class="a">hover this<span class="b"> and see this change
colour</span></a>
</div>
Not tested!
--
Els
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo - This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mark Johnson |
last post by:
It doesn't seem possible. But would the following also seem a
violation of the general notions behind css?
You have a DIV, say asociated with class, 'topdiv'.
Inside of that you have an anchor...
|
by: Laphan |
last post by:
Hi All
I'm using .getRows() with a local var array instead of doing a recursive
loop so that I'm being a good ASP newvbie and closing my object i/o's (the
recordset in this case) as quick as...
|
by: benb |
last post by:
I have form that looks a lot like a search bar for the user to search
for records matching specified criteria (e.g. first names containing
"ben"). For robust results, an intermediary form displays...
|
by: Christopher Benson-Manica |
last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.)
strchr() is to strrchr() as strstr() is to strrstr(), but strrstr()
isn't part of the standard. Why not?
--...
|
by: vladvadeanu |
last post by:
I have this problem...
I want to add controls to a WebForm (any kind of controls... panels,
buttons, datagrids,...) at runtime and I could do that with
HtmlControls :" Label myLabel = new Label();...
|
by: qwerty |
last post by:
I´m new to ASP.Net. My workmate has some experience with it.
He claimed that in ASP.Net working with frames is much simpler than it
was ASP. I asked explanation but he couldn't give me such. (a...
|
by: Giggle Girl |
last post by:
My pages need to unfold gracefully even if Javascript is disabled, but
I can't get this to work?
Please help, Javascript Gurus!!
<noscript>
document.write('<span class=warning><b>Warning</b>:...
|
by: lovecreatesbeauty |
last post by:
Why the C standard committee doesn't provide a standard implementation
including the C compiler and library when the language standard
document is published?
C works on the abstract model of low...
|
by: ImageAnalyst |
last post by:
I'm trying to have the user browse to a folder, once they click a
button, using the standard FolderBrowserDialog tool,
System.Windows.Forms.FolderBrowserDialog. I'm using VB.Net 2005.
There is a...
|
by: David Mathog |
last post by:
There have been a series of questions about directory operations, all of
which have been answered with "there is no portable way to do this".
This raises the perfectly reasonable question, why,...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |