i'm really confused how to use the built-in methods, etc that are standard when adding a new .css to an asp.net app.
does anyone have any example .css files they could copy and paste please?ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser.Originally posted by ray326
ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser. Amen! You preach it, brothah! Originally posted by ray326
ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser.
i understand that much, however, if you've worked with asp.net, you'll understand that you can add .css files to your solution. it's working with those files that i'm confused about.
when you create such a file, you get a <Sheet.css> page generated for you that only contains:
body
{
}
i'm hoping some asp.net person out there has an example of 1 of these files used in their app.
thanks!Those files are just plain css files, like the ones that you can make with your favourite text editor.
As far as I know, Visual Studio .Net just brings you an integrated CSS editor, nothing more nothing less.
Just a bit more info: Almost every WebControl has a property called CssClass, which is finally rendered as the class property of the native html control.As Tim says, those are just CSS files and you use them accordingly. There's nothing special about the fact they're being used in conjunction with ASPX. Check the links in my sig if you need to learn CSS.
does anyone have any example .css files they could copy and paste please?ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser.Originally posted by ray326
ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser. Amen! You preach it, brothah! Originally posted by ray326
ASPX is a server side technology. It has nothing to do with CSS, which happens entirely on the browser.
i understand that much, however, if you've worked with asp.net, you'll understand that you can add .css files to your solution. it's working with those files that i'm confused about.
when you create such a file, you get a <Sheet.css> page generated for you that only contains:
body
{
}
i'm hoping some asp.net person out there has an example of 1 of these files used in their app.
thanks!Those files are just plain css files, like the ones that you can make with your favourite text editor.
As far as I know, Visual Studio .Net just brings you an integrated CSS editor, nothing more nothing less.
Just a bit more info: Almost every WebControl has a property called CssClass, which is finally rendered as the class property of the native html control.As Tim says, those are just CSS files and you use them accordingly. There's nothing special about the fact they're being used in conjunction with ASPX. Check the links in my sig if you need to learn CSS.