Commit 0f354fb6 authored by Joel Martin's avatar Joel Martin

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.
parent 215ae8e5
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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 {
......
...@@ -3,8 +3,8 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -92,6 +92,6 @@
#VNC_clipboard_clear_button { #VNC_clipboard_clear_button {
} }
#VNC_clipboard_text { #VNC_clipboard_text {
font-size: 9; font-size: 9px;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment