?
Solved

Half <br /> ?

Posted on 2006-10-30
5
Medium Priority
?
579 Views
Last Modified: 2008-03-10
Is there a way to do a half "<br />" ?
I don't need a full line break, but a 0.5 line break ?

Thanks,
-BassKozz
0
Comment
Question by:basskozz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 19

Assisted Solution

by:VoteyDisciple
VoteyDisciple earned 400 total points
ID: 17837855
It sounds like what you really want is for the element above that to have style="margin-bottom: 0.5em;"

0
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 600 total points
ID: 17837970
basskozz,

VoteyDisciple's comment may be just what you want but I had another thought.

What is the text in?  If in a span, cell or something similar you can specify "line-height: .5em;" in that element and then the br tag will change.  The line break it inserts will inherit that setting.  Putting line-height in the br tag does not have that effect though.  If you are interested in details then please provide details on what this text is in.  An example is below.

<span style="line-height: .5em;">
line one <br />
line two
</span>

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 19

Expert Comment

by:VoteyDisciple
ID: 17838014
Ooh, good point.  I like that.  (-:
0
 

Author Comment

by:basskozz
ID: 17838052
Thanks guys
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17838085
Your welcome!  I'm glad that I could be one of those that helped.  Thank you for the grade, the points and the fun question.

bol
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question