problem with css
-
Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks
-
Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks
Are you sure that the stylesheet is linked to the page correctly?
-
Are you sure that the stylesheet is linked to the page correctly?
-
Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks
hi a-+s-+p-+, Since you are applying CSS to Server side Control then either you are not specifying CSS class to style tag inside head as follows.
<head> <style type="text/css"> .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } </style> </head>
OR you are made separate CSS within the project but not linked CSS to page correctly as follows.<link href="styles.css" rel="stylesheet" />
Hope this will solve your problem. Thanks & Regards DilipvDilip Kumar Vishwakarma Programmer .Net Consulting