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

I placed some buttons in the side bar of my Blog and used the

tags to add some space between them but it doesn't work in Firefox. Is thier another tag that will work?

2006-10-02 05:34:21 · 5 answers · asked by Joe-slim 3 in Computers & Internet Programming & Design

5 answers


doesn't have a closing tag, thus you close it in the same tag (when using XHTML) like
, this will act as a carriage return, so to put a line of space between buttons you will need to use

. This works in all browsers I have ever developed for. (IE, FF, Safari, etc.)

2006-10-02 05:44:35 · answer #1 · answered by John J 6 · 3 0

Line break is an empty tag and you don't need to close it. So instead of:


Element 1


Element 2


do:

Element 1

Element 2


You're better off adding space between elements with CSS, by the way.

2006-10-02 12:59:25 · answer #2 · answered by Raul B 4 · 0 0

I should see the page, but I'll guess a little. A
(or
or

for XHTML compatibility) means a break of line so if you use only one
you will only have the content at the left of the
over the content at the right of it. if you want to insert a space you should be using two of them consecutively:

.

2006-10-02 12:44:03 · answer #3 · answered by Diegosolo 2 · 2 0

The break command should be used as follows:

sentence 1sentence 1sentence 1sentence 1sentence 1

I want a space here
sentence 2sentence 2sentence 2sentence 2sentence 2sentence 2




just creates a break, you do not need to close the tag as that's why you have the /. This is an XHTML command, it works in all browsers.

2006-10-02 12:38:19 · answer #4 · answered by jogden2k 2 · 1 0

only wors with IE

2006-10-02 12:41:41 · answer #5 · answered by ? 1 · 0 1

fedest.com, questions and answers