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
 
Back
Top