Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to improve my ASP.NET skills and I keep tripping up on CSS. Basically some CSS commands only work with some ASP.NET controls (or HTML tags). For example, I tried to add a style for absolute positioning to a Label control ... this was rendered as a span tag with absolute positioning around the label's text ... which didn't work. So what I am looking for is a list of ASP.NET controls and/or HTML tags with what CSS commands work with them. I've been googling without much luck, is there such a thing?
Posted

1 solution

You won't find any such list because CSS works with any valid html element. How it works with the element depends on a lot of factors, such as, what the element is, where it is placed, attributes of the parent element.

Pick up a book on CSS or look here http://www.w3schools.com/css/default.as[^]
 
Share this answer
 
Comments
raju melveetilpurayil 7-Sep-10 19:42pm    
Reason for my vote of 5
This is the best url for learn css

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900