2 replies [Last post]
css-novice
Offline
newbie
Last seen: 13 years 46 weeks ago
Joined: 2008-08-18
Posts: 3
Points: 0

Hello

I'm new to using CSS and am sorry if I am asking about something that most people would know but anyway ... I have started working on a greeting card program that uses css. I would be grateful if someone could 'fill in the gaps' by telling me what code/wording I need to use create a line space between the image 'POSTCARD' and the text below it in the example shown in the following link:

http://www.urlbaron.com/css-question.htm

Many thanks

Helen

nonbreakingspace
Offline
Enthusiast
Auckland, New Zealand
Last seen: 12 years 3 weeks ago
Auckland, New Zealand
Timezone: GMT+12
Joined: 2008-02-24
Posts: 64
Points: 1

Assuming that .ecard_caption

Assuming that .ecard_caption is the element that you want to move away from the "Postcard" button / image, then i'd just add padding-top: {insert desired distance here}.

Personal Preference - Feel free to ignore: I'd use px or em for font sizes, not pt.

css-novice
Offline
newbie
Last seen: 13 years 46 weeks ago
Joined: 2008-08-18
Posts: 3
Points: 0

Line Spacing - Please Help - Thank You

Brilliant! It's easy when you know how - goodness knows how much reading I would have had to have done to figure that one out.
Thank you so much and I note your tip about font size descriptions.
Helen