detect the background color of a webpage or stylesheet

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
 
P

Peter Rilling

On the server? No. You would have to parse the stylesheet and discover
that yourself.
 
S

Sam

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

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top