how to apply css to my asp.net page [modified]
-
this is my css .top { width:200px; height :100px; margin :0 0 0 0; background-image :url(IMAGES/theme1.bmp); color:Green; } i want to apply my css to this portion..
i trid but no effective answer... modified on Saturday, February 7, 2009 5:48 AM
-
this is my css .top { width:200px; height :100px; margin :0 0 0 0; background-image :url(IMAGES/theme1.bmp); color:Green; } i want to apply my css to this portion..
i trid but no effective answer... modified on Saturday, February 7, 2009 5:48 AM
-
i gave this... and i place this coding in part nothing happens...
-
this is my css .top { width:200px; height :100px; margin :0 0 0 0; background-image :url(IMAGES/theme1.bmp); color:Green; } i want to apply my css to this portion..
i trid but no effective answer... modified on Saturday, February 7, 2009 5:48 AM
A couple things. Make sure you enclose your background images in quotes. Next, you want your CSS to declare images relative to where the CSS is located, not where the web pages exists. So, given these three files- ./page.aspx ./css/king.css ./IMAGES/theme1.bmp ...make sure the background image call looks like this-
background-image: url('../IMAGES/theme1.bmp');
Good luck!
Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb
-
this is my css .top { width:200px; height :100px; margin :0 0 0 0; background-image :url(IMAGES/theme1.bmp); color:Green; } i want to apply my css to this portion..
i trid but no effective answer... modified on Saturday, February 7, 2009 5:48 AM