Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: ugly lines in pod

by WoodyWeaver (Monk)
on Oct 31, 2014 at 20:33 UTC ( [id://1105751]=note: print w/replies, xml ) Need Help??


in reply to Re: ugly lines in pod
in thread ugly lines in pod

Sorry if the question wasn't clear. Unfortunately, it is more of a "make it pretty" problem rather than a functional problem, and I'm not expressing it well.

I wanted to document the web page the way I wanted it, rather than what was natural to pod, I suppose. I wanted a bulleted list. Starting with
=over =item Neque =item Porro =item Quisquam Est Qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. =item Ut Enim =back
renders as
<dl><dt><strong><a name="neque" class="item">Neque</a></strong></dt> <dt><strong><a name="porro" class="item">Porro</a></strong></dt> <dt><strong><a name="quisquam_est" class="item">Quisquam Est</a></stro +ng></dt> <dd> <p>Qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p> </dd> <dt><strong><a name="ut_enim" class="item">Ut Enim</a></strong></dt> </dl>

That is fine (although perhaps it would be nice without the bolding) but I really don't like the blank line between Quisquam Est and Qui dolorem. I really don't want a paragraph marker in the dd container.

But really, this is unimportant. I'll just rewrite it another way.

Replies are listed 'Best First'.
Re^3: ugly lines in pod
by tobyink (Canon) on Oct 31, 2014 at 21:32 UTC

    It isn't a blank line, it's a margin, and can be controlled via CSS.

      (bows head) ah, node 3333. "Hint: try perltidy -html -css=mystyle.css filename.pl and edit mystyle.css to change the appearance of filename.htm". Many thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1105751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-18 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found