Jump to content

writing a heading that is an anchor with text below it


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.