CSS Style Sheets

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hello.
How can I specify CSS Style for the controls (CSS is in external CSS file)?
 
But what if SCC class is in separate file?<<
1. Be sure that css file is linked to the aspx page (you know, the standard
way css files are linked in the <head> of any web ...)

2. Set the CssClass property = "YourCssClassName"
where YourCssClassName is the valid name of a css class defined in the
linked css file

HTH

GH
 
Use the HTML code to link in the css file.

<link rel="stylesheet" type="text/css" href="yourstyles.css">
 
But when do u use
<your control>.CssClass = "<yourstylenam>";
Where?
thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top