[phpug] Re: Table to CSS

2009-05-16 Thread Pete McVicar
Are attempting to do something like this? http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ 2009/5/15 Simon Holywell si...@holywell.com.au: Not sure I understand what you mean; though these rows have no effect on the background like the table did.  Do you have a demo URL?

[phpug] Re: Table to CSS

2009-05-16 Thread Michael
Thanks for the assistance so far. I am making good progress and I have gotten to the point where the table tag does not exist anywhere in code. Now what I need to know is how to get a (small) div to align itself in the bottom right hand corner of the (large) div it's within. Can I do this

[phpug] Re: Table to CSS

2009-05-16 Thread Nathan Cox
If the larger div has position:absolute or position:relative you can do this: #SmallDiv { position:absolute; right:0; bottom:0; } Michael wrote: Thanks for the assistance so far. I am making good progress and I have gotten to the point where the table tag does not exist anywhere

[phpug] Re: Table to CSS

2009-05-16 Thread Keri Henare
How dare you not mention http://www.alistapart.com/ --- Keri Henare [e]k...@henare.co.nz [m]021 874 552 [w]www.kerihenare.com On 17/05/2009, at 6:55 AM, Michael Adams wrote: On Sat, 16 May 2009 23:56:38 +1200 Came this utterance

[phpug] Re: Table to CSS

2009-05-16 Thread Nathan Cox
I would say an ul would be most appropriate here, since it's a list of products. The fact that they're in a table-shapped grid is just coincidental. Stig Manning wrote: Michael wrote: What I had previously was a tableless page layout, with a table to display products in 2 rows of 5

[phpug] Re: Table to CSS

2009-05-15 Thread Simon Holywell
float: left? 2009/5/15 Michael ph...@nettrust.co.nz I am converting a tabled layout to pure CSS... With tables, the DIV's went like this: X X X X X X X X X X Now they're like this: X X X X X etc What CSS option to I use for these DIV's to line them up in a row again?

[phpug] Re: Table to CSS

2009-05-15 Thread Michael Adams
On Sat, 16 May 2009 01:51:56 +1200 Came this utterance formulated by Michael to my mailbox: What CSS option to I use for these DIV's to line them up in a row again?(previously achieved within a TR) CSS tables: http://www.google.com/search?q=css+tables -- Michael All shall be well, and all

[phpug] Re: Table to CSS

2009-05-15 Thread Craig Cochrane
Michael #divid{ float:left; } - Original Message - From: Michael ph...@nettrust.co.nz To: nzphpug@googlegroups.com Sent: Saturday, May 16, 2009 1:51 AM Subject: [phpug] Table to CSS I am converting a tabled layout to pure CSS... With tables, the DIV's went like this: X X X X

[phpug] Re: Table to CSS

2009-05-15 Thread Sid Bachtiar
If you ask this question, you should probably get someone with CSS skills. It can be achieve with simple float: left but there are a barrage of other techniques depending on the situation. On Sat, May 16, 2009 at 1:51 AM, Michael ph...@nettrust.co.nz wrote: I am converting a tabled layout to

[phpug] Re: Table to CSS

2009-05-15 Thread S . Mohammed Alsharaf
class=tdA/div div class=tdA/div div class=tdA/div /div div /body /html hope it helps Mohammed Alsharaf http://www.safitech.com Date: Sat, 16 May 2009 08:09:40 +1200 Subject: [phpug] Re: Table to CSS From: sid.bacht...@gmail.com To: nzphpug@googlegroups.com If you ask

[phpug] Re: Table to CSS

2009-05-15 Thread Keri Henare
div style=overflow: hidden; div style=float: left;One/div div style=float: left;Two/div div style=float: left;Three/div /div Using overflow: hidden; (or sometimes overflow: auto; if preferred) causes the container element to take into consideration the dimensions of elements which are