Borders and background of <input - fields

Dawit A. adawit at kde.org
Sun Mar 16 20:12:31 GMT 2003


On Sunday 16 March 2003 03:04, Dan Sylveste wrote:
> from konqueror and IE, and notice the difference:
> 1) style='border=0px solid #000000' removes the border around the last
> <input-cell in IE, but not in konqueror.
> 2) readonly="true" makes the background grey in Konqueror but not in IE.
[...]
> 2) both mozilla and IE has a white background.

This is an implementation issue.  Any read-only input widget (lineedit) that 
makes use of KLineEdit in KDE behaves this way. It is implemented so that  
read-only inputs are distinguishable from read-write ones for obvious 
reasons. As such for read-only lineedits you get a grey backround with a 
non-grey foreground color. Note that this is different from "disabled" 
widgets in that disabled widgets have both their background as well as 
foreground colors grayed out.

Regards,
Dawit A.





More information about the kfm-devel mailing list