Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to mark up multiple <br />?

Tags:

html

asp.net

I use

  <br />

to insert blank lines on my webpage. What is an elegant way to do the equivalent of 20 - 40 of these? After formatting, each br tag is put on a separate line which make reading the file cumbersome.

like image 874
RJIGO Avatar asked Apr 20 '12 16:04

RJIGO


2 Answers

Old question, but evergreen.

If you really want to use multiple < br > tags, you can do so with

<br />&nbsp;<br />

I find this useful when I want whitespace between paragraphs. Using Div tags to do that is a really bad overkill hack, sorry guys. :-)

like image 172
Chiwda Avatar answered Nov 16 '22 00:11

Chiwda


min-height, margin and padding.

You can define CSS styles for that, like

.space { margin-top: 300px; }

And insert it wherever you want to...

<div class="space"></div>

Hope that helps...

like image 37
devdRew Avatar answered Nov 15 '22 22:11

devdRew