Topic: CSS help or ideas..... |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: |
posted 06-17-2002 20:23
Well I'm redesigning my site again, getting bored of the plain grey and emm grey. So I'm making a whole new site with colours and more goodies than just showing artwork. I'm playing with CSS more than I ever have and have a question to be answered regarding CSS. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 06-17-2002 20:34
DS: Try something like: code: DIV.myDiv a:hover {
|
Paranoid (IV) Inmate From: |
posted 06-17-2002 20:54
Emp: Thanks but where would that be placed? in the CSS stlye sheet or on the page it's self? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 06-17-2002 20:59
DS: See briggl's CSS tutorials for the various places you can put CSS - unless you have a good reason then place that code in your external CSS file and then all you need is something like: code: <div class="myDiv">
|
Paranoid (IV) Inmate From: |
posted 06-17-2002 21:00
Thanks I'll give it a try!! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-18-2002 15:34
Of course, div.mydiv can be any sort of selector - for instance, TD a:hover would affect links in tables, and P a:hover would affect links in paragraph tags. You get the idea. |
Maniac (V) Inmate From: there...no..there..... |
posted 06-18-2002 16:18
Another note would be sure to list all the link stuff in the right order. If not it won't work. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 06-18-2002 17:19
CPromt: Almost right |