testbot/web: Fix the vertical-align CSS statements so the form labels and inputs align correctly.
Francois Gouget
fgouget at codeweavers.com
Fri Jun 13 11:21:38 CDT 2014
---
'center' is fine for horizontal alignment but invalid for vertical
alignment! And we also need to specify the vertical alignment of the
input fields so they match the labels.
testbot/web/WineTestBot.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css
index a64584b..5d25c42 100644
--- a/testbot/web/WineTestBot.css
+++ b/testbot/web/WineTestBot.css
@@ -191,7 +191,7 @@ h2
{
width: 45%;
display: inline-block;
- vertical-align: center;
+ vertical-align: middle;
text-align: right;
padding-right: 6px;
}
@@ -199,6 +199,7 @@ h2
.ItemValue
{
display: inline-block;
+ vertical-align: middle;
/* The joys of IE. Got the following 2 lines from
http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ */
zoom: 1;
--
2.0.0
More information about the wine-patches
mailing list