Thomas: Buttonformatierung

Beitrag lesen

Hallo zusammen,

habe ein kleines Problem. Habe über ein Button ein *.dot Datei geöffnet und es funktioniert. Will aber den Button formatieren. Am liebsten wäre er mir transparent. Gibt es dafür Befehle? Desweiteren bekomme ich die Schrift nicht linksbündig :-( Hier mal der Quelltext:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Herzlich Willkommen auf dem Intranetportal der Firma RT;user</title>
<style type="text/css">
<!--
 a:link { color:#0066FF; text-decoration:none; font-weight:bold; }
 a:visited { color:#0066FF; text-decoration:none; font-weight:bold; }
 a:hover { color:#0066FF; text-decoration:none; background-color:#FFFF99; font-weight:bold; }
 a:active { color:#0066FF; background-color:#FFFF99; font-weight:bold; }

-->
</style>

<style>
BODY {     scrollbar-3d-light-color:#999999;
           scrollbar-arrow-color:#0066FF;
           scrollbar-base-color:black;
           scrollbar-dark-shadow-color:#333333;
           scrollbar-face-color:#666666;
           scrollbar-highlight-color:#999999;
           scrollbar-shadow-color:black}
</style>

<base target="_blank">

</head>
<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>

<script language="JavaScript1.2">
<!--

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

//-->
</script>

<body background="images/background.jpg">
<form>
<div align="left">
  <table border="0" height="111">
    <tr>
      <td valign="top" align="left" width="270" height="20">
<button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\RT_Zugriff.dot'" STYLE="width: 280; border-color: #FFFFFF; color: #FFFFFF; background: #FFFFFF;">
 <p><b><img border="0" src="images/link.gif" width="20" height="20">
 <font face="Tahoma" color="#0066FF" size="3">
<sup>Antrag DV-Zugriffsberechtigung</sup>
</font>
 </b>
       </button>
       </td>
    </tr>
    <tr>
      <td valign="top" align="left" width="270" height="5">
<button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\Internet_Zugriff.dot'" style=WIDTH="280" style="border-color= 0 ; color= #FFFFFF; background= 0;">
<p><b><img border="0" src="images/link.gif" width="20" height="20">
 <font face="Tahoma" color="#0066FF" size="3">
<sup>Antrag Internet-Zugriffsberechtigung</sup></font>
</b>
       </button>
       </td>
    </tr>
    <tr>
      <td valign="top" align="left" height="26">
<button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\Outlook_WEB_Access.dot'" style=WIDTH="250" style="border-color: 0 ; color: 0; background: #FFFFFF;">
<p><b><img border="0" src="images/link.gif" width="20" height="20">
 <font face="Tahoma" color="#0066FF" size="3">
<sup>Antrag Outlook-Web-Access</sup></font>
</b>
       </button>
       </td>
    </tr>
    <tr>
      <td valign="top" align="left" width="270" height="20">
<button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\RT-FAHRT.dot'" style=WIDTH="250" style="border-color: 0 ; color: 0; background: 0;">
<p><b><img border="0" src="images/link.gif" width="20" height="20">
 <font face="Tahoma" color="#0066FF" size="3">
<sup>Anforderung Fahrdienst</sup></font>
</b>
       </button>
       </td>
    </tr>
    <tr>
      <td valign="top" align="left" width="270" height="20">
<button type="button" onClick="load_word '1','R:\OFFICE\VORLAGEN\RT-VV.DOT'" style=WIDTH="250" style="border-color: 0 ; color: 0; background: 0;">
<p><b><img border="0" src="images/link.gif" width="20" height="20">
 <font face="Tahoma" color="#0066FF" size="3"><sup>Verbesserungsvorschlag</sup></font>
</b>
       </button>
       </td>
    </tr>
  </table>
</div>
</form>
</body>

</html>