detect the background color of a webpage or stylesheet

Discussion in 'ASP .Net' started by Sam, Mar 21, 2006.

  1. Sam

    Sam Guest

    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
    Sam, Mar 21, 2006
    #1
    1. Advertising

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

    "Sam" <> wrote in message
    news:...
    > 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
    >
    >
    Peter Rilling, Mar 21, 2006
    #2
    1. Advertising

  3. Sam

    Sam Guest

    I was thinking of that too but thought there might be an easy way out.
    Anyway, thanks for the suggestion Peter

    Regards,
    Sam

    "Peter Rilling" <> wrote in message
    news:...
    > On the server? No. You would have to parse the stylesheet and discover
    > that yourself.
    >
    > "Sam" <> wrote in message
    > news:...
    >> 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
    >>
    >>

    >
    >
    Sam, Mar 21, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=

    Stylesheet referanse i stylesheet

    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=, Jul 3, 2004, in forum: XML
    Replies:
    3
    Views:
    562
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  2. fig000
    Replies:
    0
    Views:
    4,531
    fig000
    Sep 6, 2004
  3. Kamaljeet Saini
    Replies:
    0
    Views:
    378
    Kamaljeet Saini
    Feb 13, 2009
  4. Replies:
    1
    Views:
    257
    marss
    Feb 14, 2007
  5. Replies:
    2
    Views:
    195
Loading...

Share This Page