by prettyscripts on 2011-08-25 15:21:00 • Leave a comment »
misc • javascript • html5
html5 introduces new tags that's not recognized by older browsers.
to fix it, add the following javascripts:
<script>
document.createElement("article");
document.createElement("footer");
document.createElement("header");
document.create…
more »Tags: browser, html5, ie, javascript
by prettyscripts on 2010-02-16 11:12:26 • Leave a comment »
css
i always have a clear class in my css to clear any floating elements:.clear { clear: both; } and commonly used in html code such as follows:<div id="floating_1">something</div><div class="clear"></div><div id="float…
more »Tags: clear, css, ie
by prettyscripts on 2009-11-19 11:24:05 • Leave a comment »
css
one of the things that’s not supported in internet explorer. the css 'position: fixed;' it works in IE7 and after. but not in older versions. thought people should upgrade their browser, there are still users limited to the older version. (why don’t yo…
more »Tags: css, ie, position
by prettyscripts on 2008-09-04 10:21:11 • Leave a comment »
firefox • addon
as much as i try to avoid IE and try to promote firefox or any other open source browsers, IE still dominates the browser market. as web developer i still need to ensure the site works and looks right on IE.
but it’s a pain having to open (and wait for…
more »Tags: addon, firefox, ie
by prettyscripts on 2008-05-22 10:33:51 • Leave a comment »
php • css • html
for bordered tables, you can visually see the cell is not displayed (ie no border around the cell) if it has no value. it looks ugly. the work around is usually assigning a space ‘ ’ to the cell in html code. in css, you can show the cell with emp…
more »Tags: cell, css, ie, table