half a line after

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I would like to get an extra half empty line after each
<br /> for readability. Is this possible?

I keep all my text within <div class=... containers, if
there were some style properties where I could
specify this, it would fit well together with the rest
of my site.

thanks in advance

m a i l : anders d o t floderus a t comhem d o t se

Re: half a line after

Anders Floderus wrote:

Quoted text here. Click to load it

You seem to be using line breaks (foo<br>bar) when you should be using
properly marked up paragraphs (<p>foo</p><p>bar</p>). If you used proper
paragraphs you could set:

P {
  margin: 0 0 1.5em;
  padding: 0;

Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact

Re: half a line after


Quoted text here. Click to load it

Of course

It is best to give a URL to an example of this. Now I have to assume a lot.

Like, I am assuming you use <br /> to separate paragraphs. If so: don't.  
Mark up paragraphs to be that:

   <div class="foo">
     <p>this is a paragraph, if it is long enough</p>
     <p>and so is this</p>

Then you can use css to style the space between paragraphs, like this:

div.foo p { margin-bottom:1.5em; }

,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
|      weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
|  webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

Re: half a line after

Anders Floderus wrote:
Quoted text here. Click to load it

How about the following in your style-sheet:

br { margin-bottom: 2.5em; }

Glas geschiedenis  http://vision2form.nl/glashistorie.html
Passie en talent   http://vision2form.nl/young_talent.html
Webontwerp         http://vision2form.nl/webontwerp/index.html
SEO gaat zo  http://vision2form.nl/webontwerp/gevonden-worden.html

Site Timeline