Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: George W. Bush
Interesting...

I was trying to make the blockquotes stand out a little better by removing the color change. I opted for a border style just on the top and bottom. When I use the border statements (last three), I lose my font-family.

Interesting...

DIV.body BLOCKQUOTE
{
    BACKGROUND-COLOR: steelblue;
    FONT-FAMILY: "courier new";
    FONT-STYLE: normal;
    FONT-SIZE: 9pt;
    margin-right: 0;
    PADDING-BOTTOM: 1%;
    PADDING-TOP: 1%;
    padding-left: 1%;
    padding-right: 1%;
    border-style:groove;
    border-top-width: thin;
    border-bottom-width: thin;
}

41 posted on 10/01/2001 1:34:32 PM PDT by RedWing9
[ Post Reply | Private Reply | To 39 | View Replies ]


To: RedWing9; steveegg
I've changed your 4.77 version to use lightsteelblue background with tahoma 10pt and blockquote background to lightyellow with courier new 9pt.
Sorry. I'd love to take credit but it belongs to steveegg. I'd love to see what you're doing though. I suspect my color and wallpaper choices are a little lame. I'm just demonstrating the principles. I hope some others will come up with better visuals and let me know about them so I can post better ones for everyone.
I was trying to make the blockquotes stand out a little better by removing the color change. I opted for a border style just on the top and bottom. When I use the border statements (last three), I lose my font-family.

DIV.body BLOCKQUOTE
{
    BACKGROUND-COLOR: steelblue;
    FONT-FAMILY: "courier new";
...
A lot of times, it a tag is unknown or in some way broken, it will "eat" the one that follows. So, if NS4.77 choked on steelblue in BACKGROUND-COLOR, it might eat the FONT-FAMILY. As I understand it, the color names are now considered bad style and we're supposed to specify the colors directly.

Try this chart: O'Reilly Color Name Samples. I can see that the steelblue is actually $4682B4 (this is hexadecimal color notation). I can explain it to you if you like but it basically represents each color specified with two digits Red, two digits Green, two digits Blue: RRGGBB. All the colors are made from these combinations. Black is 000000. White is FFFFFF.

So, try this statement instead: BACKGROUND-COLOR: #4682B4;

If that doesn't help, move the FONT-FAMILY above the BACKGROUND-COLOR in the list and see what (if anything) that changes in the output.

And always be careful of those colons and semicolons. They'll mess you up real quick if you don't keep them matched and paired. If you forget a semicolon, it'll usually eat two tags. If you use an illegal value, it will often eat the one or two tags. For a full chart on which browsers support which features and whether a particular feature on a particular browser has any bugs, I like this chart: The CSS Master List. This chard shows at the very bottom, for instance, that Netscape 4 has Bugs in using color keywords like steelblue.

I'd better shut up before you learn all my tricks.
42 posted on 10/01/2001 2:34:22 PM PDT by George W. Bush
[ Post Reply | Private Reply | To 41 | View Replies ]

To: RedWing9
When I use the border statements (last three), I lose my font-family.
Netscape 4.7x doesn't accept borders (in fact, it really fouls things up if you pair, say, an outset and inset). One thing to add to GWB's response; it looks like there's no space between the colon and the groove in your posting of the DIV.body BLOCKQUOTE.
43 posted on 10/01/2001 4:41:05 PM PDT by steveegg
[ Post Reply | Private Reply | To 41 | View Replies ]

To: RedWing9; George W. Bush
Got things working. Steelblue is a valid color in Netscape 4.77 (at least my version). Still want to verify certain problems with the style sheet (some threads haven't been fully-loading with the background version) before I go and send out the NS 4.77 version of the colors .
44 posted on 10/01/2001 5:06:33 PM PDT by steveegg
[ Post Reply | Private Reply | To 41 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson