Positioning html elements with respect to each other...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
K-Z
Forum Commoner
Posts: 29
Joined: Mon Jul 05, 2010 9:03 am

Positioning html elements with respect to each other...

Post by K-Z »

Hi....can anyone tell me how to position any html element with respect to any other html element?? I have read absolute and relative positioning but none of them supports my requirement. Relative positioning positions an element with respect to its original one.... :( :( ....is there a way??
rhecker
Forum Contributor
Posts: 178
Joined: Fri Jul 11, 2008 5:49 pm

Re: Positioning html elements with respect to each other...

Post by rhecker »

You do not explain why absolute positioning isn't working for you. Perhaps you should show your code.

You may also want to consider using floating instead of absolute positioning. It's an alternative layout method.

http://css-discuss.incutio.com/wiki/Abs ... oat_Layout

And by the way this is a PHP CODE forum.
Post Reply