Solved

Half <br /> ?

Posted on 2006-10-30
5
554 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

776 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