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. |
|
|
|
|
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.