Style Sheet With Black Background

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Penna Elabi

    Style Sheet With Black Background

    How do I create a style sheet with black background and white text?
  • PeterMcC

    #2
    Re: Style Sheet With Black Background

    Penna Elabi <terebinthus@go .com> wrote in
    <77081966.04011 60253.2d539736@ posting.google. com>
    [color=blue]
    > How do I create a style sheet with black background and white text?[/color]

    To create a web page with black background and white text, if you want to
    have a site that looks like a pornographer's:

    body{
    background-color: black;
    color: white;
    }


    --
    PeterMcC
    If you feel that any of the above is incorrect,
    inappropriate or offensive in any way,
    please ignore it and accept my apologies.

    Comment

    • Philipp Lenssen

      #3
      Re: Style Sheet With Black Background

      PeterMcC wrote:
      [color=blue]
      > Penna Elabi <terebinthus@go .com> wrote in
      > <77081966.04011 60253.2d539736@ posting.google. com>
      >[color=green]
      > > How do I create a style sheet with black background and white text?[/color]
      >
      > To create a web page with black background and white text, if you
      > want to have a site that looks like a pornographer's:
      >
      > body{
      > background-color: black;
      > color: white;
      > }[/color]

      It's wise to also set the link colors now. Or you might clash with the
      user stylesheet and render text invisible.

      Other ways to say "black" are #000 which also comes in quite handy for
      shades of gray etc. (#333, #555) or white #fff. Well that's how I
      mostly do it.

      Comment

      • Andrew Thompson

        #4
        Re: Style Sheet With Black Background

        "Penna Elabi" <terebinthus@go .com> wrote in message
        news:77081966.0 401160253.2d539 736@posting.goo gle.com...
        | How do I create a style sheet

        (for a web-page)

        | ..with black background and white text?

        body
        {
        background-color: #000;
        color: #fff;
        }

        .....or...

        body
        {
        background-color: black;
        color: white;
        }

        HTH

        --
        Andrew Thompson
        * http://www.PhySci.org/ PhySci software suite
        * http://www.1point1C.org/ 1.1C - Superluminal!
        * http://www.AThompson.info/andrew/ personal site


        Comment

        • Andrew Thompson

          #5
          Re: Style Sheet With Black Background

          "PeterMcC" <peter@mccourt. org.uk> wrote in message
          news:iAPNb.1560 9$tQ6.581033@wa rds.force9.net. ..
          | Penna Elabi <terebinthus@go .com> wrote in
          | <77081966.04011 60253.2d539736@ posting.google. com>
          .....
          | To create a web page with black background and white text, if
          you want to
          | have a site that looks like a pornographer's:

          http://www.1point1c.org/ I dunno...
          I'd expect to see more 'pink', 'tan' and 'ebony' ;-)


          Comment

          • PeterMcC

            #6
            Re: Style Sheet With Black Background

            Philipp Lenssen <info@outer-court.com> wrote in
            <bu8iic$em437$1 @ID-203055.news.uni-berlin.de>
            [color=blue]
            > PeterMcC wrote:
            >[color=green]
            >> Penna Elabi <terebinthus@go .com> wrote in
            >> <77081966.04011 60253.2d539736@ posting.google. com>
            >>[color=darkred]
            >>> How do I create a style sheet with black background and white text?[/color]
            >>
            >> To create a web page with black background and white text, if you
            >> want to have a site that looks like a pornographer's:
            >>
            >> body{
            >> background-color: black;
            >> color: white;
            >> }[/color]
            >
            > It's wise to also set the link colors now. Or you might clash with the
            > user stylesheet and render text invisible.[/color]

            If we're talking about what's wise, the OP should forget white reversed out
            of black altogether.

            --
            PeterMcC
            If you feel that any of the above is incorrect,
            inappropriate or offensive in any way,
            please ignore it and accept my apologies.

            Comment

            • PeterMcC

              #7
              Re: Style Sheet With Black Background

              Andrew Thompson <andrew64@bigNO SPAMpond.com> wrote in
              <mKQNb.14702$Wa .1460@news-server.bigpond. net.au>
              [color=blue]
              > "PeterMcC" <peter@mccourt. org.uk> wrote in message
              > news:iAPNb.1560 9$tQ6.581033@wa rds.force9.net. ..[color=green]
              >> Penna Elabi <terebinthus@go .com> wrote in
              >> <77081966.04011 60253.2d539736@ posting.google. com>[/color]
              > ....[color=green]
              >> To create a web page with black background and white text, if you
              >> want to have a site that looks like a pornographer's:[/color]
              >
              > http://www.1point1c.org/ I dunno...
              > I'd expect to see more 'pink', 'tan' and 'ebony' ;-)[/color]

              Filth - "... right now you can enjoy 3D models of the stars." I didn't look,
              of course, but I assume they're selling inflatable toys designed to look
              like film personalities.

              Disgusting.

              :)

              --
              PeterMcC
              If you feel that any of the above is incorrect,
              inappropriate or offensive in any way,
              please ignore it and accept my apologies.

              Comment

              • Philipp Lenssen

                #8
                Re: Style Sheet With Black Background

                PeterMcC wrote:
                [color=blue]
                >
                > If we're talking about what's wise, the OP should forget white
                > reversed out of black altogether.[/color]

                Not that I'd use that color scheme. But why? If it's a hacking site or
                something similar I believe it gets the point across fast, and the
                contrast's also there.

                Comment

                • Andrew Thompson

                  #9
                  Re: Style Sheet With Black Background

                  "PeterMcC" <peter@mccourt. org.uk> wrote in message
                  news:yXQNb.1562 4$tQ6.582383@wa rds.force9.net. ..
                  | Andrew Thompson <andrew64@bigNO SPAMpond.com> wrote in
                  | <mKQNb.14702$Wa .1460@news-server.bigpond. net.au>
                  ....
                  | >> To create a web page with black background and white text,
                  if you
                  | >> want to have a site that looks like a pornographer's:
                  | >
                  | > http://www.1point1c.org/ I dunno...
                  | > I'd expect to see more 'pink', 'tan' and 'ebony' ;-)
                  |
                  | Filth - "... right now you can enjoy 3D models of the stars." I
                  didn't look,
                  | of course, but I assume they're selling inflatable toys
                  designed to look
                  | like film personalities.

                  ROTFL - great comeback!


                  Comment

                  • Michael Rozdoba

                    #10
                    Re: Style Sheet With Black Background

                    Andrew Thompson wrote:
                    [color=blue]
                    > "PeterMcC" <peter@mccourt. org.uk> wrote in message
                    > news:iAPNb.1560 9$tQ6.581033@wa rds.force9.net. ..
                    > | Penna Elabi <terebinthus@go .com> wrote in
                    > | <77081966.04011 60253.2d539736@ posting.google. com>
                    > ....
                    > | To create a web page with black background and white text, if
                    > you want to
                    > | have a site that looks like a pornographer's:
                    >
                    > http://www.1point1c.org/ I dunno...
                    > I'd expect to see more 'pink', 'tan' and 'ebony' ;-)[/color]

                    How naive. Porn site'a don't actually have real flesh on them - well,
                    not much. Mostly just banner ads linked in a more convoluted way than a
                    maze in the original Adventure, with uncountable links into assorted
                    ploys to lure your credit card details out of you.

                    --
                    Michael
                    m r o z a t u k g a t e w a y d o t n e t

                    Comment

                    • Neal

                      #11
                      Re: Style Sheet With Black Background

                      On Fri, 16 Jan 2004 12:28:51 -0000, PeterMcC <peter@mccourt. org.uk> wrote:
                      [color=blue]
                      > If we're talking about what's wise, the OP should forget white reversed
                      > out
                      > of black altogether.
                      >[/color]

                      Reasons?

                      I agree it was unwise to do white-on-black before the advent of user-side
                      CSS - solely on an accessibility issue - but CSS2 allows the user to
                      override even !important author style suggestions.

                      Comment

                      • Penna Elabi

                        #12
                        Re: Style Sheet With Black Background

                        "Philipp Lenssen" <info@outer-court.com> wrote in message news:<bu8n6s$em mj9$1@ID-203055.news.uni-berlin.de>...[color=blue]
                        > PeterMcC wrote:
                        >[color=green]
                        > > If we're talking about what's wise, the OP should forget white
                        > > reversed out of black altogether.[/color]
                        >
                        > Not that I'd use that color scheme. But why? If it's a hacking site or
                        > something similar I believe it gets the point across fast, and the
                        > contrast's also there.[/color]

                        Someone asked in google.public.s upport.general how to make the
                        background color in google.com darker and I thought one option would
                        be to create a style sheet and use it in Internet Explorer -> Tools ->
                        Internet Options -> Accessibility -> Format documents using my style
                        sheet, but that doesn't seem to work.


                        Comment

                        • Evertjan.

                          #13
                          Re: darker Google background favelet

                          Penna Elabi wrote on 17 jan 2004 in
                          comp.infosystem s.www.authoring.stylesheets:
                          [color=blue]
                          > Someone asked in google.public.s upport.general how to make the
                          > background color in google.com darker and I thought one option would
                          > be to create a style sheet and use it in Internet Explorer -> Tools ->
                          > Internet Options -> Accessibility -> Format documents using my style
                          > sheet, but that doesn't seem to work.
                          >[/color]

                          Try this favelet:

                          <http://devrijehuisarts .org/test/GGbgDarker.asp>

                          --
                          Evertjan.
                          The Netherlands.
                          (Please change the x'es to dots in my emailaddress)

                          Comment

                          Working...