Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7267, comment 1


Ignore:
Timestamp:
Oct 21, 2010, 3:24:12 PM (9 years ago)
Author:
addyosmani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7267, comment 1

    initial v1  
    1 All of the tests that I've run on your code are returning 0px for 1.4.3 and auto for 1.4.2. Bare in mind that this doesn't just apply for the width value, it also applies to height, background-color etc. Ideally, adding inline styles in this manner is strongly unrecommended as using class-names (or even correct CSS style definitions outside of the string would make your solution both work and be a lot more clean).
     1All of the tests that I've run on your code are returning 0px for 1.4.3 and auto for 1.4.2. [http://jsfiddle.net/u6QZz/1/ Live test case][[BR]]
    22
     3
     4Bare in mind that this doesn't just apply for the width value, it also applies to height, background-color etc. [[BR]]
     5
     6Ideally, adding inline styles in this manner is strongly unrecommended as using class-names (or even correct CSS style definitions outside of the string would make your solution both work and be a lot more clean).
     7[[BR]]
     8
     9