Archive for October, 2010
Lenovo Synaptics touchpad issue
Tuesday, October 19th, 2010I have a Lenovo Thinkpad T410 running Windows 7 64-bit and the touchpad stops working after about 10 minutes or so and required a reboot and removal of devices to get it to work again.
I found that if you remove the Lenovo version of the drivers and go to the Synaptics website to download them, then you can have the full functionality of the touchpad back.
HTML: How to use an external StyleSheet
Sunday, October 17th, 2010There are two ways to include an external stylesheet. Using a <link> tag in the <head> section of your web page or using the @import tag in a <style> section. The @import tag can also be placed inside a CSS file to include other CSS files.
Example of an externally linked stylesheet named anyname.css
<head> <link rel="stylesheet" type="text/css" name="anyname.css" href="url" media="all"> </head>
The name field is the filename and can be set to any path that is available to your Web Server. The media type can be specified in the link tag.
An example of a @import statement to include a CSS file:
<style> @import('anyfile.css'); </style>
You can also specify the type of stylesheet with the @import statement:
@import('anyfile') screen; @import('anyfile') print;
The @import statement is not understood by many older browsers, Netscape 4 ignores them completely and Internet Explorer 4 requires you to use parenthesis, even though they are optional. Luckily, there should be very few people still using these browsers and this is a useful technique to not include features that would not work in those browsers.
The @import directives must be the first items in your CSS. Even comments should not appear before these statements.
Internet Explorer versions 4-7 have the limitation that they do not like specifying the type on the @import line. I have not researched if this is the case with versions 8 and above.