valentine
04-02-2011, 01:52 PM
I have an additional problem. I want the back link to follow the edge of the page when resizing.
The back button is in its own div and container
#backcontainer {
position:relative;
width: 989px;
padding: 0px 0px 0px 20px;
margin: 0 auto;
}
and within this
#back {
position:fixed;
bottom:15px;
z-index:+110;
}
here is a working example
http://test.venndiagram.eu/backbuttontest.html
If I set the padding on the container to 20px to the left then the back link only aligns to the edge of the page when the browser is smaller than the site, (this is the way I want it to look like).
http://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135427.png
The moment I resize it to be bigger than the size of the site the back link moves about 15px right of the edge of the page
hhttp://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135448.png
If I remove the padding on the container:
#backcontainer {
position:relative;
width: 989px;
padding: 0px 0px 0px 0px;
margin: 0 auto;
}
then when the brower is bigger than the site the back link is aligned to the edge of the page (as I want it to be) but when you resize the browser to less than the width of the page it just moves right to the edge of the browser as in here
http://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135416.png
see a working example of the site here.
http://test.venndiagram.eu/backbuttontest.html
Can anyone be so kind to help me with this. I've tried everything. Many thanks in advance
Jordi
The back button is in its own div and container
#backcontainer {
position:relative;
width: 989px;
padding: 0px 0px 0px 20px;
margin: 0 auto;
}
and within this
#back {
position:fixed;
bottom:15px;
z-index:+110;
}
here is a working example
http://test.venndiagram.eu/backbuttontest.html
If I set the padding on the container to 20px to the left then the back link only aligns to the edge of the page when the browser is smaller than the site, (this is the way I want it to look like).
http://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135427.png
The moment I resize it to be bigger than the size of the site the back link moves about 15px right of the edge of the page
hhttp://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135448.png
If I remove the padding on the container:
#backcontainer {
position:relative;
width: 989px;
padding: 0px 0px 0px 0px;
margin: 0 auto;
}
then when the brower is bigger than the site the back link is aligned to the edge of the page (as I want it to be) but when you resize the browser to less than the width of the page it just moves right to the edge of the browser as in here
http://i22.photobucket.com/albums/b304/heliosvk/Screenshot2011-04-02at135416.png
see a working example of the site here.
http://test.venndiagram.eu/backbuttontest.html
Can anyone be so kind to help me with this. I've tried everything. Many thanks in advance
Jordi