Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS precedence/stylesheet overrride

Status
Not open for further replies.

varshan09

Programmer
Oct 28, 2003
45
IN
Hi,
I've two stylesheets - a.css and b.css. There are some classes like glbLink and glbLinkBold which are present in the both the css files. I've added these two files in the HTML of c.aspx. c.aspx uses glbLink and glbLinkBold in the form.

My doubt is, from where it will pick up glbLink and glbLinkBold? Is the order of including stylesheets(css) matter?

Thanks
Varsha
 
Either and Both.
The last one defined in the stylesheet order will take precedednce, and any properties defined in the first one but not over-ridden in the second will cascade through.


Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top