is there a code to place an image on a webpage but instead of using like <div align="center"> use x=542 y=321 something like that?
| SitePoint Sponsor |




is there a code to place an image on a webpage but instead of using like <div align="center"> use x=542 y=321 something like that?
Animated Chatrooms - www.121chatrooms.net
What could this POSSIBLY have to do with PHP?
Like this?
or perhaps:Code html4strict:<style type="text/css"> #mydiv { position: absolute; top: 321px; left: 542px; } </style> <div id="mydiv"></div>
Not sure what you're trying to do exactly.Code html4strict:<style type="text/css"> #mydiv { padding-top: 321px; padding-left: 542px; } </style> <div id="mydiv"></div>
Saul


Hi,
As mentioned above you need to explain what you are trying to do exactly
You can move elements around the page with a variety of positioning systems but it all depends on the situation as to which is the right method.
If you want the element removed from the flow then absolute positioning is the way to go. If you want the element tied to a specific starting point and then offset some distance you would need to set a stacking context on a suitable parent using (most likely) position:relative.
If you just want to push things around but maintain the flow you could simply use padding or margins.
We would need more information to be more specific![]()
www.pmob.co.uk CSS FAQ 3 col demo Read My CSS Articles
Ultimate CSS Reference
Check out SitePoint's latest JavaScript challenge
Bookmarks