The best way to do this is by creating a CSS style sheet and attaching it to
a page.
the CSS would look like this:
body{
margin: 0px;
padding:0px;
font-family:Arial, Verdana, Tahoma;
background-color: #000000;
}
and then in your head section of the HTML you would put...
<link href="path2CSSFile/main.css" rel="stylesheet" type="text/css">
or
<style type="text/css">
<!--
@import url("path2CSSFile/main.css");
-->
</style>
Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
[EMAIL PROTECTED]
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of
leapinglizardproductions
Sent: Sunday, July 17, 2005 11:29 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] changing colors in ther preview window
If I wanted to change the background from white to black within this
page do I add black after body to the background color
<%@ Language=VBScript %>
<%Option Explicit%>
<!--#include file="_scripts/server/main.asp"-->
<%
Dim objStore, objRS
Dim vProductID
vProductID = ConvertToNumber(Request("ProdID"))
Set objStore = Server.CreateObject(afStoreStore)
Set objRS = objStore.GetProductImages(vProductID)
%>
<html>
<head>
<title><%=objRS("Name").value%></title>
<%=Settings("PageMeta")%>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0"
height="100%">
<tr>
<td align="center" valign="middle"><img
src="<%=objRS("Image").Value%>"></td>
</tr>
</table>
</body>
</html>
<%
Set objRS = Nothing
AddErrors etApplication, objStore.Errors
Set objStore = Nothing
%>
thanks
naru
Yahoo! Groups Links
*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/