Janet wrote:
Adrienne,
Thanks for your reply, but I must explain. The code is being written by an
asp page within the auspices of Windows Media Rights Manager, and it
displays in the popup html page supplied by Windows Media Player. It has no
choice but to write through "Response.Write," and as far as I know it can't
use a style sheet. So assuming I'm forced to use the simple html syntax
shown below, do you know why the hyperlink doesn't show in its designated
color when the page first generates? Other simple html code I've written
doesn't have this problem. If there's no other way, maybe I can coerce it
to use a style sheet, but it's one-off page for a specialized purpose.
I should have explained that earlier. Thanks again for any ideas you may
have.
Janet
Well since it I can assume that your are 'Response.Write'ing the whole
page since your are opening and closing it here....
Response.Write("<html><body bgcolor=""#000000"" link=""#FFFFFF""
vlink=""#FFFFFF"">")
Response.Write("</body></html>")
then when you 'Response.Write' the start of the page add code to line to
a style sheet and just wire simple code that will not break in the
future when tags like FONT are no longer supported!
Response.Write("<html><head><link rel=""stylesheet"" type=""text/css""
href=""stylesheetforASPpopups.css""></head><body>")
Response.Write("<p>Click the link below:</p>")
Response.Write("<p class="mylinks">Click the link
below:</p>Response.Write("<p><a href=""../linkpage.htm""
target=""_blank"">Click this link</a></p>")
Response.Write("<p>Click the link below:</p>")
Then create stylesheet 'stylesheetforASPpopups.css'
BODY {
font-family: Arial, Helvetica, sans-serif;
background-color: #000000;
color: #B7CACA;
}
A {
background-color: #000000;
color: #FFFFFF;
}
..mylinks {
text-align: center;
}
Then if you don't link your BLACK popups with grayish text and white
links your can just change your stylesheet and you do not have to edit
any of your ASP code....
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com