CSS = Cascading Style Sheets
Cascading refers to the fact that you can define global styles and progressively refine them with further definitions.
So you can define stuff for all pages in an external style sheet that gets referenced by every page.
Refine that with further external style sheets on a per page/per section basis
Refine that further with <style></style> tags in the head section of your page
Refine that further with style attributes in the individual HTML elements.
Personally I try to stick to only defining styles in external style sheets, and use class attributes in the HTML elements to do what you're trying to do.
Spike
Steve Onnis wrote:
Just a question regarding styles and classes
Can you assign a style to a style?
example
I have a situation where I need to assign a cursor style to the right hand side of a table, so what I am wanting to do is something like this
style="border-right:2px solid black cursor:n-resize;" thus nesting styles within themselves
is this possible?
Regards Steve Onnis
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
-- Stephen Milligan Consultant for hire http://www.spike.org.uk
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
