English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I use
to spave out some lines on my website but the gaps are too big. Is there some way to adjust the size of the space made by it, maybe by stlying? any help thanx

2006-09-14 09:22:52 · 5 answers · asked by peter s 1 in Computers & Internet Programming & Design

5 answers

with css you can set margin's and/or padding's. that should do the trick.

br.someClassName {
margin-top: 10px;
margin-bottom: 10px;
or
padding-top: 10px;
padding-bottom: 10px;
}

2006-09-14 11:11:57 · answer #1 · answered by clievers 4 · 0 0


is going to givr you 1 line space equal to the defalt font of the page.

You can either use several in a row:


to get 3 line spaces, or
try
for a smaller gap.

You can use
for an even smaller line gap.

Be sure to close
be fore you start typing on the new line.
Hope this helps.

2006-09-14 16:28:09 · answer #2 · answered by newsgirlinos2 5 · 0 0

you could also use CSS to adjust the size of the height of the

tag. then you might not even need the
tag since your paragraphs would be spaced as you liked them.



or

2006-09-14 22:31:42 · answer #3 · answered by country bear 2 · 0 0

use css

For example:

br {
margin: 0;
line-height: 0.5;
}

though you should only use
(btw you need to close your breaks; use self-closing) for splitting text up and not as a styling format (use divs and spans; fomatting using css stylesheet).

In case you didn't know you can add css as a file import to HTML OR implment it within the HTML script; makes no difference unless you intend to use the same stylesheet for more than one page. I recommend a stylesheet.

2006-09-14 16:26:20 · answer #4 · answered by UKDealsBox.com 4 · 2 0

I Missed a Goodbuy is correct. Use CSS (style sheet) to define br to whatever you want

2006-09-14 16:46:58 · answer #5 · answered by genius 2 · 0 0

fedest.com, questions and answers