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

Is there a way to make a block element not act like a block and go down a line? LIke a CSS property?

2007-04-28 10:33:13 · 3 answers · asked by jack 6 in Computers & Internet Programming & Design

3 answers

Yes. You can use display: inline to make a block element behave like an inline one. You can do the reverse and use display: block to make a span display like a div.

2007-04-28 12:49:01 · answer #1 · answered by injanier 7 · 0 0

What element are you trying to edit? It might help to specify.

Usually, you can use margins like this:

elementHere {
margin: ##px 0 ##px 0;
}

Edit the first ## for the area above the element, and the second ## for the area below it.

2007-04-28 18:48:04 · answer #2 · answered by Anonymous · 1 0

try margin
also search forums

2007-04-28 18:05:00 · answer #3 · answered by mark73 2 · 0 0

fedest.com, questions and answers