This is a discussion on "Strange CSS role over problem" within the Web Page Design section. This forum, and the thread "Strange CSS role over problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Strange CSS role over problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Strange CSS role over problem
I'm pretty new to css so go easy on me
I have a bit of css in action called rollover.css In the edit style sheet I can expand it to reveal .unnamed1 and a:hover. This seems to be working well within the menu. However here is the problem. For some links on the page. I want to do the same trick again, so I created a new CSS and made sure it isn't defined to the roleover.css. (maybe try different colours. I created the new rollover(called price.css) saved it but it seems to be affecting the menu role overs 'rollover.css' hope ive explined myself julian |
|
|
|
||||
|
Re: Strange CSS role over problem
Whay are you creating separate files for each thing? You can combine all your CSS in one file. .foo is a class which can be used over and over #foo is an ID which can only be used once per page.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Strange CSS role over problem
i'm looking for is somthing that isn't as bland as the default 'here is a link' just so that the text changes colour.
I do really love the photoshop glows and role overs is still a nice effect, but I thought I would try to learn some basic dreamweaver tricks. Also there are alot of pages to link to, so if I could use a simple role over effect which is easy to do this would stop me photoshoping myself into the ground. julian |
|
||||
|
Re: Strange CSS role over problem
One image placed via CSS for every link instance is all you need. Do this by utilizing a class or even ageneric style
a:link {} a:visited {} a:hover {}
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Strange CSS role over problem
That sound very good. Is there a tutorial on this?
thanks for replys julian |
|
||||
|
Re: Strange CSS role over problem
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| strange, css, role, problem |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another strange IE problem... | minute44 | Web Page Design | 10 | Oct 18th, 2006 18:17 |
| Strange DNS problem with Win 64 and asp 1.1 | sonic123 | Classic ASP | 1 | Jul 19th, 2006 09:43 |
| Very strange problem indeed! | timmytots | Flash & Multimedia Forum | 2 | Dec 31st, 2005 14:54 |
| Very strange problem indeed! | timmytots | Flash & Multimedia Forum | 5 | Dec 3rd, 2005 17:26 |
| Strange IE print problem | Danboy | Web Page Design | 4 | Jan 12th, 2005 09:51 |