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
vertical edge of the map is a full-height table cell. What's vexing me
is trying to find a way to position the '+' and '-' controls at the
top of the right-hand cell while keeping the 'scroll right' control in
the centre of the same cell.
[...]
I've tried using position:absolute, but that
positions the controls absolutely on the page while I need them
positioned relative to the top edge of the table cell.

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.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to