|
| |
|
|
lilblackgirl
Posts: 288 Joined: 5/16/2002 From: Status: offline
|
boldfacing the page you are on - 10/9/2006 12:02:07
i know it can be done, but what would the CSS look like to automatically boldface the page you are on displaying in the navigation tree?
_____________________________
You look like you're about to do something stupid. I'm in.
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: boldfacing the page you are on - 10/9/2006 12:29:56
I think you're probably looking for 'active' as in: A:active { font-weight: bold; } Something like that?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
Tailslide
Posts: 6292 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: boldfacing the page you are on - 10/9/2006 12:31:41
There are a couple of different ways of doing it depending on the semantics of the issue - i.e. if you want a bit of text to have actual emphasis (for screenreaders for example) then you should use <strong> around the bits of text. If it's just a presentational thing and you don't actually want the text to have more importance than the surrounding text then you just add font-weight:bold to the section you are talking about. So if you have a list of navigation items within an unordered list called "navlist" for instance you'd add this: #navlist {font-weight:bold;}
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
lilblackgirl
Posts: 288 Joined: 5/16/2002 From: Status: offline
|
RE: boldfacing the page you are on - 10/9/2006 13:53:16
That's what i was looking for, thanks Tailslide!
_____________________________
You look like you're about to do something stupid. I'm in.
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: boldfacing the page you are on - 10/9/2006 16:17:04
quote:
picks up the current page and changes the link to the current page, adding in a "current" class. Yup, I do that same thing with ASP and works quite well.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
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
|
|
|