PDA

View Full Version : CSS error?



Ex_Soft
6 Jan 2011, 12:37 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
<title>&laquo;Test Toolbar&raquo;</title>
<link rel="stylesheet" type="text/css" href="../../../../ExtJS/resources/css/ext-all.css"/>
<script type="text/javascript" charset="windows-1251" src="../../../../ExtJS/adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" charset="windows-1251" src="../../../../ExtJS/ext-all-debug.js"></script>
<script type="text/javascript">
<!--
Ext.BLANK_IMAGE_URL="../../../../ExtJS/resources/images/default/s.gif";

Ext.onReady(function() {
Ext.QuickTips.init();

var
viewport = new Ext.Viewport({
layout: "border",
renderTo: Ext.getBody(),
items: [{
xtype: "toolbar",
region: "north",
height: 28,
items: [{
xtype: "button",
text: "Button# 1",
menu: {
items: [{
text: "Item# 1",
}, {
text: "Item# 2"
}]
}
}]
}, {
region: "center",
html: "center"
}]
});
});
// -->
</script>
</head>
<body>
</body>
</html>
when I click on "Button# 1"


Warning: Expected ':' but found 'undefined'. Declaration dropped.
Source File: file:///c:/Soft.src/JavaScript/test/ExtJS/Components/Toolbar/TestToolbar.html
Line: 0



CSS - file://localhost/c:/Soft.src/JavaScript/test/ExtJS/Components/Toolbar/TestToolbar.html
HTML style attribute
Unexpected end of file
Line 1:
undefined
---------^