Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > border color ??

Reply
Thread Tools

border color ??

 
 
...D.
Guest
Posts: n/a
 
      07-18-2004
I am a new hobby website runner. I've come a long way in a week from an
online tutorial. Using the term "webmaster", gives me pause, as I don't
consider myself a "master".

I have gotten to where I have some rectangular button type JPGs & pictures to
link to places. I have decided I like to have a small border (size 2) to add
just a little bit of definition to the little JPGs borders. I'd like all of
the borders to be black, but the borders are coming up different colors. I
can have 4 JPGs in a row across, but the border color might be different from
one to the next.

What determines the border color? Could this make a difference - I use a big
faded JPG as the background, and not a small one that tiles (unless the user
is running like 1600 x 1200, in which case he gets part of the background
picture tiled). Can I dictate border color with a code?

....D.
 
Reply With Quote
 
 
 
 
Sid Ismail
Guest
Posts: n/a
 
      07-18-2004
On Sun, 18 Jul 2004 13:02:20 -0700, ...D. <d@no_usenet_email..org> wrote:

: I am a new hobby website runner. I've come a long way in a week from an
: online tutorial. Using the term "webmaster", gives me pause, as I don't
: consider myself a "master".
:
: I have gotten to where I have some rectangular button type JPGs & pictures to
: link to places. I have decided I like to have a small border (size 2) to add
: just a little bit of definition to the little JPGs borders. I'd like all of
: the borders to be black, but the borders are coming up different colors. I
: can have 4 JPGs in a row across, but the border color might be different from
: one to the next.
:
: What determines the border color? Could this make a difference - I use a big
: faded JPG as the background, and not a small one that tiles (unless the user
: is running like 1600 x 1200, in which case he gets part of the background
: picture tiled). Can I dictate border color with a code?


URL?
img {border:2px solid black;}

Sid

 
Reply With Quote
 
 
 
 
...D.
Guest
Posts: n/a
 
      07-19-2004
Sid Ismail <(E-Mail Removed)> wrote:
>URL? >img {border:2px solid black;} >Sid


Thanks for the reply, but I am lost with the answer you posted. Please be
more specific if you will. If I display as my code the following, how would I
incorporate what you replied with into the code. exactly, please? (I want an
all black border):

<a href="mailto: http://www.velocityreviews.com/forums/(E-Mail Removed)">
<img src="mypicture.jpg" align="center" WIDTH="125" HEIGHT="114" BORDER="2"
<P ALT="Locutus, the host ...click to email" > </a>

...D.

------ ------ ------ original post:
>On Sun, 18 Jul 2004 13:02:20 -0700, ...D. <d@no_usenet_email..org> wrote:
>
>: I am a new hobby website runner. I've come a long way in a week from an
>: online tutorial. Using the term "webmaster", gives me pause, as I don't
>: consider myself a "master".
>:
>: I have gotten to where I have some rectangular button type JPGs & pictures to
>: link to places. I have decided I like to have a small border (size 2) to add
>: just a little bit of definition to the little JPGs borders. I'd like all of
>: the borders to be black, but the borders are coming up different colors. I
>: can have 4 JPGs in a row across, but the border color might be different from
>: one to the next.
>:
>: What determines the border color? Could this make a difference - I use a big
>: faded JPG as the background, and not a small one that tiles (unless the user
>: is running like 1600 x 1200, in which case he gets part of the background
>: picture tiled). Can I dictate border color with a code?
>
>




 
Reply With Quote
 
Edwin van der Vaart
Guest
Posts: n/a
 
      07-19-2004
....D. wrote:
> Sid Ismail <(E-Mail Removed)> wrote:
>
>>URL? >img {border:2px solid black;} >Sid

>
>
> Thanks for the reply, but I am lost with the answer you posted. Please be
> more specific if you will. If I display as my code the following, how would I
> incorporate what you replied with into the code. exactly, please? (I want an
> all black border):
>
> <a href="mailto: (E-Mail Removed)">
> <img src="mypicture.jpg" align="center" WIDTH="125" HEIGHT="114" BORDER="2"
> <P ALT="Locutus, the host ...click to email" > </a>


Between the <head>
<style type="text/css">
<!--
img {border: black 2px solid; align: center;}
-->
</style>

Somewhere in the <body>
<a href="mailto: (E-Mail Removed)">
<img src="mypicture.jpg" WIDTH="125" HEIGHT="114" ALT="Locutus, the
host ...click to email" ></a>
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction
 
Reply With Quote
 
Sid Ismail
Guest
Posts: n/a
 
      07-19-2004
On Mon, 19 Jul 2004 02:45:48 -0700, ...D. <d@no_usenet_email..org> wrote:

: Sid Ismail <(E-Mail Removed)> wrote:
: >URL? >img {border:2px solid black;} >Sid
:
: Thanks for the reply, but I am lost with the answer you posted. Please be
: more specific if you will. If I display as my code the following, how would I
: incorporate what you replied with into the code. exactly, please? (I want an
: all black border):
:
: <a href="mailto: (E-Mail Removed)">
: <img src="mypicture.jpg" align="center" WIDTH="125" HEIGHT="114" BORDER="2"
: <P ALT="Locutus, the host ...click to email" > </a>
:


<a href="mailto: (E-Mail Removed)">
<img src="mypicture.jpg" align="middle" WIDTH="125" HEIGHT="114"
style="border:2px solid black;" alt=" ...click to email"> </a>

Sid

 
Reply With Quote
 
Rob Collyer
Guest
Posts: n/a
 
      07-19-2004
....D. <d@no_usenet_email..org> wrote in
news:(E-Mail Removed):

> <a href="mailto: (E-Mail Removed)">
> <img src="mypicture.jpg" align="center" WIDTH="125" HEIGHT="114"
> BORDER="2"
> <P ALT="Locutus, the host ...click to email" > </a>
>


try this instead:-
<a href="(E-Mail Removed)">
<img src="mypicture.jpg" style="border: 2px black solid;"
align="center" WIDTH="125" HEIGHT="114" ALT="Locutus, the host ...click
to email" /></a>

Should work as you want.
--
Robert Collyer
www.webforumz.com
Free Web Design and Development Help, Discussions, tips and Critique!
ASP, VB, .NET, SQL, CSS, HTML, Javascript, Flash, XML, SEO !
 
Reply With Quote
 
Rob Collyer
Guest
Posts: n/a
 
      07-19-2004
> Between the <head>
> <style type="text/css">
> <!--
> img {border: black 2px solid; align: center;}
> -->
> </style>
>
> Somewhere in the <body>
> <a href="mailto: (E-Mail Removed)">
> <img src="mypicture.jpg" WIDTH="125" HEIGHT="114" ALT="Locutus, the
> host ...click to email" ></a>


..... or that! lol

--
Robert Collyer
www.webforumz.com
Free Web Design and Development Help, Discussions, tips and Critique!
ASP, VB, .NET, SQL, CSS, HTML, Javascript, Flash, XML, SEO !
 
Reply With Quote
 
...D.
Guest
Posts: n/a
 
      07-22-2004
Tnx will do....

--------------------
On Mon, 19 Jul 2004 10:17:11 +0000 (UTC), Rob Collyer
<(E-Mail Removed)> wrote:

>try this instead:-
><a href="(E-Mail Removed)">
> <img src="mypicture.jpg" style="border: 2px black solid;"
>align="center" WIDTH="125" HEIGHT="114" ALT="Locutus, the host ...click
>to email" /></a>
>
>Should work as you want.




....D.
 
Reply With Quote
 
Frogleg
Guest
Posts: n/a
 
      07-23-2004
On Sun, 18 Jul 2004 13:02:20 -0700, ...D. <d@no_usenet_email..org>
wrote:

>I have gotten to where I have some rectangular button type JPGs & pictures to
>link to places. I have decided I like to have a small border (size 2) to add
>just a little bit of definition to the little JPGs borders. I'd like all of
>the borders to be black, but the borders are coming up different colors. I
>can have 4 JPGs in a row across, but the border color might be different from
>one to the next.


Your borders are showing the default link colors. (a:link a:hover,
a:visited, a:active). Adjust with CSS.
 
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
rounded corners in which my border color is different than the background color laredotornado@zipmail.com Javascript 1 02-14-2007 07:37 AM
border-color: #003366; border-width: 2px; =?UTF-8?B?TWFydGluIFDDtnBwaW5n?= HTML 64 07-30-2006 04:01 PM
Drop Down List Border Width vs Text Box Border Width Coder ASP .Net 1 06-24-2006 01:27 PM
row bottom border in inner table not matching up with row border in outer table phl HTML 1 06-08-2006 03:43 PM
Datagrid Border showing when I say no border tshad ASP .Net 0 01-31-2005 05:40 PM



Advertisments