Re: [css-d] Positioning images within a table cell

2011-02-10 Thread Geoff Lane
On Thursday, February 10, 2011, 3:16:08 AM, "G.Sørtun" wrote: > If you intend to keep the form wrapped around the table like in your > example, you can position relative to that form. > If not you have to wrap a div around the table and position relative to > that div. Many thanks, George. I pro

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread G.Sørtun
> Georg's solution relied on the table being at the top of the page. > To fix it, add a "position:relative" rule to the table. Then his > solution should work beautifully. I tried adding "style='position:relative;'" to the opening table tag with no discernible effect. Of course it didn't, sinc

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Geoff Lane
On Wednesday, February 9, 2011, 7:02:39 PM, Tim Climis wrote: > Georg's solution relied on the table being at the top of the page. To > fix it, add a "position:relative" rule to the table. Then his > solution should work beautifully. --- Thanks. I tried adding "style='position:relative;'" to t

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Paul Burney
> Georg's solution relied on the table being at the top of the page.  To > fix it, add a "position:relative" rule to the table.  Then his > solution should work beautifully. That would work in most browsers, but not Firefox*. If you enclose your table in a div with a "position: relative" rule, you

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Tim Climis
> > Maybe this will do... > > > --- > > My initial reaction was, "Wow! Many thanks for that!" It seems so > simple yet seems to work in FF, IE, Chrome, and Opera. Yet when I > tried something similar the images in the right-hand column were all >

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Geoff Lane
On Wednesday, February 9, 2011, 5:46:28 PM, "G.Sørtun" wrote: > Maybe this will do... > --- My initial reaction was, "Wow! Many thanks for that!" It seems so simple yet seems to work in FF, IE, Chrome, and Opera. Yet when I tried something simil

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Dan Kaufman
Nicely done. Dan K. -Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of "G.Sørtun" Sent: Wednesday, February 09, 2011 9:46 AM To: css-d@lists.css-discuss.org Subject: Re: [css-d] Positioning images within a

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread G.Sørtun
On 09.02.2011 13:18, Geoff Lane wrote: Any further help gratefully received. Maybe this will do... regards Georg __ css-discuss [css-d@lists.css-discuss.org] http

Re: [css-d] Positioning images within a table cell

2011-02-09 Thread Geoff Lane
On Tuesday, February 8, 2011, 11:22:33 PM, Eric A. Meyer wrote: > So, as Paul says, throw a div in there, gritting your teeth about > the crufty markup if necessary, and relatively position the div. If > you want to position in relation to the right or bottom edges of the > cell, you may h

Re: [css-d] Positioning images within a table cell

2011-02-08 Thread Eric A. Meyer
At 4:51 PM -0500 2/8/11, Paul Burney wrote: It sounds like you need to set position: relative on the td element. That way, it will establish a system of coordinates for "absolutely" positioned elements inside it - i.e., they will be positioned relative to the upper left corner of the cell.

Re: [css-d] Positioning images within a table cell

2011-02-08 Thread Paul Burney
> It sounds like you need to set position: relative on the td element. That > way, it will establish a system of coordinates for "absolutely" positioned > elements inside it - i.e., they will be positioned relative to the upper > left corner of the cell. I believe this is correct, but if I recall

Re: [css-d] Positioning images within a table cell

2011-02-08 Thread Jukka K. Korpela
Geoff Lane wrote: I'm trying to put together a map-driven interface. An embryonic example is at http://www.gjctech.co.uk/test/test.php (.) The 'work in progress' CSS stylesheet is at http://www.gjctech.co.uk/test/csw.css The map consists of a number of tiles, each in a table cell. At each verti

[css-d] Positioning images within a table cell

2011-02-08 Thread Geoff Lane
Hi All, I'm trying to put together a map-driven interface. An embryonic example is at http://www.gjctech.co.uk/test/test.php (.) The 'work in progress' CSS stylesheet is at http://www.gjctech.co.uk/test/csw.css The map consists of a number of tiles, each in a table cell. At each vertical edge of