Ich bin es nochmal. Habe den Quelltext aufgeräumt. Bekomm aber die Buttons nicht mehr hin. Sieht jetzt so aus:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
</head>
<body>
<script Language=VBScript>
<!--
function load_word(mode, pfad)
'mode 0 = normal open
'mode 1 = open as dot
Set appWord = CreateObject("Word.Application")
' Display the application.
appWord.WindowState = 0
appWord.Height = 600
appWord.Width = 800
appWord.Left = 0
appWord.Top = 0
appWord.Visible = TRUE
' Open the document.
' mode 1 = dot file 0 = docfile
if mode = 1 then
appWord.Documents.Add (pfad)
end if
if mode = 0 then appWord.Documents.Open (pfad) end if
' Close the object variable.
Set appWord = Nothing
end function
-->
</script>
<form>
<div align="left">
<table border="0" height="29" width="215">
<tr>
<td valign="top" align="left" width="207" height="18"> <button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\RT_Zugriff.dot'">
<p><b><img border="0" src="images/link.gif" width="20" height="20">
<sup>
Antrag DV-Zugriffsberechtigung
</font>
</sup></b></button></td>
</tr>
</table>
</div>
</form>
</body>
</html>
kann man noch mehr aufräumen? ich hasse langsam CSS. Kannst du mir nochmal helfen? danke im voraus.
CU Thomas
Hi,
Will aber den Button formatieren.
generell lassen sich html-buttons ... nur über
CSS-Befehle formatieren und genauso hast Du es
ja auch gemacht.
Yep.
Allerdings funktioniert dass nur im IE so richtig,
der Netscape gibt bei den meisten Formular-Elementen
den Geist auf !
Naja, Netscape 4 interpretiert CSS halt nicht in allen Tags. Formular-Input-Elemente gehören zu den ignorierten.
Aber schließe mal den Button in
<span class="dein_klassenname">
<input ...>
</span>
ein ... so herum funktioniert es wenigstens teilweise.
(Schriftgröße geht - Farbe geht nicht.)
Viele Grüße
Michael