Archive for category: CSS


Semi-disabled form text fields with CSS

14 July, 2008 (19:37) | CSS, Web designing | By: Rohan Shenoy

The other day on the DigitalPoint webmaster forums, I had somebody ask this question “How to half-disable a form field”.
From all the HTML I knew, it was not possible in a straight-forward way! But we can manipulate with CSS.
The HTML-CSS

[-]View Code HTML<span style="border: 2px inset;">
<input style="border: none; text-align: right;" name="half_1" size="3" type="text" [...]

Styling with CSS without using class or id selectors

6 June, 2008 (13:19) | CSS, Web designing | By: Rohan Shenoy

CSS is a one of the most useful inventions made for the web. However, to style every element, you need to ‘hook’ the style statement to the elements by using selectors. Class and ID of an element(s) are most commonly used for hooking. But there are some lesser known hooks which can function without ‘class’ [...]