S
Steve Richter
Looking for some basic guidance on how or whether I should use class=
and <style> and whatever you call CSS to control the appearance of my
menu server control.
It is great that I can render a sequence of <a> elements to the page,
using the class= attribute to control the appearance, with the result
being a decent looking menu bar.
But how do I inject the CSS classes into the style block of the page?
And once those classes are placed in the page, how does the server
control avoid name clashes with other server controls doing the same
thing?
What is the alternative? Do I have to duplicate the style behavior in
each <a> element of my menu control?
thanks,
-Steve
and <style> and whatever you call CSS to control the appearance of my
menu server control.
It is great that I can render a sequence of <a> elements to the page,
using the class= attribute to control the appearance, with the result
being a decent looking menu bar.
But how do I inject the CSS classes into the style block of the page?
And once those classes are placed in the page, how does the server
control avoid name clashes with other server controls doing the same
thing?
What is the alternative? Do I have to duplicate the style behavior in
each <a> element of my menu control?
thanks,
-Steve