![]() ![]() |
| refreblast |
Mar 9 2012, 04:40 PM
Post
#1
|
|
Group: Members Posts: 5 Joined: 9-March 12 Member No.: 16,668 |
I am working on a website that is mainly and image, but there is an image rotator thrown in there. I figured out how to have the image center properly but now, the image rotator is off always in the top corner and I cant use "position: absolute" because people have different resolutions. Am I able to make the position absolute within the <div> tag instead of within the page as a whole. Everything within <body> is in one large <div> tag anyway. I am at a loss right now.
I can't include the URL as no one is suppose to see the website before it is released. |
| Christian J |
Mar 9 2012, 04:44 PM
Post
#2
|
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 4,838 Joined: 10-August 06 Member No.: 7 |
I cant use "position: absolute" because people have different resolutions. You might be able to with percent units. QUOTE Am I able to make the position absolute within the <div> tag instead of within the page as a whole. Yes, if you make the DIV "position: relative". |
| refreblast |
Mar 9 2012, 04:50 PM
Post
#3
|
|
Group: Members Posts: 5 Joined: 9-March 12 Member No.: 16,668 |
I cant use "position: absolute" because people have different resolutions. You might be able to with percent units. QUOTE Am I able to make the position absolute within the <div> tag instead of within the page as a whole. Yes, if you make the DIV "position: relative". I tried that and it did not work. I set the #page div as position:relative and I set its height and width to that of the image that occupies it, and it did not effect the position of the image rotator |
| pandy |
Mar 9 2012, 05:24 PM
Post
#4
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,803 Joined: 9-August 06 Member No.: 6 |
So did you position the image rotator and is it inside #page?
Can you post the URL to a sample page with what you've got so far, use a temp URL? That would make things a lot easier. -------------------- |
| refreblast |
Mar 11 2012, 02:01 PM
Post
#5
|
|
Group: Members Posts: 5 Joined: 9-March 12 Member No.: 16,668 |
There is the code. I cant post the URL because my webhost is down at the moment and I am unaware of when it will be back up. This post has been edited by refreblast: Mar 11 2012, 02:02 PM |
| pandy |
Mar 11 2012, 06:11 PM
Post
#6
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,803 Joined: 9-August 06 Member No.: 6 |
Nothing is positioned relative here. If it's in the linked style sheet we can't see it. Neither can we see what the scripts do.
-------------------- |
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 06:46 AM |