<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script>
function getScript(url,success) {
var head = document.getElementsByTagName("head")[0], done = false;
var script = document.createElement("script");
script.src = url;
script.onload = script.onreadystatechange = function(){
if (!done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") ) {
done = true;
if (typeof success === 'function') success();
}
};
head.appendChild(script);
}
function start() {
getScript('common.htm',function(){
myFunk();
});
}
</script>
</head>
<body onload="start();">
<div id="script-place"></div>
<div>
<!-- html code -->
</div>
</body>
</html>
function myFunk(){
alert(1);
}
.sidebar {
float: left;
}
.content {
/* где float?? */
}
td{
border: 10px solid #fff;
}
/*
можно сложнее типа :
*/
td:first-child{
border-right: 10px solid #fff;
border-bottom: 10px solid #fff;
}
<table>
<tbody>
<tr>
<td>Стоимость</td>
<td>Внутри МКАД</td>
<td>За МКАД</td>
<td>Самовывоз</td>
</tr>
<tr>
<td>>15000р.</td>
<td>0</td>
<td>35р/1км</td>
<td>по пред.заказу</td>
</tr>
<tr>
<td><15000р.</td>
<td>800</td>
<td>35р/1км</td>
<td>по пред.заказу</td>
</tr>
</tbody>
</table>