CSS – Safari ignoring width property

This has been occurring lately, and I couldn’t find much written about it, took me a couple of days googling it and trying to find what would be the reason that Safari would ignore our width property. After discovering that the width property is completely messed up on Safari browser only on Mac computers  as Safari on Windows didn’t have the same. I found that the solution for that is just to add a max-width property along with the width property. This has fixed it for the most part. No much reasoning I found after that, but seemed to me that width property has be associated with a max-width property as well in order to have the layout looking right.


div {width: 155px; max-width: 155px;}

 

If anyone has different suggestions or a reasoning behind this, surely share.

Advertisements

Stockulator on your iDevice

Here’s an app I developed more than a year ago and has been on the app store for a year now with some under 1000 downloads without any advertisement.. word of mouth and usefulness of the app.

The App as described on the apps site:   Stockulator is a calculator designed for helping you estimate and calculate your possible gain vs. loss when a stock price rises or falls. It simulates your entire calculations of number of shares, amounts etc.. and helps you project how much money you are going to make before buying or selling any shares.

Get the app: http://itunes.com/apps/stockulator 

Help for using the app: http://apps.amplioslabs.com/stockulator/

Welcome to your ideas and comments.

Thanks,

Joe