Hey Keith,
I think I understand your problem better this time around. Your name and
date are both wrapped by an h5 tag, so just apply padding/margin to that
to get your vertical spacing. You may need to explicitly state that the
h5 is a block/inline-block level element for this to work, since your
reset doesn't make the <h#> tags block level.
- Brandtley
On 12/26/2010 2:59 PM, Keith Purtell wrote:
I'm down to the last part of revising a little website, and have a
problem creating vertical space in one location. I've mentioned this
once before here, and I'll touch on that.
I have a line of text with my name as the author followed by the date
the article was written or revised. I can't add margin below it
because the date portion is inline, as Brandtley pointed out. Then
someone else (sorry I forgot who) suggested I simply add margin-top to
the first paragraph of the article (the current temporary fix). When I
tried that, it broke the float that held the image at the top left of
the first paragraph. The photo ended up placed on line with the author
name and date written. That's why in this link, The image has been
moved to the second paragraph. I want the option of using a photo
leading into that first paragraph.
Yes, I can put a blank div between the author/date line and opening
photo/first paragraph, but to me it seems clumsy. I'll only do it if I
it's the only option. I don't want someone to come along later and see
that blank div and say: "Gee, why didn't you just ... (better solution
here ..."
http://www.keithpurtell.com/kthings/ailh.htm
- Keith
--
--
You received this because you are subscribed to the "Design the Web
with CSS" at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]