Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...css container image pathscss container image paths
Previous
 
Next
New Post
2/7/2008 6:06 AM
 

 

Hi

I am trying to create a rounded corners container using css. 

The path to the image i am using in the css to make the corners round is

 

background: url(/Portals/_default/Containers/internet_sharing/images/roundedcornr_cyan_lightblue_tl.png) no-repeat top left;

The images are not being displayed, can anyone tell me why please???

Thanks

Graham

 

 
New Post
2/7/2008 9:22 AM
 

Try background-image instead of background & refresh your browser. 


    - Doug Vogel     

 
New Post
2/7/2008 10:43 AM
 

Actually you're already close Graham.  You only need the relative path for the container - DNN will know that the image is contained with the Container - so simply put you should use:

background: url(images/roundedcornr_cyan_lightblue_tl.png) no-repeat top left;

Then it'll work!!!



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
11/21/2008 3:40 AM
 

It doesn't work for me... I'm trying to solve the IE6 PNG issue.

.right-container #header img {
    position:relative;
    behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
    this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
    this.src = "images/blank.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
    this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
    this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
    );
}

If I'm testing it in IE6 it shows a red cross (image not found)...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...css container image pathscss container image paths


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out