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, ...Fixing BackgroundFixing Background
Previous
 
Next
New Post
2/24/2007 3:17 AM
 

Hello again !
I have a following problem I need my bg  not to repeat and be fixed, I have tried all possible ways with no use

when I write in ascx file

<body background="<%= SkinPath %>bg.jpg" behavior="fixed" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
 it shows bg but repeats it as normal ...

when I write in css

body {
 background-image:url(http://www.domvdubai.ru/Portals/5/Skins/Dubai/bg.jpg);
 background-repeat: no-repeat;
}

it doesn't show the bg at all....

 

please tell me how to fix it... making site for my sister getting a lot of headache and nothing else

 one more question  I see many sites now have the skin object(? not sure it's called like this)  that changes skin to 3 different sizes and 3 different font sizes, I would like to know how to do that too!  :^)

 
New Post
2/24/2007 7:19 AM
 

I just looked at your background image http://www.domvdubai.ru/Portals/5/Skins/Dubai/bg.jpg, and it's only 1 pixel wide, so it's hard to see. Do I understand you right that you don't want to repeat this image AT ALL? For me, it would make more sense to repeat it only horizontally (over the whole page width), but not vertically. If it's that what you want, use "background-repeat: repeat-x;" in your CSS.

For your other question, have a look at this post.

 
New Post
2/24/2007 7:40 AM
 
GREAT!!!! thanks a lot !  I am sooooooo silly ! ofcourse I want it to repeat horizontally ! and  probably it worked like I asked it to  but since I asked it NOT  to repeat at all I couldn't see it . WOW silly me !!! THANK YOU !!!!!!
 
New Post
2/24/2007 7:49 AM
 

.... it was too early to be happy ... I tried what you reccomended and yes it worked but not exactly as I wanted it to work... th ebg does not repeat but then if the text ( content ) part is longer than the bg then when bg part is finished it shows white color.... What I wanted to have is something that would stay on one place and let the text ( content) flow ontop of it.... like when I used frontpage it was called watermark or something, when the bg is fixed and is not moving and the text floats over the bg.... still puzzled

 
New Post
2/24/2007 9:32 AM
 

body {
 background-image:url(http://www.domvdubai.ru/Portals/5/Skins/Dubai/bg.jpg);
 background-repeat: repeat-x;
 background-attachment: fixed
}

got it fixed !!!thanks!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Fixing BackgroundFixing Background


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