liptonIcedTea
Well-known member
- Joined
- Jan 18, 2007
- Messages
- 89
- Programming Experience
- 1-3
Hi,
I have a DIV in a page which appearance is half done by CSS (height, width etc.) and half specified by ASP.NET code (background etc.)
The problem is I have done this
<div id="divID" runat=server>
the runat=server changes the clientID of the component so that it no longer recognised by the CSS file.
Is there a way you can specify runat=server to not change the ID and to just use the ID specified for the div in the markup (id="divID")?
I have a DIV in a page which appearance is half done by CSS (height, width etc.) and half specified by ASP.NET code (background etc.)
The problem is I have done this
<div id="divID" runat=server>
the runat=server changes the clientID of the component so that it no longer recognised by the CSS file.
Is there a way you can specify runat=server to not change the ID and to just use the ID specified for the div in the markup (id="divID")?