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, ...Frame around a tableFrame around a table
Previous
 
Next
New Post
5/14/2010 3:35 PM
 
Hi
Please visit http://www.medicalxpert.ch/Partner/ta... - I used a table (100%) with 16 cells (25% width) to make sure it looks even.
As you can see it doesn't because of the different lenght of the text. I think it would look better if the visitor could see the frame (border) around the cells or - even better - around two cells (text & logo). I really couldn't find out how to make the borders visible...

Thank you for any tips!

Regards,
Freddie
 
New Post
5/15/2010 5:53 AM
 

Freddie,

You can control the look of table and TD borders through CSS:

table{
border:1px solid #000000;
}

td{
border:1px solid #000000
}

There are a lot of different settings for borders and a quick search on google will bring up many resources, here's one to get you started: http://www.w3schools.com/css/css_bord...

Rick

Rick



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/15/2010 2:19 PM
 
Rick

Thanks for your tip and the link; cool.

What I didn't find is how to insert a border into a Module. When I do that in Admin - Stylesheet Editor, all borders of the page/skin appear, not only the one of the table. So I went to the Module - Edit Text - Source and tried to insert the CSS in the HTML text; no success.
Here is the HTML code of my table:

<p>&#160;</p>

<table border="3" cellspacing="3" cellpadding="3" width="100%" align="left">

    <tbody>

        <tr>

            <td valign="top" width="25%" align="left">

            <p>Ferroma -&#160;Kälte für Labor und Medizin!</p>


I think it's the wrong place to insert the CSS, right?

Thank you for your feedback,
Freddie
 
New Post
5/16/2010 6:06 AM
 

Freddie,

You can add a black border to the ContentPane of the module within the module settings > Page Settings > border by adding a number for the border thickness this defaults to solid and black which might not be the options you're looking for.

If you're looking to be more creative you'll probably need to either create new containers or modify the existing containers you're using to apply css to them. The container skins use an .ascx file just like the skins do and you can add HTML & CSS to these.

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/16/2010 8:41 AM
 
Rick

I tried to add a black border to the Content Pane. It works, but only for the table, not for the cells.

On the test page http://www.eguina.ch/ModuleTests/tabi... I have the border I want. It's the same source code as on the customer site http://www.eguina.ch/ModuleTests/tabi..., but there I can't see a border. Is this because of the different skins?

Also, I worked with the ascx-file I have in use and tried to add the CSS  you sent me before and I was not able to make it work.
Where do I have to add the CSS in the ascx-file I listed below?
---
<tr class="EMContainerColour2">
<td class="flex-container-tl-dgrad trans-png"><img src="<%= SkinPath %>images/spacer.gif" height="33" width="14" alt="" /></td>
<td class="flex-container-t-dgrad trans-png">
 <div class="flex-container-action"><dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" /></div>
    <div class="flex-container-title"><h1 class="EMContainerTitleFontSize2"><dnn:TITLE runat="server" id="dnnTITLE" CssClass="EMContainerTitleFontColour2 EMContainerTitleFontFamily2 EMContainerTitleFontSize2" /></h1></div>
    <div class="flex-container-visibility"><dnn:VISIBILITY1 runat="server" id="dnnVISIBILITY1" MinIcon="images/minimize-colhead.png" MaxIcon="images/maximize-colhead.png" /></div>
    <div class="flex-container-help"><dnn:ACTIONBUTTON5 runat="server" id="dnnACTIONBUTTON5" CommandName="ModuleHelp.Action" DisplayIcon="True" DisplayLink="False" /></div>
</td>
<td class="flex-container-tr-dgrad trans-png"><img src="<%= SkinPath %>images/spacer.gif" height="33" width="14" alt="" /></td>
</tr>
---

Thank you again for your patience,
Freddie
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Frame around a tableFrame around a table


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