HighDots Forums  

Paragraph to the right of a table?

alt.html alt.html


Discuss Paragraph to the right of a table? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin
 
Posts: n/a

Default Paragraph to the right of a table? - 09-06-2004 , 12:03 AM






I have a page with a small table centered in it (align='center'). I
would like to have a paragraph located just to the right of the table.
Can someone tell me how to specify the location of the paragraph?

Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Paragraph to the right of a table? - 09-06-2004 , 12:23 AM






On Sun, 05 Sep 2004 21:03:42 -0700, Martin <martinvalley (AT) comcast (DOT) net>
declared in alt.html:

Quote:
I have a page with a small table centered in it (align='center').
Deprecated. Use CSS. margin: 0 auto;

Quote:
I
would like to have a paragraph located just to the right of the table.
float: right;

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Paragraph to the right of a table? - 09-06-2004 , 03:01 AM



Mark Parnell <webmaster (AT) clarkecomputers (DOT) com.au> wrote:

Quote:
On Sun, 05 Sep 2004 21:03:42 -0700, Martin <martinvalley (AT) comcast (DOT) net
declared in alt.html:

I have a page with a small table centered in it (align='center').

Deprecated. Use CSS. margin: 0 auto;
Which has essentially more limited browser support, but maybe it doesn't
matter.

Quote:
I would like to have a paragraph located just to the right of the
table.

float: right;
And set a width for the paragraph, e.g. width: 13em. But test the
situation. Floats often misbehave when horizontal space is tight, so the
page should be tested in a fairly narrow browser window too.


--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Reply With Quote
  #4  
Old   
Spartanicus
 
Posts: n/a

Default Re: Paragraph to the right of a table? - 09-06-2004 , 05:04 AM



Martin <martinvalley (AT) comcast (DOT) net> wrote:

Quote:
I have a page with a small table centered in it (align='center'). I
would like to have a paragraph located just to the right of the table.
Can someone tell me how to specify the location of the paragraph?
If by "just to the right side of the table" you mean that the paragraph
content's left edge should be adjacent to the table's right edge, then
this is not reliably possible.

It could only work if the table is a fixed width, you'd then have to
create a 3 column layout, size the middle column the same as the table
width, let the left and right column take up the remaining space, and
place the paragraph in the right column.

--
Spartanicus


Reply With Quote
  #5  
Old   
Martin
 
Posts: n/a

Default Re: Paragraph to the right of a table? - 09-06-2004 , 11:48 AM



On Mon, 06 Sep 2004 10:04:01 +0100, Spartanicus <me (AT) privacy (DOT) net>
wrote:

Quote:
Martin <martinvalley (AT) comcast (DOT) net> wrote:

I have a page with a small table centered in it (align='center'). I
would like to have a paragraph located just to the right of the table.
Can someone tell me how to specify the location of the paragraph?

If by "just to the right side of the table" you mean that the paragraph
content's left edge should be adjacent to the table's right edge, then
this is not reliably possible.

It could only work if the table is a fixed width, you'd then have to
create a 3 column layout, size the middle column the same as the table
width, let the left and right column take up the remaining space, and
place the paragraph in the right column.
Excellent - exactly what I was looking for. Thanks.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.