Jump to content

writing a heading that is an anchor with text below it


lional

Recommended Posts

Hi

I am trying to write a series of newsletters that has an anchor in red that is the heading, and the text below it that is not an anchor.

 

my css is like this

#newsletter_thumb {
margin-left:100px;
margin-top:1px;

}
#newsletter_heading {
font-family:Georgia;
font-weight:bold;
color: red;
text-decoration:none;
vertical-align: top;
font-size:12px;

}
#newsletter_body {
font-family:Georgia;
font-weight:normal;
color: black;
text-decoration:none;
font-size:12px;
	float:left;
display:block;		
}

 

and my html is

 

<div id="pages">
<div id="newsletter_container">
<a href="bibles/HebrewNT.pdf" target="_blank"><img src="images/newsletters/judeo_christianity.jpg" alt="Hebrew New Testament" border="0" id="newsletter_thumb"></a>
<a href="bibles/HebrewNT.pdf" target="_blank" id="newsletter_heading">Hebrew New Testament</a>
iuiuiui
</div>

 

the problem is that the second line falls outside of the container

 

Any help will be appreciated

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.