OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Right Align a Block Element within another Block Element
This page's ID:
22827
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
That works, but I need it to act more like a layer... so that text can appear over the top of it. I found no way to align right, but did discover that within a block element absolute blocks will align according to the parent element as long as you don't use: top and left, but will align correctly with margin-left and margin-top. So, the answer for me is to calculate the difference of the parent width and the absolute block width and set the margin-left property. Problem with this: I am forced to *know* the parent width. What If I don't know the parent width? It would be nice to be able to float this layer to the right of the parent.... any clues how to do this? Karl
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »