![]() |
|
|||||||
| Notices |
| CSS Forum Cascading Style Sheets (CSS) and XHTML Forum |
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
||||
|
Ok, Ive mastered my css rollowevers on here: Phil Johns Imaging - Plymouth Graphic and Webdsite Design
(for anyone looking at my code, ignore the bit where I show the rolloverd background image to be an arrow in my css as Ive removed the files from my erver) Basically, I was wodnering what css attriubute I would have to use to have my nav link go from so HOME to GO when it is rolloed over....
__________________
Plymouth Graphic and Website Design |
|
|
|
||||
|
Use an image background on rollover
__________________
Colour Printing and Integrated Cards || Graphic Design, Web Design UK || Logo Designer - Logo Design || Graphic Design Blog || Logo Design Logo Designer || Integrated Labels & Cards || Logo Design || Graphic Design Links || Web Design Rotherham UK || Logo Design UK || Web Design UK
|
|
||||
|
Been there done that lol
The problem with doing this is that if an image is used as the text the user can then not resize the text....
__________________
Plymouth Graphic and Website Design |
|
||||
|
You can't resize when on rollover anyway? You only use an image for the rollover and text for the non rollover
__________________
Colour Printing and Integrated Cards || Graphic Design, Web Design UK || Logo Designer - Logo Design || Graphic Design Blog || Logo Design Logo Designer || Integrated Labels & Cards || Logo Design || Graphic Design Links || Web Design Rotherham UK || Logo Design UK || Web Design UK
|
|
||||
|
Im either misunderstanding you or you are misunderstanding me.
Lets take for example my menu button of "Home" What I want is that when it is just there i.e. not being rolloed over I just want it to be "Home" like it is now. However when it is rolled over, is it possible to have it change from "home" to "Go" just by using CSS and no images.
__________________
Plymouth Graphic and Website Design |
|
||||
|
No I wouldn't think so
__________________
Colour Printing and Integrated Cards || Graphic Design, Web Design UK || Logo Designer - Logo Design || Graphic Design Blog || Logo Design Logo Designer || Integrated Labels & Cards || Logo Design || Graphic Design Links || Web Design Rotherham UK || Logo Design UK || Web Design UK
|
|
||||
|
You could use overflow and padding with a load of spans in the <li>s (provided you're using <li>s), but it would become a little cumbersome.
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
Not only is it possible to do it with CSS, but it is simple. Check out StuNicholls tutorial here:
CSSPlay :hover craft tutorial The Link #4 on that page is almost what you are trying to accomplish.
__________________
Tommy Logic ™ Web Design :: Valid XHTML & CSS :: SEO :: CMS :: eCommerce Web Design Tutorials :: Computer Tutorials |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rollover image map HELP! | mystiklady | CSS Forum | 5 | 16-04-2008 07:45 PM |
| inserting text in indesign (creating text art) | a3dy | Design and Print Software | 1 | 10-03-2008 01:47 PM |
| Popup image when rollover | viggosmor | CSS Forum | 6 | 25-09-2007 10:52 AM |
| rollover highlight | Joe.Morgan | Graphic Design Tutorials | 7 | 12-06-2007 03:28 PM |
| Design Can Change | Toon | Off Topic | 0 | 11-04-2007 03:27 PM |
| All times are GMT. The time now is 10:26 PM. |