Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > what to use instead of bordercolor

Reply
Thread Tools

what to use instead of bordercolor

 
 
Big Bill
Guest
Posts: n/a
 
      12-27-2004
I see that doesn't validate, odd as some validators seem to think it
does (or I misread them).
So should I be using a css value instead?

BB

--
www.kruse.co.uk http://www.velocityreviews.com/forums/(E-Mail Removed)
home of SEO that's shiny!
--
 
Reply With Quote
 
 
 
 
Brendan Taylor
Guest
Posts: n/a
 
      12-27-2004
On Mon, 27 Dec 2004 08:06:33 +0000, Big Bill wrote:

> I see that doesn't validate, odd as some validators seem to think it
> does (or I misread them).
> So should I be using a css value instead?


Yep. If it's a matter of how it's going to look, you should be using CSS
to do it.

<selector> {
border-color: <hex value or colour name>;
}
 
Reply With Quote
 
 
 
 
Neal
Guest
Posts: n/a
 
      12-27-2004
Brendan Taylor wrote:
If it's a matter of how it's going to look, you should be using CSS
> to do it.
>
> <selector> {
> border-color: <hex value or colour name>;
> }


Except for the < and the >, which don't belong in the CSS... I see what
you're doing, but perhaps [ and ] are clearer for the less initiated.

 
Reply With Quote
 
Sid Ismail
Guest
Posts: n/a
 
      12-27-2004
On Mon, 27 Dec 2004 08:06:33 GMT, Big Bill <(E-Mail Removed)> wrote:

: I see that doesn't validate, odd as some validators seem to think it
: does (or I misread them).
: So should I be using a css value instead?


td {border:2px dotted blue;}
td {border:1px solid red;}
table {border:2em ridge #993;}

Specs here: http://www.w3schools.com/css/css_reference.asp#border

Sid


 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      12-27-2004
Big Bill wrote:

> I see that doesn't validate, odd as some validators seem to think it
> does (or I misread them).
> So should I be using a css value instead?


> BB


Just use the [border:solid 1px red] method.

<div id="id" style="border:solid 1px #F00">


 
Reply With Quote
 
Big Bill
Guest
Posts: n/a
 
      12-27-2004
On Mon, 27 Dec 2004 12:34:50 +0200, Sid Ismail <(E-Mail Removed)>
wrote:

>On Mon, 27 Dec 2004 08:06:33 GMT, Big Bill <(E-Mail Removed)> wrote:
>
>: I see that doesn't validate, odd as some validators seem to think it
>: does (or I misread them).
>: So should I be using a css value instead?
>
>
>td {border:2px dotted blue;}
>td {border:1px solid red;}
>table {border:2em ridge #993;}
>
>Specs here: http://www.w3schools.com/css/css_reference.asp#border
>
>Sid


That's good, thanks all.

BB
--
www.kruse.co.uk (E-Mail Removed)
home of SEO that's shiny!
--
 
Reply With Quote
 
Brendan Taylor
Guest
Posts: n/a
 
      12-27-2004
On Mon, 27 Dec 2004 03:39:57 -0500, Neal wrote:

>> <selector> {
>> border-color: <hex value or colour name>;
>> }

>
> Except for the < and the >, which don't belong in the CSS... I see what
> you're doing, but perhaps [ and ] are clearer for the less initiated.


Yeah, I didn't think that through very well. Thanks for the clarification.
 
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
html 'table bordercolor' browser problem glittlemore@msn.com HTML 0 10-10-2005 01:16 AM
mouseover changing bordercolor Eirik Eldorsen ASP .Net 2 07-08-2004 10:53 PM
bordercolor tag and w3c standerd Dark Angel HTML 1 04-14-2004 04:33 PM
bordercolor tag and w3c standers Dark Angel HTML 2 04-14-2004 12:29 PM
Netscape BorderColor="#FFFFFF" (White) Heath HTML 0 08-14-2003 09:42 AM



Advertisments