OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
placing images...
This page's ID:
25918
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I don't think anyone mentioned this, but if you have to use absolute positioning, there is one fundamental trick you need to be aware of. Absolute positioning is always calculated from the closest 'positioned' ancestor element. So if you haven't specified a position attribute for any elements, absolute positioning will be calculated from the document window. To work around this, you can explicitly specify any element as position: relative, which is the default behaviour, but stating it explicitly will reset the absolute positioning starting point for any element within it. So you could apply position: relative to the table cells and then use absolute positioning on the images within. Of course, you don't necessarily have access to add a class or id to the table cells, so instead just put wrapper divs inside the cells that are position: relative then you should be good to go. This is only a last resort though. The background method is much more reliable in general, so I'd try to get that working first. -jiblet [small](Edited by [internallink=177]jiblet[/internallink] on 06-01-2005 16:16)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »