View Single Post
12-29-2006, 01:33 AM
#15
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Originally Posted by joe
Edit: I've had another look and I can see what the problem is, however, listen to Andrew and sort out the code you have. I would suggest coding each content box as follows:

HTML Code:
<div class="">
<h2>Title</h2>
<p>Content</p>
<p>More Content</p>
</div>
You would want to use a class over an ID because you will probably want multiple similar content areas like you have in the example given.
When I use <h2>'s for my titles, I leave it out of the div then put a bottom margin on that div.. just a tip for anyone who wants to use this. Because if you do it wrong in CSS, it will severely screw it up. With my way, there is a less of a chance to screw it up. PM me if you want me to write you up a sample.