|
| |
|
|
tarheel
Posts: 422 From: Fresno CA USA Status: offline
|
CSS rollover not working - 7/28/2007 13:34:45
I have stylesheets on this website and on new pages, nothing I do will enable the link to trigger the rollover effect. It's not the srcipt because it works on some pages but not others. http://jatampabay.com/fun_pics/Fun%20Pics.htm however, it works on this page with exactly the same header info. http://jatampabay.com/index.htm Any suggestions? Thanks Phil
_____________________________
Phil Hawkins Photographyhttp://www.philhawkinsphoto.com
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: CSS rollover not working - 7/28/2007 13:50:02
You've got font tags in the markup itself which is overruling the CSS in the stylesheet. Remove all the font tags (or at least the colour bits of those font tags) and closing font tags around the links and the rollovers will work. It's much less confusing and much easier to manage if you can put all the styles in the external stylesheet, not just the link styles. That way it's both much easier to change stuff globally and it's less confusing as you don't run into priority problems. Rules in the stylesheet will be overruled by rules in the head of the document and both of those will be overruled by either styles or old fashioned presentational tags like font tags in the body of the document itself.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
tarheel
Posts: 422 From: Fresno CA USA Status: offline
|
RE: CSS rollover not working - 7/28/2007 18:49:13
quote:
ORIGINAL: Tailslide You've got font tags in the markup itself which is overruling the CSS in the stylesheet. Remove all the font tags (or at least the colour bits of those font tags) and closing font tags around the links and the rollovers will work. It's much less confusing and much easier to manage if you can put all the styles in the external stylesheet, not just the link styles. That way it's both much easier to change stuff globally and it's less confusing as you don't run into priority problems. Rules in the stylesheet will be overruled by rules in the head of the document and both of those will be overruled by either styles or old fashioned presentational tags like font tags in the body of the document itself. Fixed! That did it. Thank You Very Much! Phil
_____________________________
Phil Hawkins Photographyhttp://www.philhawkinsphoto.com
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|