[Skip to main content](#vessel-content)

#   Problem with width auto in chrome

##

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

14 years 1 month ago [\#65151](#65151) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  *[Problem with width auto in chrome](/forum/2-general-talk-about-hikashop/65151-problem-with-width-auto-in-chrome#65151 "I dont know since when i have this problem but if you go to   www.lacestamagica.com  surfing on chrome, the width:auto sets the width to the 100% and brokes image dimensions, you can see it surfing on ie or firefox, any help?")* was created by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")*

I dont know since when i have this problem but if you go to [ www.lacestamagica.com](http://www.lacestamagica.com) surfing on chrome, the width:auto sets the width to the 100% and brokes image dimensions, you can see it surfing on ie or firefox, any help?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY1MTUxLXByb2JsZW0td2l0aC13aWR0aC1hdXRvLWluLWNocm9tZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

14 years 1 month ago [\#65153](#65153) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Re: Problem with width auto in chrome](/forum/2-general-talk-about-hikashop/65151-problem-with-width-auto-in-chrome#65153 "I dont know since when i have this problem but if you go to   www.lacestamagica.com  surfing on chrome, the width:auto sets the width to the 100% and brokes image dimensions, you can see it surfing on ie or firefox, any help?")*

Ok i found the problem and i left the answer if anyone has the same problem. if you set max-heigt:x px; and width:auto; you need to set height:auto; for chrome to redimension the image in proportion.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY1MTUxLXByb2JsZW0td2l0aC13aWR0aC1hdXRvLWluLWNocm9tZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")**
- [![abstractimagegroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32129.png)](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")
- [ Offline](/forum/user/32129-abstractimagegroup)

Less More

- Posts: 37
- Thank you received: 0
-
- [](http://www.abstractimagegroup.com/)
-

12 years 6 months ago [\#154231](#154231) by [abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")  Replied by *[abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")* on topic *[Re: Problem with width auto in chrome](/forum/2-general-talk-about-hikashop/65151-problem-with-width-auto-in-chrome#154231 "I dont know since when i have this problem but if you go to   www.lacestamagica.com  surfing on chrome, the width:auto sets the width to the 100% and brokes image dimensions, you can see it surfing on ie or firefox, any help?")*

What css file did you edit to achieve this?

---

Abstract Image Group \| Fulfilling all of your large format printing needs!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY1MTUxLXByb2JsZW0td2l0aC13aWR0aC1hdXRvLWluLWNocm9tZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

12 years 6 months ago [\#154232](#154232) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Re: Problem with width auto in chrome](/forum/2-general-talk-about-hikashop/65151-problem-with-width-auto-in-chrome#154232 "I dont know since when i have this problem but if you go to   www.lacestamagica.com  surfing on chrome, the width:auto sets the width to the 100% and brokes image dimensions, you can see it surfing on ie or firefox, any help?")*

I usually use yootheme so i do it in my custom.csd but you can do it in the hikashop frontend css wich can be modified in configuration display

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY1MTUxLXByb2JsZW0td2l0aC13aWR0aC1hdXRvLWluLWNocm9tZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.079 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
