user3179440 user3179440 - 1 year ago 67
CSS Question

Why is Safari ignoring min-width and text-align?

This piece of HTML renders the word "TEST" on the right side of the page in all browsers except Safari, where the text appears on the left side of the page:

min-width: 100%;

text-align: right;

<table id="a">
<td id="b">

What could be causing this, and what workarounds are possible?

Here's a JSFiddle link

Answer Source

I duplicated the result. I saw the text on the Left side of the window in Safari version 5.1.8 on a MAC.

I removed the min- from the width call and it shows up correctly on the right now..