In comp.infosystems.
www.authoring.stylesheets Laphan <in**@spammenot.co.uk> wrote:
| I allow the user of my web site/application to change the style of the web
| site via an external stylesheet.
|
| The extended work in making every button a graphic was becoming too much,
| they create skins so for each skin they were having to create 20 or so
| buttons, so I changed the buttons to standard HTML Inputs, which obviously
| allowed them to change the border and bg colours of these buttons en masse,
| but now a number of my users would like the option to use graphic or html
| buttons.
|
| To keep a tight rein on this I was looking to use HTML input buttons still,
| but they could specify a SRC for the Input in the stylesheet if they wanted
| a graphical button.
|
| It would just make a perfect solution, but it looks like it can't happen.
Would be nice if CSS had a generic way to override any attribute on a
selected element in HTML.
Maybe something like:
img#menu_top_left {
attribute["src"]: url(whatever);
}
But in reality, you'll probably have to dynamically output one of two
different classes of page for the variations on how to decorate them.
--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN |
http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net |
http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------