Fix CSS sizes with HTML5 doctype.

Using HTML5 doctype means CSS pixels sizes must have "px" suffix which
many of them did not. Fix that.
This commit is contained in:
Joel Martin 2011-02-02 10:48:29 -06:00
parent 215ae8e564
commit 0f354fb682
2 changed files with 21 additions and 19 deletions

View File

@ -1,5 +1,5 @@
body { body {
margin: 0; margin: 0px;
font-size: 13px; font-size: 13px;
color: #111; color: #111;
font-family: "Helvetica"; font-family: "Helvetica";
@ -16,12 +16,12 @@ body {
#VNC_controls ul { #VNC_controls ul {
list-style:none; list-style:none;
list-style-position: outside; list-style-position: outside;
margin: 0; margin: 0px;
padding: 0; padding: 0px;
} }
#VNC_controls li { #VNC_controls li {
margin-right: 15px; margin-right: 15px;
padding: 2px 0; padding: 2px 0px;
float: left; float: left;
} }
#VNC_controls li input[type=text], #VNC_controls li input[type=text],
@ -30,13 +30,13 @@ body {
} }
#VNC_host { #VNC_host {
width: 100; width: 100px;
} }
#VNC_port { #VNC_port {
width: 50; width: 50px;
} }
#VNC_password { #VNC_password {
width: 80; width: 80px;
} }
#VNC_encrypt { #VNC_encrypt {
} }
@ -66,8 +66,10 @@ body {
#VNC_settings_menu { #VNC_settings_menu {
display: none; display: none;
position: absolute; position: absolute;
width: 12em; width: 13em;
border: 1px solid #888; border: 1px solid #888;
color: #111;
font-weight: normal;
background-color: #f0f2f6; background-color: #f0f2f6;
padding: 5px; margin: 3px; padding: 5px; margin: 3px;
z-index: 100; opacity: 1; z-index: 100; opacity: 1;
@ -75,8 +77,8 @@ body {
} }
#VNC_settings_menu ul { #VNC_settings_menu ul {
list-style: none; list-style: none;
margin: 0; margin: 0px;
padding: 0; padding: 0px;
} }
.VNC_buttons_right { .VNC_buttons_right {

View File

@ -3,8 +3,8 @@
} }
#VNC_controls ul { #VNC_controls ul {
list-style: none; list-style: none;
margin: 0; margin: 0px;
padding: 0; padding: 0px;
} }
#VNC_controls li { #VNC_controls li {
float: left; float: left;
@ -12,18 +12,18 @@
} }
#VNC_host { #VNC_host {
width: 100; width: 100px;
} }
#VNC_port { #VNC_port {
width: 50; width: 50px;
} }
#VNC_password { #VNC_password {
width: 80; width: 80px;
} }
#VNC_encrypt { #VNC_encrypt {
} }
#VNC_connectTimeout { #VNC_connectTimeout {
width: 30; width: 30px;
} }
#VNC_connect_button { #VNC_connect_button {
width: 110px; width: 110px;
@ -59,8 +59,8 @@
} }
#VNC_settings_menu ul { #VNC_settings_menu ul {
list-style: none; list-style: none;
margin: 0; margin: 0px;
padding: 0; padding: 0px;
} }
.VNC_buttons_right { .VNC_buttons_right {
@ -92,6 +92,6 @@
#VNC_clipboard_clear_button { #VNC_clipboard_clear_button {
} }
#VNC_clipboard_text { #VNC_clipboard_text {
font-size: 9; font-size: 9px;
} }