Space between table and text issue

G

Guest

Hi,
I have a table that is positioned 'left' and float 'default'. I have text
after the table on the page. I'm trying to adjust the space between the
right hand table border and the text. No matter how I try I cannot adjust the
space difference between the table border and the text. As of now the text
is right next to the border. All I want is a small space between it like 4
or 5 pixels. I've tried everything I know of in the style>format>border> and
paragraph properties and I cannot move that text. The text is justified but
I've tried it with left justify as well and can't move it. What am I
missing??????? Here is the address of the page. The text is next to the table
for the "Puller adapter". http://www.caturner.com/holehog.htm
Thanks
Catt
 
M

Murray

Change this -

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse:
collapse; float:left;" bgcolor="#FF0000" bordercolordark="#FFCC33"
bordercolorlight="#FFCC33">

to this -

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse:
collapse; float:left;margin-right:20px;" bgcolor="#FF0000"
bordercolordark="#FFCC33" bordercolorlight="#FFCC33">

Be aware that bgcolor, bordercolordark, and bordercolorlight are IE
proprietarty attributes and will not necessarily be followed in other
browsers/platforms. To be certain, you would need to use CSS for those
attributes.
 
G

Guest

Thanks Mr. Murray but isn't there a way to do this within the Front Page
program? You are obviously an HTML expert. I purchased FP because I'm not and
I don't have time to become one. I wish I did but I'd like to be a great
golfer too.
Since I have been able to manipulate paragraphs next to other tables in my
web I was wondering why I couldn't here (on that page). I was under the
assumption that something was hidden and locked.
Catt
 
T

Trevor L.

Catt said:
Thanks Mr. Murray but isn't there a way to do this within the Front
Page program? You are obviously an HTML expert. I purchased FP
because I'm not and I don't have time to become one. I wish I did but
I'd like to be a great golfer too.
Since I have been able to manipulate paragraphs next to other tables
in my web I was wondering why I couldn't here (on that page). I was
under the assumption that something was hidden and locked.
Catt

Hi,
I am not the esteemed Murray, but it occurs to me that what he said was:
Add margin-right:20px; to the style for the table spec.

I, like Murray, also dont use FP much, but isn't this an option in FP when
you set up a table. That is, can't you click on Table properties and set the
margin from a prompt box in FP ?

Hmm, I just checked that myself and there is no "margin" setting.

However, all you have to do is click on the HTML or Code tab and your code
will appear.

The code for your table will read
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse; float:left;"
bgcolor="#FF0000" bordercolordark="#FFCC33" bordercolorlight="#FFCC33">

Just cut the above and paste it before the closing tag so that it reads as
shown by Murray

<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse; float:left; margin-right:20px;"

bgcolor="#FF0000" bordercolordark="#FFCC33"
bordercolorlight="#FFCC33">

The change is at the end of the second line (if it doesn't wrap when sent).
Just in case it does wrap, I left a gap to show where it is to be inserted
 
M

Murray

Interestingly, I cannot find a way in FP2003 to add such margins to a table
tag. But you can do so to a paragraph tag, however the trick would be to
include the width of the table in the margin on the <p> tag (which is why I
elected to use the table margin instead).

In your case, you would click in the paragraph of text, drop down the
context menu on the <p> tag listed above layout view by first hovering over
it, and then clicking on the dark arrowhead that appears when you do, and
choosing Tag Properties. Then you would set the value of "Indentation
Before Text" to the width of the table PLUS the margin you desire - in your
case, I would try 492px.

Since the table is floated to the left, the <p> tag containing the text must
be offset from the left margin of the page, not the right margin of the
table.
 
G

Guest

Thanks all. I understand better now.
Catt

Murray said:
Interestingly, I cannot find a way in FP2003 to add such margins to a table
tag. But you can do so to a paragraph tag, however the trick would be to
include the width of the table in the margin on the <p> tag (which is why I
elected to use the table margin instead).

In your case, you would click in the paragraph of text, drop down the
context menu on the <p> tag listed above layout view by first hovering over
it, and then clicking on the dark arrowhead that appears when you do, and
choosing Tag Properties. Then you would set the value of "Indentation
Before Text" to the width of the table PLUS the margin you desire - in your
case, I would try 492px.

Since the table is floated to the left, the <p> tag containing the text must
be offset from the left margin of the page, not the right margin of the
table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top