Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 10:21 PM
Penna Elabi
Guest
 
Posts: n/a
Default Style Sheet With Black Background

How do I create a style sheet with black background and white text?
  #2  
Old July 20th, 2005, 10:21 PM
PeterMcC
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

Penna Elabi <terebinthus@go.com> wrote in
<77081966.0401160253.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.

  #3  
Old July 20th, 2005, 10:21 PM
Philipp Lenssen
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

PeterMcC wrote:
[color=blue]
> Penna Elabi <terebinthus@go.com> wrote in
> <77081966.0401160253.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.
  #4  
Old July 20th, 2005, 10:21 PM
Andrew Thompson
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

"Penna Elabi" <terebinthus@go.com> wrote in message
news:77081966.0401160253.2d539736@posting.google.c om...
| 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


  #5  
Old July 20th, 2005, 10:21 PM
Andrew Thompson
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

"PeterMcC" <peter@mccourt.org.uk> wrote in message
news:iAPNb.15609$tQ6.581033@wards.force9.net...
| Penna Elabi <terebinthus@go.com> wrote in
| <77081966.0401160253.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' ;-)


  #6  
Old July 20th, 2005, 10:21 PM
PeterMcC
Guest
 
Posts: n/a
Default 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.0401160253.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.

  #7  
Old July 20th, 2005, 10:21 PM
PeterMcC
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

Andrew Thompson <andrew64@bigNOSPAMpond.com> wrote in
<mKQNb.14702$Wa.1460@news-server.bigpond.net.au>
[color=blue]
> "PeterMcC" <peter@mccourt.org.uk> wrote in message
> news:iAPNb.15609$tQ6.581033@wards.force9.net...[color=green]
>> Penna Elabi <terebinthus@go.com> wrote in
>> <77081966.0401160253.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.

  #8  
Old July 20th, 2005, 10:21 PM
Philipp Lenssen
Guest
 
Posts: n/a
Default 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.
  #9  
Old July 20th, 2005, 10:21 PM
Andrew Thompson
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

"PeterMcC" <peter@mccourt.org.uk> wrote in message
news:yXQNb.15624$tQ6.582383@wards.force9.net...
| Andrew Thompson <andrew64@bigNOSPAMpond.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!


  #10  
Old July 20th, 2005, 10:21 PM
Michael Rozdoba
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

Andrew Thompson wrote:
[color=blue]
> "PeterMcC" <peter@mccourt.org.uk> wrote in message
> news:iAPNb.15609$tQ6.581033@wards.force9.net...
> | Penna Elabi <terebinthus@go.com> wrote in
> | <77081966.0401160253.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
  #11  
Old July 20th, 2005, 10:21 PM
Neal
Guest
 
Posts: n/a
Default 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.
  #12  
Old July 20th, 2005, 10:21 PM
Penna Elabi
Guest
 
Posts: n/a
Default Re: Style Sheet With Black Background

"Philipp Lenssen" <info@outer-court.com> wrote in message news:<bu8n6s$emmj9$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.support.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.

http://groups.google.com/groups?hl=e...ing.google.com
  #13  
Old July 20th, 2005, 10:22 PM
Evertjan.
Guest
 
Posts: n/a
Default Re: darker Google background favelet

Penna Elabi wrote on 17 jan 2004 in
comp.infosystems.www.authoring.stylesheets:
[color=blue]
> Someone asked in google.public.support.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)
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles