Gazing into my crystal ball I observed =?Utf-8?B?SmFtZXM=?=
<> writing in
news:C2A4D825-8007-465A-A3B4-:
> I have the following script & I need to get the username (with no
> domain info) & feed the username into c:\documents and settings
> \username\my documents". So, for instance, if the username is JSmith,
> then I'll have
> c:\documents and settings\JSmith\my documents below. Thanks
>
I'm sorry, but I have to say something here about your markup. Yes,
this is a client side issue, but you should know that writing to
standards will help you in the long run. Using semantic markup, without
presentation is a lot simpler and easier to debug down the line.
At very bottom of this post there is an answer to your original
question. Read on.
>================================================= ======================
=
>========== <HTML>
>
><HEAD>
> <TITLE>This is only a test</TITLE>
></HEAD>
><BODY topmargin="0" leftmargin="0">
The topmargin and bottom margin attributes of the TABLE element are
deprecated. Use CSS.
><div align="center">
The align attribute for the DIV element is deprecated. Use CSS.
><img border="0" src="picture.gif">
The alt attribute of the IMG element is required.
>
<snip>
>
>
><TABLE align="center">
> <tr align="center" valign="middle">
> <td width="100%" valign="top"><br>
> <p align="center"><font face="Verdana, Arial, Helvetica, sans-
> serif" size="1">This is only a test.<br>
> </font><span class="bodytextblk"><br>
> </p>
> </td>
> </tr>
></TABLE>
This bit is ridiculous! and so 90's! This is an abuse of tables.
Tables are for marking up tabular data. A plain paragraph would be more
suited, and if you wanted to make it center aligned, you could do this:
<style type="text/css">
body {margin:0; font-family: verdana, arial, helvetica, sans-serif;
font-size:70% /*way to small*/; text-align:center;}
</style>
</head>
<body>
<p>What you want to say.</p>
</body>
Isn't that a lot easier? As promised:
[
http://www.4guysfromrolla.com/webtech/092298-3.shtml]
Also see:
[
http://cavalcade-of-coding.info/fonttext.php] for why verdana is not a
good font for the www.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share