Help a noob with HTML pls (quick question)

JMorton6

Senior member
Jan 25, 2009
406
1
71
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<img src="sig.gif" style="float:left; margin-right:10px;" />
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</div>
 

Safeway

Lifer
Jun 22, 2004
12,075
11
81
See the part that says: border:1px? Might want to start there.

See the part after font-size that says: color:#33333? Might want to end there.
 

KLin

Lifer
Feb 29, 2000
30,425
741
126
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<img src="sig.gif" style="float:left; margin-right:10px;" />
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</div>

Do your own work. Kthxbye.
 

Safeway

Lifer
Jun 22, 2004
12,075
11
81
And although you label yourself as an HTML noob, you should probably go to MHMR and get tested.
 

xanis

Lifer
Sep 11, 2005
17,571
8
0
First off, every time you use inline CSS, a kitten dies.

Secondly, just change border:1px solid to border:0px. The end.

 

keird

Diamond Member
Jan 18, 2002
3,714
9
81
Originally posted by: Safeway
And although you label yourself as an HTML noob, you should probably go to MHMR and get tested.

www.mhmr.state.tx.us/

1st choice on Google is Mental Health and Mental Retardation. Either you just insulted someone or it's some HTML acronym.

Please clarify.
 

manlymatt83

Lifer
Oct 14, 2005
10,051
44
91
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<a href="http://forums.anandtech.com"><img border=0 src="sig.gif" style="float:left; margin-right:10px;" /></a>
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<font color="red" size="2"><b><u>
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</u></b></font>
</div>

Done
 

JMorton6

Senior member
Jan 25, 2009
406
1
71
Originally posted by: manlymatt83
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<a href="http://forums.anandtech.com"><img border=0 src="sig.gif" style="float:left; margin-right:10px;" /></a>
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<font color="red" size="2"><b><u>
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</u></b></font>
</div>

Done

Thanks, everything works perfectly except that the color of the text links didn't change (maybe because they're visited links)? Any ideas?
 

manlymatt83

Lifer
Oct 14, 2005
10,051
44
91
Originally posted by: JMorton6
Originally posted by: manlymatt83
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<a href="http://forums.anandtech.com"><img border=0 src="sig.gif" style="float:left; margin-right:10px;" /></a>
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<font color="red" size="2"><b><u>
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</u></b></font>
</div>

Done

Thanks, everything works perfectly except that the color of the text links didn't change (maybe because they're visited links)? Any ideas?

vlink="......" alink="......"

vlink = visited link
 

JMorton6

Senior member
Jan 25, 2009
406
1
71
Originally posted by: manlymatt83
Originally posted by: JMorton6
Originally posted by: manlymatt83
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<a href="http://forums.anandtech.com"><img border=0 src="sig.gif" style="float:left; margin-right:10px;" /></a>
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<font color="red" size="2"><b><u>
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</u></b></font>
</div>

Done

Thanks, everything works perfectly except that the color of the text links didn't change (maybe because they're visited links)? Any ideas?

vlink="......" alink="......"

vlink = visited link

Where do I put that?
 

JMorton6

Senior member
Jan 25, 2009
406
1
71
Originally posted by: JMorton6
Originally posted by: manlymatt83
Originally posted by: JMorton6
Originally posted by: manlymatt83
Originally posted by: JMorton6
Could someone please modify this code so that:

1. The image is a borderless clickable link (put blank url).
2. The text links are a custom color (put any random), bold and underlined.

Thanks!!

P.S. This is for a custom Gmail HTML signature in case you're curious.


<div style="border:1px dashed #aaaaaa; padding:0.5em; margin:0.5em; width:453px; height:82px; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333333;">
<a href="http://forums.anandtech.com"><img border=0 src="sig.gif" style="float:left; margin-right:10px;" /></a>
<strong>Name Goes here</strong><br />
Phone # goes here<br />
<font color="red" size="2"><b><u>
<a href="mailto:emailaddy">emailaddy</a><br />
<a href="sitelinky">sitelinky</a>
</u></b></font>
</div>

Done

Thanks, everything works perfectly except that the color of the text links didn't change (maybe because they're visited links)? Any ideas?

vlink="......" alink="......"

vlink = visited link


Where do I put that?

Anyone?
 

presidentender

Golden Member
Jan 23, 2008
1,166
0
76
Originally posted by: JMorton6
Originally posted by: JMorton6
Originally posted by: manlymatt83

vlink="......" alink="......"

vlink = visited link


Where do I put that?

Anyone?

I have to admit, JMorton6, that I'm amazed you've received this much feedback. What is this email sig for, and what is your job? If this is really and truly the only time you'll ever need to write HTML, I'll gladly PM you the solution you need (and many others here would too); however, that's pretty unlikely. As such, I encourage you to make your way to w3schools and actually learn something.
 

JMorton6

Senior member
Jan 25, 2009
406
1
71

I like the border around the sig - just not around the image. Nevermind, I've got that down. I just wanna know how to make links change color when I point at them.


Originally posted by: presidentender
Originally posted by: JMorton6
Originally posted by: JMorton6
Originally posted by: manlymatt83

vlink="......" alink="......"

vlink = visited link


Where do I put that?

Anyone?

I have to admit, JMorton6, that I'm amazed you've received this much feedback. What is this email sig for, and what is your job? If this is really and truly the only time you'll ever need to write HTML, I'll gladly PM you the solution you need (and many others here would too); however, that's pretty unlikely. As such, I encourage you to make your way to w3schools and actually learn something.

Pls just tell me how to make the links change color when someone points at em - my job has nothing whatsoever to do with coding. :)
 
Oct 27, 2007
17,009
5
0
JMorton6 I don't want to sound harsh, but it's generally accepted etiquette on programming forums that the user asking a question has made at least some effort to answer it himself and isn't just asking users to solve their problem from start to finish. Several links have been posted (I'd like to reiterate w3schools) where the answer to your problem can be found with 30 minutes of research.