Recent comments

You are here

Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 1878 of /home/lwvu15gt0rgr/public_html/Projects7/includes/theme.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 1941 of /home/lwvu15gt0rgr/public_html/Projects7/includes/theme.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2385 of /home/lwvu15gt0rgr/public_html/Projects7/includes/menu.inc).

webpage development width and height attributes in IE

As webpage developers we know about and commonly use the width and height attributes to change the layout of our pages. But here is a not very known fact that I just came across, IE or Internet Explorer atleast since IE 8 supports not only whole numbers but decimals as well in the attribute. It doesn't seem that Firefox or any other browser will support this but for example if we have width="99.9%"

IE will return the extra .9% thus typing width="99.9%" will display different than typing width="99%"

however if using a browser such as Firefox if you have width="99.9%" it will render the page or element at 99% leaving out the extra 0.9% that we added

This could be useful in some way for small adjustments on your css but is best used in CSS when you have a different css file loaded based on the detected browser.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer