What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

Hey, Rick :)


Not sure what you mean about changing a menu...do you mean a different menu on different pages (or sections) of your site?

 

Sure, you can. That's the "cascade" part of cascading stylesheets. Say you want the menu, and only the menu, to change. Assuming you're linking to an external stylesheet which has the global site styles, you'd put the changes in either an internal stylesheet,  below the external link in your html, or link to a separate external sheet, again listed below the main one. Like this:

[code]<head>

<link href="yoursheet.css" rel="stylesheet" type="text/css">

<style type="text/css">

#nav {

color: #0f0;

background-color: #000;

}

</style>

</head>

[/code]

The linked sheet would have the global styles that will show on this page too, except for the changes you made in the internal stylesheet, which "cascade" down and overrule the first sheet.


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top