Topic: Tables to one Side (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9514" title="Pages that link to Topic: Tables to one Side (Page 1 of 1)" rel="nofollow" >Topic: Tables to one Side <span class="small">(Page 1 of 1)</span>\

 
Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-03-2002 23:26

I have a question: I know you can put IMAGES to the side of text, sorta so the text indexes around it and then flows regularly before and after. I was wondering, is it possible to do that with a table? And is it possible to make a table only a certain size so that the text doesn't cover the entire screen? I read the w3schools html stuff on tables and well, maybe I missed this but I didn't see it. If you have a link that would explain this better, please direct me to it, I don't want to waste anyone's time.

Thanks again!

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu
http://www.geocities.com/genevievescu/

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-04-2002 00:02

As with any block level element, if you set float:left; (or float:right) for it with CSS, it should float like an image can. In more recent browsers, at least.

To give it a specific width, merely setting width:100px; or whatever should do the trick.

To keep space between the table and the text, mess around with padding values in the same CSS sheet.

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-04-2002 00:10

Thanks! I'll give it a go-to and see what I can do. If I have any questions or problems, I know where to take them!

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu/
http://www.geocities.com/genevievescu/

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-05-2002 00:34

You may want to check this out



.:[ Never resist a perfect moment ]:.

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-05-2002 18:10

Cool tutorial! Much better than the w3 one or one other one I found. Thanks!! ^_^ ::all happy:::

Genevieve<---that's me!!
Jinxed<--------that's me too(in description form)!!

Wowzers! o.O
Visit my cell! http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=754&sortby=rating

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-05-2002 18:36

What I don't like about that tutorial is that it gives the example

code:
<TABLE BORDER=1>
<TR>
<TD ROWSPAN=3>xxxxxx</TD>
</TR>
<TR>
<TD>xxxxxx</TD>
</TR>
<TR>
<TD>xxxxxx</TD>
</TR>
</TABLE>



to create an effect that *should* be created with

code:
<TABLE BORDER=1>
<TR>
<TD ROWSPAN=2>xxxxxx</TD>
<TD>xxxxxx</TD>
</TR>
<TR>
<TD>xxxxxx</TD>
</TR>
</TABLE>

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-05-2002 22:09

Is one way better than the other?

align=left vs float:left;

Does it make any difference at all?

[edit: hehe, didn't quite say what I wanted it to say the first time]

Genevieve<---that's me!!
Jinxed<--------that's me too(in description form)!!

Wowzers! o.O
Visit my cell! http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=754&sortby=rating

[This message has been edited by Genevieve (edited 09-05-2002).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-05-2002 22:12

align="left" is an HTML attribute, which is deprecated in HTML 4.01 and XHTML. float:left is a CSS style attribute which has the same effect.

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-05-2002 22:15

Oh! So I guess I'd better change all my stuff to use the css version of it. I don't want new browsers to not be able to read the page. The css can be read by older browsers, right? Or should I use both jic?

Genevieve<---that's me!!
Jinxed<--------that's me too(in description form)!!

Wowzers! o.O
Visit my cell! http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=754&sortby=rating

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-05-2002 22:28

New browsers understand old coding techniques. If it were my page, I'd use the CSS, because I think it's more the "right" thing to do. But you may consider older browsers to be more important than that. So you'll have to decide for yourself =)

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-06-2002 00:28

So the older browsers will simply see the table as if I never had anything telling it to move to one side or the other, but newer browsers will show it correctly, right?

Genevieve<---that's me!!
Jinxed<--------that's me too(in description form)!!

Wowzers! o.O
Visit my cell! http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=754&sortby=rating

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 09-06-2002 20:07

'legacy'


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-06-2002 20:10
quote:
'legacy'



lol...huh?

Genevieve<---that's me!!
Jinxed<--------that's me too(in description form)!!

Wowzers! o.O
Visit my cell! http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=754&sortby=rating



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu