Do you know??

He has: 490 posts

Joined: May 2005

Does anyone know a way?. To make an image in the sidebar of a page, hold position as the resolution changes. I want it at/near the bottom, I have tried every way I can find. I really don’t think it can be done. I don’t mean anchoring it between anything, just floating it to the bottom by its self. Confused

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

I am not very good at css but I think this could work

#test {
position:fixed;
bottom:50px;
left:0px;
height:45px;
width:150px;
background-color:#666666;
}

testing it out

Hey, hey, lucky you, you get to be my 1000 post here at TWF. Smiling

He has: 490 posts

Joined: May 2005

Nope! I didn't think it would. I had tried everything except fixed, so not wanting to leave a stone un-turned, I tried it. It did help with one thing, I noticed I had no rule for L - side captions, fixed that.

What the picture has to do is hold bottom position, as the size of that panel changes with different resolutions. So it needs to float, but there is no float bottom rule. I read something about a div. inside a div. once, but cant remember. Smiling

PS#
This looks like it may be a case for Super Java man. But outside of Aprils A1 javascripts, I know didly about it. Besides I would just as soon take rat poison as to use java on my pages.

Busy's picture

He has: 6,151 posts

Joined: May 2001

It can be done, didn't geocities or yahoo or someone have that floating watermark thingy - always stayed at bottom.

Could always use tables Wink

demonhale's picture

He has: 3,278 posts

Joined: May 2005

use DHTML, or javascript, it can be done...

He has: 490 posts

Joined: May 2005

I have already tried a table, you can shove it to the bottom with but when the template shortens at 1024, it all goes south of the border, Smiling .

I have a script for both floating thingys, jump top, and floating menu. They wont work because they are transparent images, on a layer, not pictures. Besides they don't always float, sometimes they sink, and they are jerkier than a 90 year old man.

I found a J script that re-sizes a pix to the available space, on resolution change. But its got more code in it than two web pages. Been to Dynamic drive looking for DHTML script but -- don't got none. Sad

Like I said I found something about two div's, one at fixed deminsions, and the other floating in it. Not sure that would work but it might. Confused

It all would be real simple - if there was such a thing as "float-bottom: left;". Some of these browser wizards should have thought of that long ago. Because you never know what some idiot - "like me" is going to want to do. Laughing out loud

They have: 9 posts

Joined: Apr 2006

put the cell properties to default top of cell .. everything will rise to top evenly in theory

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

It's possible to position a background. Would that work?

http://www.w3schools.com/css/pr_background-position.asp

I'm not sure how well those x & y values are supported but it could be worth a try anyway.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.