detect the background color of a webpage or stylesheet

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi all

I have a web page that allows user to referenced a stylesheet on my local
network. Is there a way to detect the background color of this webpage? If I
know the stylesheet that was used to set the background of my webpage, is
there an easy way to know the property set for the
"BACKGROUND-COLOR" of the body block



Regards,

Sam
 
On the server? No. You would have to parse the stylesheet and discover
that yourself.
 
I was thinking of that too but thought there might be an easy way out.
Anyway, thanks for the suggestion Peter

Regards,
Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top