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, ...Container Icon and Title vertical alignment.Container Icon and Title vertical alignment.
Previous
 
Next
New Post
5/24/2011 5:19 PM
 
I'm using Firebug to monitor the CSS settings for a container's icon and title text.

Here is the vertical alignment between the two that I get by default, where I represents space taken up by the icon and T represents space taken up by the title text.

IIIIIIIITTTTTTTTTTTTTT
IIIIIIII
IIIIIIII

This is what I want to see:

IIIIIIII
IIIIIIII
IIIIIIIITTTTTTTTTTTTTT

Caching is off for the container and I don't see css stylesheet changes for the items identified by Firebug.  I'm changing the css file locally and uploading it.  I believe I'm doing that process right as other changes show up.

The relevent objects (in their hierarchy) are:

<div class="head_title">
  <div class="c_icon">
    <img />
    <h2 class="c_title">
      <span class="TitleHead">title text here</span>
   </h2>
 </div>
</div>
      
Not every container heading will have an icon in front of it, so ideally the container style will work with or without an icon.  (If no icon is present, it should have zero effect on the layout.)

Any ideas?
 
New Post
5/24/2011 7:32 PM
 
Ok, I've figured out the problem,

re: The part where the css files weren't being recognized.

Apparently, the css files don't get reloaded when I reload the page. So they continue to parse against the old copies.

Closing firefox and starting it up again works, but that's a pain.
Placing the cursor in the URL box, pressing control and enter works, too.

I tried vertical-alignment:text-bottom at the c_icon (and below) level, but nothing changes.
Now I'm changing the top margin on the .c_head_red h2.c_title to make it match in the container's css file. All the Icons will have the same height, so that works.

I'll have to have two containers, one for icons and one without, because the extra margin will get used either way. Or maybe not, if it looks ok...

I'm still clueless why the vertical-alignment:text-bottom option didn't work. Seems like that would be a perfect fit.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container Icon and Title vertical alignment.Container Icon and Title vertical alignment.


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