Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and ASP?

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Hey guys,

Just starting to use cascading style sheets, and was just wondering if they work with the ASP set of controls (as opposed to the html versions).

i.e. I know that <input type=text> will be affected, but what about <asp:textbox> ?
(ps I'm using asp.net, but figured that old school ASP would probably face the same issues)

THanks,

Jack
 
CSS is for markup changes, so does not really apply to ASP - since you never see it?

what does <asp:textbox> mean?

<bb>
 
In ASP.NET (using Visual Studio) you have your web form (which is like the old school way) and you have a .vb or .cs file that acts as the &quot;code behind&quot; for that form. Once you put all your controls on the form, if you switch to html view, you'll see that there are tags created that show which asp controls have been added to the page. The way their shown is <asp:textbox> or <asp:button>, etc.

I was wondering if, since css applies to html controls, if it would apply to asp controls as well. The documentation from microsoft says it will, but in our tests with the candidate version, we havn't been able to get it to work.

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top