Strange CSS role over problem

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 9th, 2006, 13:51
Junior Member
Join Date: Aug 2006
Location: UK Sussex
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 9th, 2006, 13:53
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 9th, 2006, 14:20
Junior Member
Join Date: Aug 2006
Location: UK Sussex
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 9th, 2006, 14:23
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 9th, 2006, 14:41
Junior Member
Join Date: Aug 2006
Location: UK Sussex
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Strange CSS role over problem

That sound very good. Is there a tutorial on this?

thanks for replys

julian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Aug 9th, 2006, 14:50
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Strange CSS role over problem

http://webdesign.about.com/cs/css/a/aa041904.htm
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
strange, css, role, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 08:13.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42