• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Chris Dittmeier
#1 Posted : Sunday, December 9, 2007 2:37:02 PM(UTC)
Chris Dittmeier

Rank: Member

Joined: 1/3/2004(UTC)
Posts: 1,497

Found an interesting thing while trying to style the termsInfo on the Terms and Conditions Page. The ID in the code is termsInfo for the div, but the HTML gets the id named as ct100_MainContentHolder_termsInfo, which makes it difficult to adjust the CSS styling. After some searching on the net for this issue, the only suggested course of action was to have a class associated with this div and not just the id.


This would be an issue for all items for CSS formatting that don't have a CSS class and just have an ID and are within the Master Page Content block. Also explains why none of the themes attempted to style these items.
Chris
Sirius Programming

www.siriusprogramming.com
Marcus
#2 Posted : Monday, December 10, 2007 8:35:53 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Welcome to ASP.NET. It's common complaint. Microsoft has some new MVC stuff coming out next year that will give developers exact control of all html that is rendered. For now the best way to handle this is either to add a "class" or to create a div inside the terms info area with your own id. Anything with a runat="server" attribute is subject to having its id tag rewritten by asp.net.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012