elastic image not resizing |
elastic image not resizing |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Apr 2008 Member No: 639,679 ![]() |
Hi
This is the site Im working on: http://astoryuntold.netau.net/index.html On the top frame, I have an image background set in a div with the width at 100%, so if you maximize/minimize the browser or have lower or higher resolution, the image will auto adjust itself to fit...since the background image width is equal to the width of the browser its fine, and I dont get the problem I have below... But the other image - the name... its not the width of the browser of course. And when I try to apply the same code...its stretching the image to equal 100% browser width - not what I want. So in this case the width at 100% attribute is not what I need... and Im not sure what other code to put to tell the image to be 'elastic' or 'liquid' or whatever its called... its funny because when I was looking for code how to do it with background images I kept reading how you couldnt do it for background, only with regular images... and then when I search for regular images all I find is doing it for backgrounds... lol |
|
|
![]() |
![]()
Post
#2
|
|
![]() Offline. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 609 Joined: Mar 2007 Member No: 507,591 ![]() |
instead of using width:100%; you can use something like width: 200px; or something like that for the name or something.
I hope that what you mean. btw: the width: 100%; auto reside the element that it is applied too to the with of the containing div or if it's not in a div then the page width. |
|
|
![]() ![]() |