Skip to main content

Posts

Showing posts with the label CSS and Web Design

How to change the text of an HTML File control's browse button - CSS work around

How to customize the text of an HTML File control's browse button HTML file element is used to upload files to the server. Usually the File element have a button having texts like "Browse", "Choose" or "Choose file" depending on the browser you use. If you want to customise the Browse button text, there is a sample hack code on net, which uses some CSS work arounds to display an image over a browse button, which on clicked will popup the file selector window.

How to add style sheet to an HTML page - Adding CSS to a web page - Cascading Style Sheets - External CSS - Inline Style Sheets - Internal Style Sheet - Jquery CSS

How to add style sheet to an HTML page - Adding CSS to a web page First of all What is CSS or Cascading Style Sheet? In Simple, we can describe it as a set of Style that is used to format a web page. Applying Style will give site a better user friendly look. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in HTML and XHTML. There are basically 5 ways to add CSS to an HTML page External CSS File Include First Method is to add an externl CSS file to your web page. A simple css file may look like ----- ----- .txt{ color:#ffffff; font-size:14px } .txt2{ color:#000000; font-size:12px } ----- ----- the above style statments is saved in a file called mystyle.css How to include the external CSS file? In Your HTML file inside the HEAD tag place the following tag: <link rel="stylesheet" type="text/css" href="mystyle.css" /> H...

Cufon script not properly showing in IE9 - Solution

Cufon Library - IE9 Conflict  Cufon script not properly showing in IE9 - Solution Cufon library version 1.09 have issues with internet explorer 9 (IE9)browser. When you take your website on this browser Cufon script fails to display the Text in the cufon applied tags. If you have such an issue then make sure that you are using the latest version of Cufon script "cufon-yui.js" The latest version of cufon-yui.js as on Jan 2012 is 1.09i. replace the old "cufon-yui.js" file with the latest version. You can download the file from Cufon website OR go to link : http://cufon.shoqolate.com/js/cufon-yui.js?v=1.09i . There is no need to generate your JS font file. simply replace the old "cufon-yui.js" with the latest version. Add the following code in Head section of your html file <!--[if gte IE 9]> <script type="text/javascript"> Cufon.set('engine', 'canvas'); </script> <![endif]--> To force th...


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog