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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsVertical Alignment of labelsVertical Alignment of labels
Previous
 
Next
New Post
5/11/2007 7:37 AM
 

Hi

Does anybody know of a solution to DNNP-5640?

I've tried putting vertical-align:top; in various locations of the theme style sheet but to no avail. Is this hard coded?... thanks



Alex Shirley


 
New Post
5/11/2007 12:29 PM
 

That's odd - I looked at the EventDetails view on 4 sites I maintain with all sites running Events v 03.03.07, each  with different skins and running a variety of DNN v 4.4.1 to 4.5.1. None of them showed vertical mis-alignment. The EventDetail.ascx control already has valign="top" on all table cells.  Could it be that because "nowrap" is also specified for the caption table cells that if the width of the caption is just a bit too much, an extra line is being generated in the caption, thus creating the appearance that the data is shifted upward when the tops are still alligned.  A test of this would be to actually REMOVE the valign="top" on the table cells of each row and see if the alignment is corrected.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
5/16/2007 11:48 AM
 

Can't seem to reproduce... valign="top" does seem to be in the code...

 

Cheers...



Alex Shirley


 
New Post
5/16/2007 1:28 PM
 

The Sustainable Building site sure does show the mis-alignment. The view source shows vAlign="top" in both the table rows and table cells.  I still think that REMOVING any vertical alignment attributes will clear up the problem.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
5/17/2007 7:36 AM
 

I tried removing the css template for vertical alignment. Didn't work.

After a couple of hours work I realised the issue is with EventDetails.ascx code.

This is code for the date/time fields for instance, this code here:

<TR vAlign="top">
   <TD class="SubHead" vAlign="top" noWrap>
<P align="right"><asp:label id="lblStartDateTime" runat="server" CssClass="SubHead" resourcekey="plStartDateTime">Start Date/Time:</asp:label></P>
   </TD>
   <TD vAlign="top" noWrap><asp:label id="lblStartDate" runat="server" CssClass="Normal" Width="300px"></asp:label></TD>
</TR>

Need to replaced with

<TR vAlign="top">
   <TD class="SubHead" align="right" noWrap>
      <asp:label id="lblStartDateTime" runat="server" CssClass="SubHead" resourcekey="plStartDateTime">Start Date/Time:</asp:label>
   </TD>
   <TD noWrap><asp:label id="lblStartDate" runat="server" CssClass="Normal" Width="300px"></asp:label>
   </TD>
</TR>

... and I think all is well, see:

http://www.sustainable-build.com/Events/tabid/149/ModuleID/503/ItemID/33/mctl/EventDetails/Default.aspx?selecteddate=16/05/2007

This main issue was getting rid of the <P> tags in the code.

What do you think (before I update the gemini issue?)

Cheers...!


Alex



Alex Shirley


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsVertical Alignment of labelsVertical Alignment of labels


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