header image not resizing
Permalink
hello all,
I am having a problem with my header image not resizing.
I am using zenlike 1.0 theme.
I have resized '#headerpic' in the css and have added a picture to the header section using the image block.
When I resize my browser the image does not scale down.
(It does scale down in edit preview mode, but not after I commit to edits)
Am I missing something?
Is there a way to tell the image block to scale the image to 100% as apposed to just max pix's?
(I don't want to hardcode the image into css or html as I want to change the image per page)
Thanks a lot,
first site with c5, and loving it so far.
Cheers,
Post
I am having a problem with my header image not resizing.
I am using zenlike 1.0 theme.
I have resized '#headerpic' in the css and have added a picture to the header section using the image block.
When I resize my browser the image does not scale down.
(It does scale down in edit preview mode, but not after I commit to edits)
Am I missing something?
Is there a way to tell the image block to scale the image to 100% as apposed to just max pix's?
(I don't want to hardcode the image into css or html as I want to change the image per page)
Thanks a lot,
first site with c5, and loving it so far.
Cheers,
Post
in order for it not to extend outside the parent DIV you need to set it's attributes to "inherent" and have those width/height features on the parent DIV - then the image will be whatever size you need it too..
in CSS3 you can also apply the "scale" and "clipping" tag - my preference. In this was a random header image will always fit no mater how fluid the design as ratio of width and height remain constant.