On Jul 12, 2013, at 11:26 AM, Mark wrote:
Presumably this?
To achieve a single column with a pic at the top and text directly underneath, it appears I have to:
If all you want is to have the text snug directly under the picture, all you need to do is insert your image, then enter a soft-return (break tag) after that, and type your text. The result will be this, in code:
<p><img ... /><br />Your text here</p>
Visually, the text will be immediately under the image, separated only by the line-height of the text in that container. To enter a soft-return in Freeway (as with any other DTP application on the Mac) you type Shift-Return.
• insert two html items
•insert a graphic item into the top html item (this acts as a container for the image)
This will work, all it’s doing is substituting the div (html item) for the p. Either one will work, and either one may be styled identically.
• don’t use line-height or space-after or space-before on the P or Body tag
Not important if you override the style more specifically.
or
• insert two html items
• in the top item use ‘background image’
That’s a great idea, certainly this will work.
• don’t use line-height or space-after or space-before on the P or Body tag
You don’t need to adjust these attributes at the global level, unless you really want to. If you do, then you need to override the global style with one that is more specific. The style rule I outlined earlier #item42 p is quite a lot more specific than just a single style for the p tag. Whatever you add to #item42 p will override the base style you set in p, but only when the p is inside the #item42 container. The point of this is that you can set general rules, then override or extend them in specific parts of your page, so you don’t have to set the font over and over in each style, for example, but you can have specific sizes for a p tag in different parts of the same page.
Walter
Is this correct?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options