Forum Moderators: not2easy
I've read yesterday somewhere how to, but I lost the information and I don't know which keywords to use in Google to get the result I am looking for.
Here would be my setup in HTML and CSS:
HTML Code
<div id="end">
<h1> Bla bla title here bla bla.</h1>
<p>Bla bla paragraph here bla bla.</p>
</div>
CSS Code
DIV#end {
margin: 0;
padding: 0;
}
.end h1 {color: #A8A8A8; font-family: 'Arial', Helvetica, sans-serif;
font-size: 12px; font-weight: bold;}
.end p {color: #A8A8A8; font-family: 'Arial', Helvetica, sans-serif;
font-size: 10px; font-weight: normal;}
My coding is not correct (it doesn't do squat). How would I need to code the above to get it to work?
Whenever I want to use a link inside <p>, the styling is used I set for the <h1> link tag.
How can I use two different styles for the <a> tag?
HTML Code:
<div id="content_about">
<h1><a id="WHO" href="#WHO">WHO</a></h1>
<p>Bla bla. <a href="www.google.com">More BLA</a>, Blablaaa.</p>
CSS Code:
#content_about h1,
#content_about a {margin: 0px; color: #61BDDD; font-family: 'Arial', Helvetica, sans-serif; font-size: 14px; font-weight: normal; text-decoration: none;}
#content_about h2 {color: #61BDDD; font-family: 'Arial', Helvetica, sans-serif; font-size: 12px; font-weight: normal; text-decoration: none;}
#content_about p { margin: 0px; margin-top: 0em; color: #707070; font-family: 'Arial', Helvetica, sans-serif; font-size: 12px; font-weight: normal;}