border color ??

D

...D.

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.
 
S

Sid Ismail

: 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
 
D

...D.

Sid Ismail said:
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 address 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:
 
E

Edwin van der Vaart

....D. said:
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 address 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 address removed)">
<img src="mypicture.jpg" WIDTH="125" HEIGHT="114" ALT="Locutus, the
host ...click to email" ></a>
 
S

Sid Ismail

: >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 address 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 address removed)">
<img src="mypicture.jpg" align="middle" WIDTH="125" HEIGHT="114"
style="border:2px solid black;" alt=" ...click to email"> </a>

Sid
 
R

Rob Collyer

<a href="mailto: (e-mail address 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="mailto:[email protected]">
<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.
 
R

Rob Collyer

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

Somewhere in the <body>
<a href="mailto: (e-mail address removed)">
<img src="mypicture.jpg" WIDTH="125" HEIGHT="114" ALT="Locutus, the
host ...click to email" ></a>

..... or that! lol
 
D

...D.

Tnx will do....

--------------------
try this instead:-
<a href="mailto:[email protected]">
<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.
 
F

Frogleg

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top