On 9/21/05, Thierry Koblentz <[EMAIL PROTECTED]> wrote: > David Feldman wrote: > > I'm creating a number of forms with styled buttons. I've given up on > > both <input> and <button> elements because of the variable-width > > padding IE adds to them (as well as the 1px border IE puts around > > their background images) and am using <a> tags instead, styled with > > CSS and with href="javascript:..." attributes. > > What if JS is disabled? > I'd use JS to write two CSS rules: one for the button you want to hide and > one for the one you want to show. Doing so if there is no script support, > atleast there is a valid submit button. > To hide the button, did you try z-index:-1?
Even better: replace the button with a link when and if JavaScript and DOM is available. How is that a CSS issue? -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/