This is a discussion on "Is it possible to position something relative something else?" within the Web Page Design section. This forum, and the thread "Is it possible to position something relative something else? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Is it possible to position something relative something else?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Is it possible to position something relative something else?
I want to postition an image a certain number of pixel away from the top-left corner of the image behind it; so that if somebody changes their screen resolution it still apears in the same spot (the image behind it is centered on the page).
|
|
|
|
|||
|
Re: Is it possible to position something relative something else?
www.lets-duel.com/school_site/index2.html
where the red x is, is going to be a javascript slide show, but whenever you change screen resolution it moves, but i want to know how to postition it in relation to the image behind, so that no matter what screen resolution, it still appears in the same place |
|
||||
|
Re: Is it possible to position something relative something else?
Margin and position will both work. Just add CSS to the images or put the images in a <div>.
|
|
|||
|
Re: Is it possible to position something relative something else?
What i mean is i want the banner centered, so that it's centered in all screen resolutions, but when the banner is centered, when the screen resolution changes it moves, but since the javascript slideshow is is positioned with pixels, it stays the same amount of pixels from the left and top. I want it to be positioned so that if the banner moves, the slideshow will move with it, but i have no clue how to do that. Also, if you know any, could you post a link to a tutorial on what i need to do this.
|
|
||||
|
Re: Is it possible to position something relative something else?
Then put it in a fixed width div that's centered. Then it will always be x pixels from the left of the div it's in.
|
|
|||
|
Re: Is it possible to position something relative something else?
How do i do that?
|
![]() |
| Tags |
| positioning |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| relative linking in php | sudhakararaog | PHP Forum | 1 | Mar 12th, 2008 23:43 |
| Can <span></span> tags have position relative? | Oak | Web Page Design | 13 | Mar 9th, 2008 17:04 |
| relative position problem | antonyx | Web Page Design | 12 | Dec 30th, 2005 21:19 |
| can layers be relative? | warmer | Web Page Design | 0 | Nov 8th, 2005 18:42 |
| Relative div Height (NOT POSITION) | Amin | Web Page Design | 1 | Jul 5th, 2005 20:07 |