csshelp
12-08-2006, 08:14 PM
I would like my icons to always be in the same place, to the right, no matter what resolution. the site is not set to expand, it is "stuck"/specified at 780px wide.
How can I achieve this? The icons are currently 32x32 pixels.
Here is some code I hacked up, but it doesn't work the way I would like. Everytime the res is change the icons move out of the place I would like them to stay.
I hope this is clear, and can be done,
Thanks.
CSS code
#icons {
position:absolute;
z-index:10;
left:90%;
top:1px;
}
also here is my container code so you can get a better idea of whats going on.
#container {
width:760px;
border: 1px solid #000000;
margin: 0 auto;
height: auto;
}
Html Code
<div id="icons">
<img src="images/icon.gif" />
<img src="images/icon.gif" />
</div>
How can I achieve this? The icons are currently 32x32 pixels.
Here is some code I hacked up, but it doesn't work the way I would like. Everytime the res is change the icons move out of the place I would like them to stay.
I hope this is clear, and can be done,
Thanks.
CSS code
#icons {
position:absolute;
z-index:10;
left:90%;
top:1px;
}
also here is my container code so you can get a better idea of whats going on.
#container {
width:760px;
border: 1px solid #000000;
margin: 0 auto;
height: auto;
}
Html Code
<div id="icons">
<img src="images/icon.gif" />
<img src="images/icon.gif" />
</div>