Ian Young wrote: >> Subject: Re: [css-d] Fluid images >> >> > >>> Have rewritten a fixed design to be more fluid and therefore to be more >>> cross browser friendly. The layout was the easy part but there are a few >>> images which in standard format would not be fluid. >>> >>> I was looking at meyerweb.com where the masthead changes its >> size depending >>> on resolution. As it is done by Eric, I have to assume that it is a CSS >>> solution. Also, the varying sizes do not appear to be determined by ems >>> which would have an effect on sharpness of the image. >>> >>> I note that this is done by using a background image. So how is >> it done and >>> does it have to be a background image? >> I don't know, but it looks to me like he has a wide background image >> centered horizontally inside a div. When I widen my browser window to >> full width (1280px), I see more of the image - not a stretched or larger >> version of the image. >> >> -- > > Thanks, David > > It looks like that. So the solution only works with backgorund images. > Now then! I now to need to find a way of having changing background images, > as one can have using JavaScript.
I don't know what might happen if you put an img inside the div, made the image wider than the div, positioned the img properly, and set the div to overflow:hidden. Maybe that would do it? -- David [EMAIL PROTECTED] authenticity, honesty, community ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
