Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Need to control spacing
Old 07-26-2006, 07:31 PM Need to control spacing
Skilled Talker

Posts: 99
Trades: 0
Here is what my navigation looks like:



The space between 'Navigation' and 'Home' is a <p>. How can I make it about half the length that it currently is?

Here is my code

HTML Code:
  <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#181818' width='800'>

      <td width='144' valign='top' height='400'>
        <b><g1><font size="2px">Navigation</font></g1></b><p>
        <table border='0' cellpadding='2' cellspacing='2' style='border-collapse: collapse' bordercolor='#181818' width='150'>
            <td width='100%' height='0' align='left' valign='top'> 
              <p align='left'><font face='Verdana' size='1' color='#C1C4C6'>
                <a href='index.php'>Home</a><br>
Arez20469 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-27-2006, 03:37 AM Re: Need to control spacing
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
try remove the <gl> tags
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 07-27-2006, 06:04 AM Re: Need to control spacing
manthu64's Avatar
Average Talker

Posts: 27
Name: Manthan Dudani
Location: India
Trades: 0
table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#181818' width='800'>

<td width='144' valign='top' height='400'>
<b><g1><font size="2px">Navigation</font></g1></b><p>
<table border='0' cellpadding='2' cellspacing='2' style='border-collapse: collapse' bordercolor='#181818' width='150'>
<td width='100%' height='0' align='left' valign='top'>
<p align='left'><font face='Verdana' size='1' color='#C1C4C6'>
<a href='index.php'>Home</a><br>
Remove <p> from the third line of navigation text. May possible to removing <p> tag in third line.
manthu64 is offline
Reply With Quote
View Public Profile
 
Old 07-27-2006, 06:04 AM Re: Need to control spacing
manthu64's Avatar
Average Talker

Posts: 27
Name: Manthan Dudani
Location: India
Trades: 0
Remove <p> from the third line of navigation text.
May possible to removing <p> tag in third line.
manthu64 is offline
Reply With Quote
View Public Profile
 
Old 07-28-2006, 12:08 PM Re: Need to control spacing
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
First of all, there is no such HTML tag <g1>.
Second of all, you'd be better off defining the height, margin and padding of a <p> using CSS.

Third.. forget the tables !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-31-2006, 08:05 AM Re: Need to control spacing
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
try this

HTML Code:
<table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#181818' width='800'>
<tr>
<td width='150' valign='top' height="30">
<b><font size="2px">Navigation</font></b>
</td>
<td>&nbsp;</td>
</tr> 
<tr> 
<td>
<table border='0' cellpadding='2' cellspacing='2' style='border-collapse: collapse' bordercolor='#181818' width='150'>
<tr>
<td align='left' valign='top'> 
<a href='#' style="font-family:Verdana; font-size:10px; color:#000000">Home</a>
</td> 
</tr> 
<tr>
<td align='left' valign='top'> 
<a href='#' style="font-family:Verdana; font-size:10px; color:#000000">Link1</a>
</td> 
</tr> 
<tr>
<td align='left' valign='top'> 
<a href='#' style="font-family:Verdana; font-size:10px; color:#000000">Link2</a>
</td> 
</tr> 
</table>
</td>
<td>&nbsp;</td> 
</tr> 
</table>
Just change the height attribute value to adjust the space between Navigation and menu items

<td width='150' valign='top' height="30">
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to Need to control spacing
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23037 seconds with 12 queries