Solved

Half <br /> ?

Posted on 2006-10-30
5
570 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 100 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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

691 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