numbering lines
Hi,
I would like to refer to specific lines in a poem as in this example (the page is in Dutch, please scroll to the bottom). For some reason, in the Wordpress version of the same page, I can't get it right using the Word paste button in the wysiwyg editor. The numbering is off - please see the result here (again, please scroll down a bit). As always, your help is much appreciated. Thanks, Rutger |
try this, add the following to the CSS Inserts
HTML Code:
div.post-bodycopy p {margin: 0}; |
Hi Juggledad,
Thanks for your reply. It does solve the problem, miraculously I would almost say! but it makes empty lines between paragraphs on other pages disappear. In fact, the empty lines between the stanzas of the poem itself are gone too, I see now. Can you think of another trick? |
ID add a class to the <td> of the number so I could style off that class
|
Hi again, JD,
Code:
<td valign="top"> Code:
<td valign="top" class="linenumber"> Code:
div.post-bodycopy p {margin: 0}; Thanks for confirming! Rutger |
Your example CSS won't have any effect at all. It looks like you need to go thru a CSS tutorial.
|
Well, I realize that the "linenumber" class would have to be defined but I am just not sure how to do that with div.post-bodycopy p {margin: 0}; and so I am asking in a roundabout way. It would be great if you could help out.
|
yes use
HTML Code:
<td valign="top" class="linenumber"> HTML Code:
div.post-bodycopy td#linenumber p {margin: 0}; |
Thanks, JD, for following up. I appreciate.
Unfortunately, it doesn't work. It looks perfect in the wysiwyg editor, but the output doesn't. There are line breaks where they shouldn't be, and the numbering is not correctly aligned. Can you think of something still? |
All times are GMT -6. The time now is 09:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.