CSS not being applied to base page element when referenced by id

Posted by mwright on Stack Overflow See other posts from Stack Overflow or by mwright
Published on 2010-03-18T18:05:41Z Indexed on 2010/03/18 18:11 UTC
Read the original article Hit count: 317

Filed under:
|

I have a Master Page which has an associated css file. On one of the base pages I have a div to which I am trying to apply a style from this css file by id. However, the page when rendered has a different id for this element.

How can I specify the correct id name in the css file?

Is there a way to specify that I want the id of this element like there is in javascript using the <%= Element.ClientID %>?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about css