n.nsharma215 Posted April 15, 2009 Share Posted April 15, 2009 Hi,I am making liquid layout.standard width is 800px.But now problem is that my header is having Animation in javascript consist of images.Now,How can I make that animation or image liquid.Please help Link to comment Share on other sites More sharing options...
Synook Posted April 15, 2009 Share Posted April 15, 2009 You can either stretch the image, tile it, or use background-color to extend a single color beyond the boundary of the image. To stretch the image you can give it a percentage width, to tile it you can make it a background-image using CSS and use the repeat: property, and to extend a single color you can give the container a background-color. Link to comment Share on other sites More sharing options...
n.nsharma215 Posted April 15, 2009 Author Share Posted April 15, 2009 You can either stretch the image, tile it, or use background-color to extend a single color beyond the boundary of the image. To stretch the image you can give it a percentage width, to tile it you can make it a background-image using CSS and use the repeat: property, and to extend a single color you can give the container a background-color.Thanks for reply,I cant use any background color as the image is not graphic it is a pic.The image size is very big ..I have keep the image size in css 100% on higer resoltuin it is coming fine but when viewing on low resolution the image is croping from side.which I dont want.Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted April 15, 2009 Share Posted April 15, 2009 It's usually not a good idea to have large images on your site unless the image itself is what the visitor is looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.