From fd7078b1ad470c3de96d32c3699eb862259df990 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 28 Sep 2003 17:37:43 +0000 Subject: [project @ 2003-09-28 17:37:43 by bursa] Implement CSS specificity and fix bugs. svn path=/import/netsurf/; revision=329 --- !NetSurf/Resources/CSS,f79 | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to '!NetSurf') diff --git a/!NetSurf/Resources/CSS,f79 b/!NetSurf/Resources/CSS,f79 index f3bdf7464..d87681dd8 100644 --- a/!NetSurf/Resources/CSS,f79 +++ b/!NetSurf/Resources/CSS,f79 @@ -38,7 +38,21 @@ hr { background-color: #000; height: 1px; } center { text-align: center; } small { font-size: smaller; } big { font-size: larger; } -input, select { width: 10em; height: 2em; background-color: #eeeebb; } -textarea { display: inline-block; width: 20em; height: 4em; background-color: #eeeebb; } -button { background-color: #ddd; } +select, input { background-color: #eeb; color: #000; width: 10em; height: 2em; } +textarea { background-color: #eeb; color: #000; } +input[type=button], input[type=image], input[type=reset], input[type=submit], + button { background-color: #ddd; color: #000; width: auto; + height: auto; } +input[type=checkbox], input[type=radio] { background-color: transparent; + width: 22px; height: 22px; } + +[align=left] { text-align: left; } +[align=center] { text-align: center; } +[align=right] { text-align: right; } +img[align=left], table[align=left] { float: left; } +img[align=right], table[align=right] { float: right; text-align: left; } + +[clear=all] { clear: both; } +[clear=left] { clear: left; } +[clear=right] { clear: right; } -- cgit v1.2.3