Check out this:
http://www.velocityreviews
Or you could use a seperate stylesheet for your master pages that has the correct root path reference.
Main Topics
Browse All TopicsI have a CSS rule that defines a repeating background image on a ASP.NET 2.0 MasterPage, however, the background image will not show up even though other features do. It works on standalone pages, just not the MasterPage.
Here is the CSS:
body
{
color: #914900;
font-family: Verdana, Arial;
font-size: 13px;
}
.hdrbg
{
background: url(i/hdrbg.gif) fixed repeat-x left top;
font-size: xx-large;
}
I plopped in the xx-large font size to make sure the MasterPage is actually finding the stylesheet - which it is.
The CSS style builder previews the repeating image just fine.
Any ideas?
Here is the MasterPage code:
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Check out this:
http://www.velocityreviews
Or you could use a seperate stylesheet for your master pages that has the correct root path reference.
When you specify an url in a css file, it's relative to the location of the css file, not relative to the page. So, use an url relative to the css file.
As the relation between the css file and the image file is the same regardless of the location of the page that is using the css file, you don't need separate style sheets for different pages.
Business Accounts
Answer for Membership
by: surajgupthaPosted on 2007-12-11 at 15:38:48ID: 20453947
Try using the absolute address of the image in the master page...