HTML & CSS: having issues with default link color

View previous topic View next topic Go down

LeiaGore
LeiaGore
Member
Member
Forum Posts : 4
Member Since : 2012-07-03

PostLeiaGore 3/7/2012, 6:21 pm

I've tried to set the color to be #444444 in the body of this newsletter, but in spite efforts to change that to to #6d7b8d the darker grey has carried over into the footer (anything below the line break). It's very frustrating. Any help would be appreciated. Apologies if it's messy, please scroll down to view the code. Thank you!

Code:




















<style type="text/css">


<html><head><title>Julie M. Gallery
Newsletter</title>


<style>                                                         


* {font-style : arial, verdana, sans-serif;}


p {font-size : 11pt; font-color : #444444; text-align :
justify; max-width : 600px;}


h1 {text-transform : uppercase; font-size : 12pt; color :
#F88017; font-weight : 200; max-width : 600px;}


h2 {text-transform : uppercase; font-weight : 200; max-width
: 600px;}


h3 {text-transform : uppercase; font-weight : lighter;
max-width : 600px;}


h4 { font-weight : lighter; max-width : 600px;}


h5 {font-size : 10pt; color : #6D7B8D; font-weight : 100;
letter-spacing: 1px; max-width : 600px;}


a {text-decoration : none;}


a:hover {color: #F88017;}


a.nav:hover { text-decoration: underline;}


</style>


<body link="#444444" alink="#F88017"
vlink="#444444">


<font color="#444444" face="Arial,
sans-serif"> <br>


<a href= “http://www.juliemgallery.com”><img src= http://4.bp.blogspot.com/-IfYa0ecUHsU/T_NWl3Hp2MI/AAAAAAAAAW0/o-LR8HMcKcM/s1600/Picture+3.png
width="600" border= “0”></a><br><br><br>


<p>Join us Thursday night for a taste of the exhibits
slated for this fall & spring, 2013: </p>


<br>


<h2>Through the Looking Glass</h2>


<h3>July 5 – August 12, 2012</h3>


<p>Opening Reception: Thursday, July 5, 6–9pm
</p>


<br>


<img src= http://www.juliem.com/_uploads/imagesgallery/jlad1.jpg
width="600">


<br><br>


<p>


It gives us great pleasure to welcome <a href=
“http://www.juliemgallery.com/?CategoryID=433”>Jiri Ladocha</a> &
<a href= “http://www.juliemgallery.com/?CategoryID=435”>Mats
Nordstrom</a> to the Julie M. Gallery.  Please join them along with participating artist <a href=
“http://www.juliemgallery.com/?CategoryID=431”>Atsmon Ganor</a> at the
opening of <i>Through the Looking Glass</i>.  <br><br>Their work will be
shown alongside pieces by <a href= “http://www.juliemgallery.com/?CategoryID=316”>Deganit
Berest</a>, <a href= “http://www.juliemgallery.com/?CategoryID=318”>Anat
Betzer</a>, <a href= “http://www.juliemgallery.com/?CategoryID=404”>Itamar
Jobani</a> & <a href= “http://www.juliemgallery.com/?CategoryID=330”>Shai
Kremer</a>.  This exhibit
offers a variety of work in sculpture, photography, painting & video. Click
on any artist’s name to view their page on the Julie M. website.


</p></body></text><body
link="#6D7B8D" alink="#F88017" vlink="#6D7B8D ">


<br><br><HR WIDTH="600"
COLOR="#6D7B8D" SIZE="1" align="left">


<h1>JULIE M. GALLERY</h1><h5>


Contact us at 416.602.2626<br></html><html>


<a href=
"mailto:info@juliemgallery.com">info@juliemgallery.com</a> |


<a href=
"http://www.juliemgallery.com">juliemgallery.com</a>


<br>


<a href= "http://goo.gl/maps/lrme">15 Mill
Street, Toronto, Ontario, Canada, M5A3R6</a><br><br>


Open Tues to Sat 11–6, Sun 12–5 or by appointment


<br>


<a href= https://twitter.com/juliemgallery
target="Twitter"> <img src= http://mmimaging.com/wp-content/uploads/2012/05/icon-twitter-grey.png
align="right" width="50"></a>


<a
href="http://www.facebook.com/pages/Julie-M-Gallery/164858025870"
target="Facebook">


<img src=
http://www.calyxiadesign.com/images/icon-facebook-grey.png
align="right" width="50"
border="0"></a></h5>


<br><HR WIDTH="600"
COLOR="#6D7B8D" SIZE="1" align="left">


<h5><center>


<a href=[UNSUBSCRIBE]>UNSUBSCRIBE</a><br><br><a
href=[FORWARDTOFRIEND]>INVITE A FRIEND</a><center></h5>


<br>




</body>




 </html>













LeiaGore
LeiaGore
Member
Member
Forum Posts : 4
Member Since : 2012-07-03

PostLeiaGore 3/7/2012, 7:15 pm

* Just a quick note: I fixed the links that were failing to work. Still haven't cracked the default link color issue.
LGforum
LGforum
Moderator
Forum Posts : 77
Member Since : 2011-11-12

PostLGforum 4/7/2012, 10:08 am

Where you have this line: a {text-decoration : none;}
Just add yourself a color: a {text-decoration : none; color: #444}

Setting colors in the body tag is very outdated and some browsers ignore it nowadays since it was deprecated a long time ago.
Same with the center tag, and font tag. You also need to close your head tag. Your HTML shouldn't have 2 body tags in too.
So there's a reasonable amounts of invalidism in the HTML.

I'd say you learnt HTML from an old source, and should look for a more recent updated tutorial or place to learn.
LeiaGore
LeiaGore
Member
Member
Forum Posts : 4
Member Since : 2012-07-03

PostLeiaGore 11/7/2012, 8:29 pm

Thank you so much! I'll give it a go.
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum