Topic: Tables to one Side (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() 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. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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. |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() 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! |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() You may want to check this out |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() Cool tutorial! Much better than the w3 one or one other one I found. Thanks!! ^_^ ::all happy::: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() What I don't like about that tutorial is that it gives the example code: <TABLE BORDER=1>
code: <TABLE BORDER=1> |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() Is one way better than the other? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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. |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() 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? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 =) |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() 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? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() 'legacy' |
Paranoid (IV) Inmate From: Santa Clara, CA, USA |
![]() quote:
|