.. Not a lot, by the looks of things. Here's one example of what can be done though; it involves manually adding a class to all disabled form elements...
if nothing else, it allows the styling of the background colour and changing the font-size, weight etc... Anyway, here's the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Styling a disabled input element in IE6</title>
<style type="text/css">
input.disabled-form-control {
background:#eee;
font-weight:bold;
color:#000;
cursor:default;
}
/*
you can also try things like:
border:1px solid #000;
font-size:110%;
text-align:center;
etc..
*/
</style>
</head>
<body>
<fieldset>
<label for="fein-input">Profile FEIN :</label>
<input type="text" id="fein-input" disabled="disabled" class="disabled-form-control" value="FEIN-value-goes-here" />
<label for="dba-input">DBA :</label>
<input type="text" id="dba-input" disabled="disabled" class="disabled-form-control" value="DBA-value-goes-here" />
</fieldset>
</body>
</html>
For a far more detailed discussion on the subject, you can also look at these sites:
http://www.456bereastreet.com/lab/styling-form-controls-revisited/disabled/#ie6-xp
http://www.askthecssguy.com/2007/05/shawn_asks_the_css_guy_about_s_1.html
Thursday, December 20, 2007
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(23)
-
▼
June
(10)
- Daisy CMS - connecting a JMS listener to the repos...
- Daisy CMS - customising the footer of the editor p...
- Daisy CMS - allowing attributes in the SimpleDocum...
- JSF - ensuring your [xhtml] pages load with a text...
- Eclipse Galileo (3.5): Creating and running a JSF ...
- Using Eclipse Galileo to develop JSF applications ...
- SVN Web view - looking at older revisions
- Notes on setting up mod_proxy on apache 2.2 for pr...
- Addressing stability issues when running Eclipse 3...
- Forcing glassfish 2.1 to start-up with JDK1.6 (OSX...
-
►
April
(6)
- XSLT, text-transform:captialize and Excel workbook...
- Structure for Regular Expressions in Javascript
- SQL Server : Granting EXEC on Stored Procedures
- Eclipse : Save Actions for autoformatting code and...
- Eclipse : Display heap status (like IntelliJ IDEA)...
- Eclipse : Display Java Type Indicator for classes
-
▼
June
(10)
0 comments:
Post a Comment