|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CSS In .NETHow to add css in asp.net 2.0 aplication. On label control I have some
property named CssClass, but if I add some class name, it doesn't work. How to add css class for label control? Thanx Hi,
Zile wrote: > How to add css in asp.net 2.0 aplication. On label control I have some Where is the CSS class defined? Setting the CssClass attribute only > property named CssClass, but if I add some class name, it doesn't work. How > to add css class for label control? > > Thanx copies the value to the HTML file. You must include the CSS file yourself in the ASPX page's header (or add the <style> section). HTH, Laurent -- Laurent Bugnion, GalaSoft Software engineering: http://www.galasoft-LB.ch Private/Malaysia: http://mypage.bluewin.ch/lbugnion Support children in Calcutta: http://www.calcutta-espoir.ch You have to also reference the CSS file. T do in a single page, drag the css
file onto the page and it will create the link. For the master page, change the href in the created link to include a tilde (~) for root: <link href="~/css/common.css" rel="stylesheet" type="text/css" /> -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ************************************************* Think outside the box! ************************************************* "Zile" <bozid***@yahoo.com> wrote in message news:ek15p8$us2$1@sunce.iskon.hr... > How to add css in asp.net 2.0 aplication. On label control I have some > property named CssClass, but if I add some class name, it doesn't work. > How to add css class for label control? > > Thanx >
SQL UPDATE query help please
How to get a form's property value from a class? How to identiy numerics in a string? Help needed in using FSO's, TextStreams, etc. --- Code Review and Advice requested Russian text output another vb .net xml question "Four" to 4 PDF Creation components How to uniquely identify a process? adding listbox selected items |
|||||||||||||||||||||||