12, May 2008

Simple HTML Question - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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

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



« on: Feb 10, 2008, 03: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: 7822
39867 credits
Members referred : 3



« Reply #1 on: Feb 10, 2008, 04:14:30 PM »

You can use the line-height css property

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« Reply #2 on: Apr 10, 2008, 08: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>
I am a fanatic. So?
*****
Gender: Female
Posts: 584
3633 credits
Members referred : 2



« Reply #3 on: Apr 10, 2008, 09: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 Visit through proxy, providing online content and printed marketing materials.
www.helpforwebbeginners.com Visit through proxy, Tutorials and how to's for new  webmasters.
www.CraftyTips.com Visit through proxy, a unique Arts & Crafts Directory
www.nocans.com Visit through proxy - Pet Food Recipe Site
www.petsiteguides.com Visit through proxy - A New Pet Directory

Last blog : Privacy Policy for Blog About Crafts
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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
May 12, 2008, 04:30:02 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!


Forum Statistics
Total Posts: 34.926
Total Topics: 7.262
Total Members: 3.478
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: kellimy

25 Guests, 2 Users online :

10 users online today:



Readers

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