summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 16:09:50 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 16:09:50 +0000
commit919fecf675aacc3ad402786da51a21ae07fcd461 (patch)
tree71fcdb32d67670a3cb319c3b7a122925373b550b /chrome/browser/resources
parentecf5e4b1bfd56666e126d79931ff8e72f5b4a83f (diff)
downloadchromium_src-919fecf675aacc3ad402786da51a21ae07fcd461.zip
chromium_src-919fecf675aacc3ad402786da51a21ae07fcd461.tar.gz
chromium_src-919fecf675aacc3ad402786da51a21ae07fcd461.tar.bz2
Declare encoding on the New Tab.
BUG=998 Review URL: http://codereview.chromium.org/8080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/new_tab.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index 113a2ef..1372ba5 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -1,3 +1,4 @@
+<!DOCTYPE HTML>
<html id="t" jsvalues="dir:textdirection;firstview:firstview">
<!--
This page is optimized for perceived performance. Our enemies are the time
@@ -124,6 +125,7 @@ function handleDOMContentLoaded() {
logEvent('log start');
</script>
<head>
+<meta charset="utf-8">
<title jscontent="title"></title>
<style type="text/css">
body {
@@ -145,9 +147,6 @@ html[firstview='true'] #main.visible {
margin-right:auto;
margin-top:10px;
}
-td {
- font-size:84%;
-}
form {
padding: 0;
margin: 0;
@@ -250,7 +249,6 @@ a.manage {
color:#77c;
margin-left: 5px;
margin-right: 5px;
- font-size:84%;
line-height:19pt;
text-decoration:underline;
}
@@ -268,14 +266,14 @@ html[dir='rtl'] #managesearcheslink {
}
#recentlyBookmarked {
background-color:#e1ecfe;
-}
+}
#searches input {
border:1px solid #7f9db9;
background-repeat: no-repeat;
background-position:4px center;
padding-left: 23px;
min-height:24px;
- width:206px;
+ width:182px;
margin-bottom:8px;
display:block;
}
@@ -352,7 +350,7 @@ document.addEventListener('DOMContentLoaded', handleDOMContentLoaded);
</td>
<td valign="top" width="230">
<div align="right">
- <img src="../../app/theme/%DISTRIBUTION%/product_logo.png"
+ <img src="../../app/theme/%DISTRIBUTION%/product_logo.png"
width="145" height="52" style="padding-bottom:8px;" />
</div>
<div id="searches" class="sidebar">
@@ -409,7 +407,6 @@ function makeMostVisitedDOM(page) {
// Something went wrong; don't make it clickable.
root = DOM('span');
}
-
/* Create the thumbnail */
var img_thumbnail = DOM('img', {className:'thumbnail'});