Topic: CSS help or ideas..... |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() DS: Try something like: code: DIV.myDiv a:hover {
|
Paranoid (IV) Inmate From: |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() 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: |
![]() ![]() ![]() ![]() Thanks I'll give it a try!! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() ![]() ![]() ![]() 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..... |
![]() ![]() ![]() ![]() 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) |
![]() ![]() ![]() ![]() CPromt: Almost right |