lional Posted December 14, 2010 Share Posted December 14, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/221644-writing-a-heading-that-is-an-anchor-with-text-below-it/ Share on other sites More sharing options...
haku Posted December 18, 2010 Share Posted December 18, 2010 It would probably help if you showed us the proper code. Quote Link to comment https://forums.phpfreaks.com/topic/221644-writing-a-heading-that-is-an-anchor-with-text-below-it/#findComment-1148890 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.