HTML-Code: <button type = "button" onclick = "insert('[link]', '[/link]');"> <img src = "images/a_background.png" width = "149" height = "29" alt = "Link einfügen" /> </button> Ist valides und funktionierendes XHTML. Du hast dann allerdings den Button im Hintergrund.
<button type = "button" onclick = "insert('[link]', '[/link]');"> <img src = "images/a_background.png" width = "149" height = "29" alt = "Link einfügen" /> </button>
Zitat von drunken monkey HTML-Code: <button type = "button" onclick = "insert('[link]', '[/link]');"> <img src = "images/a_background.png" width = "149" height = "29" alt = "Link einfügen" /> </button> Ist valides und funktionierendes XHTML. Du hast dann allerdings den Button im Hintergrund.... Den Button kann man allerdings über CSS ausblenden, in dem man einfach Rahmen und Hintergrundfarbe rausnimmt.
--
Foren-Regeln