Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Insert breaklines into string

by lhoward (Vicar)
on Sep 12, 2004 at 14:18 UTC ( #390418=note: print w/ replies, xml ) Need Help??


in reply to Insert breaklines into string

Get rid of the br tags and use a cascading style sheet, its what CSS was made to do. With all those BR's the paragraph won't scale well for narrow or wide browser resolution, or for people using a large font for accessability reasons. L


Comment on Re: Insert breaklines into string
Replies are listed 'Best First'.
Re^2: Insert breaklines into string
by kiat (Vicar) on Sep 12, 2004 at 14:26 UTC
    Thanks, lhoward!

    I'll check out what I can do with CSS. In the meantime, do you have any suggestion on how the css is supposed to look like?,

    Update: Don't bother. Did it with line-height :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2015-07-30 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls