Archive

Posts Tagged ‘CSS’

Image Swap with Text for Search Engine Optimization

Nov 29th, 2009

Example image swap code for SEO. This code meet certain requirements which are mentioned in the article. Few are:template kind of code, image size can differ.

Fast Load JavaScript and CSS Files

Oct 15th, 2009

Minify JavaScript and CSS file and get response speed increased of your website. Save bandwidth also.

Adding Content Before & After HTML Tags using CSS

Aug 15th, 2009

Using css2 we can add content before or after any HTML elements. This gives us control over the dynamically generated content.
Suppose, some HTML contents are coming through widget, And we do not have any control over them. Then, we can either use server side scripting language to get the HTML and modify those content. This [...]

Few very useful tools for Web Developers

Aug 6th, 2009

Few tools are very essential for for Web Developers. Firebug is now a platform for many new tools in Firefox to assist developers. You need Firebug installed to install and use those tools. Search on https://addons.mozilla.org for firebug and you will get lots of plugin, which are dependent on firebug. Few of those dependent tools [...]

Table’s Width Fixing Hack

Nov 26th, 2008

fix html table width. It is a hack using javascript where I do not have a privilege to increase upper table width.

Passing value from one to another considering PHP, HTML, JavaScript

May 24th, 2008

Various method of passing and exchanging variable’s value to and from php, javascript, css, html etc. Very helpful beginners.

Save Your Web Page’s Visual Space

Jul 3rd, 2007

This is an example of how to save visual space of web page using show-hide div, p, etc. Click on Details and see the effect.On first click it will expand and on next click it will become hidden.
.hide {display:none;} .show {display:block;} .hover1 {cursor:pointer;color:blue;}
function toggleView (id) { [...]

Write Correct Markup, Validate Your Markup (HTML, XHTML)

May 30th, 2007

Do you ever try checking your HTML code for error? If no then you are probably writing wrong HTML code. This will cause your HTML load slow on browser. Validate your HTML code according to your document type defined in <!DOCTYPE ..>
Markup Validation
These are free W3C Markup Validation Services which checks Web documents in formats [...]

Learn CSS: An Introductory CSS Tutorial for beginners

Apr 29th, 2007

Here this is a CSS tutorial for beginners, who know some basic structure of HTML Page. Here you will easily learn why to use CSS, how to use CSS, CSS structures.
CSS stands for Cascading Style Sheets. Styles were added to HTML 4.0.
Why we use CSS in Web Page?Previously in HTML we can design our web [...]

Various Issues, Tips and Methods

Oct 1st, 2005

Create/maintain blocks of code
Use less number of tables
Height and Width in img tags
Initialize all variables
Comments in HTML and PHP
Check/Validate HTML
Separate files for CSS and Javascript also
Know your editor
Know your surrounding
Submitting an array to PHP from HTML
CSS: Table less design
Simple Design using table
Get X and Y coordinate of an element in a HTML document
Read sql data from a large file/csv file at very high speed
Encode data before saving data in table
Converting string to array and array to string in PHP: explode and implode
Dynamic Variables in PHP (Variable varaible)