Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Too light grey color

Reply
Thread Tools

Too light grey color

 
 
Ray
Guest
Posts: n/a
 
      10-31-2005
I have following statment in a html file. Is there any control the grey
color to be darker?

<hr size=2 width=20% align="left">

Thanks,

Ray


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      10-31-2005
In our last episode, Ray <(E-Mail Removed)> pronounced to
alt.html:

> Is there any control the grey color to be darker?


Yes.

> <hr size=2 width=20% align="left">


Size, width and align are deprecated - use CSS. Something like this:

hr {border: 1px solid #333333; width: 20%;}

--
Mark Parnell
http://clarkecomputers.com.au
 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      10-31-2005
__/ [Mark Parnell] on Monday 31 October 2005 05:47 \__

> In our last episode, Ray <(E-Mail Removed)> pronounced to
> alt.html:
>
>> Is there any control the grey color to be darker?

>
> Yes.
>
>> <hr size=2 width=20% align="left">

>
> Size, width and align are deprecated - use CSS. Something like this:
>
> hr {border: 1px solid #333333; width: 20%;}


The OP should also become aware that use of <HR> without CSS is in a sense
ambiguous and loosely-defined. It may be interpreted and thus rendered
differently in different browsers/engines.

HR does not have a colour associated with it. Grey must be attributed to some
Netscape colour convention.

Roy

--
Roy S. Schestowitz | Useless fact: Digits 772-777 of Pi are 999999
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
7:00am up 66 days 12:49, 5 users, load average: 1.04, 1.62, 1.19
http://iuron.com - next generation of search paradigms
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-31-2005
> From: Mark Parnell <(E-Mail Removed)>
> Newsgroups: alt.html


> In our last episode, Ray <(E-Mail Removed)> pronounced to
> alt.html:
>
>> Is there any control the grey color to be darker?

>
> Yes.
>
>> <hr size=2 width=20% align="left">

>
> Size, width and align are deprecated - use CSS. Something like this:
>
> hr {border: 1px solid #333333; width: 20%;}


Yes, for a style sheet or style in the head of the doc.

To the Op, if you want to do it inline (closest to what you are
doing), use <hr style="border:1px #999
solid;width:20%;margin-left:0px"> - or #666 or #333 depending on
the darkness, 333 is /very/ dark. I assume you would control the
left alignment with something like the suggestion here, seems to
work, but there may be better advice on this?

--
dorayme

 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is better; too light or too dark? Peter Jason Digital Photography 20 03-07-2007 03:39 AM
How to generate a table so that the background color is grey on a printout Stefan Mueller HTML 4 11-26-2005 08:09 PM
Still trying to figure the grey level of an 18% grey card (was: If I shoot a grey card, should this end up as 127 grey?) Alan F Cross Digital Photography 40 03-02-2004 12:12 PM
If I shoot a grey card, should this end up as 127 grey? Alan F Cross Digital Photography 8 02-26-2004 09:57 AM
How Do you Use a Light Meter and 18% Grey, photographing Art? Dr. Slick Digital Photography 20 09-09-2003 04:43 AM



Advertisments