Wednesday, January 4th, 2006
A quick piece of CSS to center a fieldset:
<div style="width: 200px; text-align: center; margin-left: auto; margin-right: auto;"> <div style="text-align: left;">
<fieldset>
...
Here is an example:
Posted in Programming | No Comments »
Tuesday, January 3rd, 2006
One of the recent problem that I ran across at work is an easy way to do highlighting for form fields. Of course the best way would be CSS 2 (as shown here) but alas, IE does not support that.
The alternative is JavaScript onFocus and onBlur method. However, one thing ...
Posted in Programming | No Comments »
Thursday, May 5th, 2005
An interesting question that came up today during work was how to wrap text in a table cell that does not contain any line breaks or spaces. For example:
ThisIsCell1
ThisIsCell2
We want the text inside the cells to wrap to the next line instead of extending the table size. There are three ...
Posted in Programming | 1 Comment »
Thursday, January 20th, 2005
I just saw An article on XML.com (via SlashDot) discussing how CSS stylesheets can work better for printing than XSL-FO (as a rebuttal to a post by Norman Walsh). As a proof, the authors show a 100 line CSS stylesheet that accomplishes the same thing as a 1,000 XSL-FO stylesheet ...
Posted in Programming | Comments Off
Thursday, January 13th, 2005
One of our customers had recently requested a feature to make all links look the same, visited or unvisited. While debates and complaints have been raised about whether they should look the same, in our case this was necessary. A web application such as ours usually dynamically generated all the ...
Posted in Programming | Comments Off