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, ...placing a background image in the HTML/Text moduleplacing a background image in the HTML/Text module
Previous
 
Next
New Post
9/30/2006 2:09 PM
 
How can I set a .jpg as a background image in the HTML/Text module only?  I'm not sure to which .css file I edit. 
 
New Post
10/1/2006 9:54 PM
 

I have a related question.

I am designing a skin and I would like different background images to appear in different panes. I am designing the skin in VS 2005 and  I have no problem desiging what I am looking for but when I test the site, the panes appear without the background images.

Is there a way to do what I am trying to do.

Note:

Currently the images are refered to in the style sheet attached to the table cell that constitute the pane (I am keeping the skin.css empty).

I have tried both by running the site from VS 2005 and by uploading the style sheet tthrough DNN.

 
New Post
10/2/2006 11:19 AM
 

@choerske -

I'm not sure if it's the same problem you're having, but currently FTB (Free Text Box, the default Text/HTML module) has a major bug that displays the background image / pattern for the page instead of white. On dark skins or patterned backgrounds, it can prove to be quite a hassle. Unfortunately, there has been no official fix yet (to my knowledge)... just many complicated workarounds. I finally got tired of waiting and chose to use FCKEditor / CuteEditor on the sites that were giving me issues.


Wells Doty Jr
Online Content Development
 
New Post
10/2/2006 11:35 AM
 

@CABrouwers -

I'm unsure about developing in VS05, as I do all my skin creation in HTML and let DNN convert it at upload. Regardless, I think it follows the same pattern. Let's use the snippet I use alot in my skins for a 5-cell / 3-column layout:

<TABLE width="100%">
  <TR>
    <TD class="toppane" colspan="3" id="TopPane" runat="server" valign="top"></TD>
  </TR>
  <TR valign="top">
    <TD class="leftpane" id="LeftPane" runat="server" valign="top"></TD>
    <TD class="contentpane" id="ContentPane" runat="server" valign="top"></TD>
    <TD class="rightpane" id="RightPane" runat="server" valign="top"></TD>
  </TR>
  <TR>
    <TD class="bottompane" colspan="3" id="BottomPane" runat="server" valign="top"></TD>
  </TR>
</TABLE>

Now, with that layout one should simply be able to add    style="background: url(filename.gif)"   to the TD Tag, ie:

<TD class="toppane" colspan="3" id="TopPane" runat="server" valign="top" style="background: url(filename.gif)"   >

-OR- you could add the style definition for the class in the skin's CSS file.

Just a couple thoughts, let me know if it helps.

SB


Wells Doty Jr
Online Content Development
 
New Post
10/2/2006 2:38 PM
 

Thanks this is very useful. It looks very similar to what I do in VS 2005. With this method I can change many aspects of the style such as the background color or the font ... but I can't get the picture to show so there must be something else getting in the way of the picture being displayed. .

Perhaps  I store the picture in the wrong place (it is in the same foloder as the skin) ?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...placing a background image in the HTML/Text moduleplacing a background image in the HTML/Text module


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