Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > tried 'padding' and 'margin' but do not seem to work

Reply
Thread Tools

tried 'padding' and 'margin' but do not seem to work

 
 
Sharon Lee
Guest
Posts: n/a
 
      12-30-2003
I am having trouble with some formatting I need the text in a table to
be flush with the top and bottom of the cells but I cannot seem to get
it any closer than the default setting.

I am using CSS and have tried setting the td value with padding: 0
(and listed them individually) and margin: 0 (and listed them
individually) but nothing changes.

my code loops through the following code and loads:

a table,
a row, a cell with an <a> link and text
a row with a cell with some text
a row with a cell an <a> link and text
closes table

Has anyone got any suggestions about the sort of things that I could
look at that might solve this problem?

Can an <a> link have a padding value?

(this might seem a small problem but it is a big problem for me)

Thanks and Happy New Year
 
Reply With Quote
 
 
 
 
Jay
Guest
Posts: n/a
 
      12-30-2003

"Sharon Lee" <> wrote in message
news:...
> I am having trouble with some formatting I need the text in a table to
> be flush with the top and bottom of the cells but I cannot seem to get
> it any closer than the default setting.


Is this what you're looking for?

<table cellpadding="0" cellspacing="0">

- J


 
Reply With Quote
 
 
 
 
Sharon Lee
Guest
Posts: n/a
 
      12-31-2003
On Tue, 30 Dec 2003 20:01:17 GMT, "Jay" <> wrote:

>
>"Sharon Lee" <> wrote in message
>news:...
>> I am having trouble with some formatting I need the text in a table to
>> be flush with the top and bottom of the cells but I cannot seem to get
>> it any closer than the default setting.

>
>Is this what you're looking for?
>
><table cellpadding="0" cellspacing="0">
>
>- J


You got it Jay!

Thanks heaps.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.5 I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work? PerlFAQ Server Perl Misc 0 02-22-2011 05:00 PM
FAQ 2.5 I grabbed the sources and tried to compile but gdbm/dynamic loading/malloc/linking/... failed. How do I make it work? PerlFAQ Server Perl Misc 0 02-03-2011 05:00 AM
RE;Kontki if you delete kontiki any program you loaded with it in it 'will not work I have tried it with three programs and none work anymore (if you se it just stop download) 1-Twitch Computer Support 5 04-23-2009 02:45 PM
Webservice works once and then DOES NOT seem to work even though program does not crash Phi! ASP .Net Web Services 1 04-23-2004 08:42 AM
Re: I tried this in java but it does not work.... Joseph Millar Java 4 08-15-2003 10:16 AM



Advertisments