Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > * Ultra Newbie HTML Question *

Reply
Thread Tools

* Ultra Newbie HTML Question *

 
 
Julia Briggs
Guest
Posts: n/a
 
      11-29-2003
Hello, I have (hopefully for one of you) a fairly un-difficult table
problem. I am pretty good at HTML, but this one has been bugging me
out to get working -- so here it goes, hopefully *there* is a
high-level expert out there who can solve this!

I have a bunch of stuff wrapped in a table that goes through a
loop....

TABLE LOOP>

<table>
Bunch of PHP code, nestested tables, graphics, queries database, etc..
</table>


So the loop runs and runs, and as it is each table stacks on top of
each other vertically -- as it normally would if you put two tables
side by side... but I would rather have them literally appear next to
each other on the screen. Now obviously I know you can't put tables
explicitly side by side and expect that... so what I would like to do
is wrap something around this table chunk in order to have them flow
out to the right -- AND depending on the size of the open browser,
shuffle them underneath each other as well so all of the available
screen space is optimized.

I hope someone out there can give me an approach to get this working
or my project is going to hell! )

Thanks!!!!

Sincerely,

Julia Briggs
 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      11-29-2003
in post <news:. com>
Julia Briggs said:

> So the loop runs and runs, and as it is each table stacks on top of
> each other vertically -- as it normally would if you put two tables
> side by side... but I would rather have them literally appear next to
> each other on the screen.


table{display:inline;} but browser implementation is a bit dodgy (or non
existent)

<style type="text/css">table{display:inline;}</style>

<table><tr><td>table 1</td></tr></table>
<table><tr><td>table 2</td></tr></table>
<table><tr><td>table 3</td></tr></table>
<table><tr><td>table 4</td></tr></table>


--
brucie
29/November/2003 06:17:23 pm
 
Reply With Quote
 
 
 
 
Spartanicus
Guest
Posts: n/a
 
      11-29-2003
brucie wrote:

>table{display:inline;}


Or the correct way: table{display:inline-table}

>but browser implementation is a bit dodgy (or non existent)


Indeed, only Opera supports inline-table, which is why a hack is
required:

table.inline{display:inline-table}
..inline{display:inline}

<table class="inline">

A proper UA will use inline-table (Opera), less capable clients
(Mozilla, IE) will use inline.

--
Spartanicus
 
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




Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57