14, February 2012

Simple HTML Question - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design (Moderator: Meth0d)
Topic: Simple HTML Question
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Simple HTML Question  (Read 1862 times)
I crack Photoshop!
*
Posts: 3
30 credits
Members referred : 0



« on: Feb 10, 2008, 02:21:09 pm »

Hi.

In a table data I have four lines of text each line separated by a <br>
The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html?

text line 1
|
(this space)
|
text line 2

Regards
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5779
46271 credits
Members referred : 3



« Reply #1 on: Feb 10, 2008, 03:14:30 pm »

You can use the line-height css property

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« Reply #2 on: Apr 10, 2008, 07:49:40 pm »

Instead of using <br> tag use the code below. If you want to increase the spacing increase the cellspacing
<table cellspacing='0%' cellpadding='0%' border='0%'>
<tr><td>Line 1 </td></tr>
<tr><td>Line 1 </td></tr>
<tr><td>Line 1 </td></tr>
<tr><td>Line 1 </td></tr>
</table>
Bill Gates is my home boy
*****
Gender: Female
Posts: 710
4449 credits
Members referred : 2



« Reply #3 on: Apr 10, 2008, 08:44:05 pm »

While adding a nested table would work, why add the level of complexity it requires when Nickolas' solution is the easier and more favorable one to the search engines?

www.yourmessageconsultant.com, providing online content and printed marketing materials.
www.helpforwebbeginners.com, Tutorials and how to's for new  webmasters.
www.CraftyTips.com, a unique Arts & Crafts Directory
www.nocans.com - Pet Food Recipe Site
www.petsiteguides.com - A New Pet Directory

Last blog : Spring Cleaning at Crafty Tips
Atari ST fan
*
Posts: 7
42 credits
Members referred : 0


« Reply #4 on: Sep 16, 2008, 10:59:07 am »

generating css class for each line define heights in css and apply it.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7586
Tags : Simple HTML Question Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design (Moderator: Meth0d)
Topic: Simple HTML Question
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 03:13:38 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.