Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon Auto resize image to fit client area

6 years 2 months ago #4708 by maxcr73
when browser starts is there a way to fit automatically the image into the client area?

I've tried this great component but on some computers images are greater than monitor resolution so scroll bars appears on browser. Can image auto resized?



Please Log in to join the conversation.

6 years 2 months ago #4721 by ivan.milic
You can put image width or height to around 100%. Around is because you have parent tag padding and image margin , so 100% would be only if image margin is 0, and padding of it's parent is 0 - otherwise scrollbars appear or part of image becomes cut off depending on many things...

To preserve ratio of image you must set this only to one dimension (chose width or height)

Do this from css or using style attribute.

Please Log in to join the conversation.

Time to create page: 0.098 seconds

Links, Partners and Social Media