In the fields enter
Name: border-top
Value: 1px solid #666666
Click the OK button
Repeat steps 4 to 6 with the following values;
Name: padding-top
Value: 10px
Now when you apply this style to your text and preview you should see
a 1 pixel grey line above the body of text. Adjust the colour in step
5 for your chosen hex colour and the offset between the text and the
rule in step 7.
Regards,
Tim.
On 13 Sep 2010, at 20:36, Peter Tucker wrote:
I’d like to add a rule above a paragraph and add it to the style
sheet.
I’ guessing it needs to be added to the Extended, but don’t know how?
Many thanks Tim exactly what I needed. Although I tightened-up the padding and made some other changes too: http://oxmug.org ;~}}
Sorry to be dumb, but I guess is a good list of these type of text options available on the web somewhere?
Peter Tucker, Oxford UK - but mobile somewhere
On 14 Sep 2010, at 09:55, Tim Plumb email@hidden wrote:
Hi Peter,
Try this;
Choose Edit/ Styles
Select or create your chosen style for the text
Click the extended button
Click the New… button
In the fields enter
Name: border-top
Value: 1px solid #666666
Click the OK button
Repeat steps 4 to 6 with the following values;
Name: padding-top
Value: 10px
Now when you apply this style to your text and preview you should see a 1 pixel grey line above the body of text. Adjust the colour in step 5 for your chosen hex colour and the offset between the text and the rule in step 7.
Regards,
Tim.
On 13 Sep 2010, at 20:36, Peter Tucker wrote:
I’d like to add a rule above a paragraph and add it to the style sheet.
I’ guessing it needs to be added to the Extended, but don’t know how?
Hi Peter,
The W3C have their box model spec page - Box model
that outlines some of the more common styling you would want to
add such ad padding and borders. It’s a little dry but will get you
started on the styling options.
Regards,
Tim.
On 14 Sep 2010, at 18:01, Peter Tucker wrote:
Many thanks Tim exactly what I needed. Although I tightened-up the
padding and made some other changes too: http://oxmug.org ;~}}
Sorry to be dumb, but I guess is a good list of these type of text
options available on the web somewhere?