<head>
<title>test</title>
<style type="text/css">
* {
margin: 0;
padding: 0; overflow: auto;
}
body {
margin: 10px;
background-color: pink;
}
.float {
width: 300px;
height: 300px;
overflow: hidden;
background-color: #CCFFFF;
float: left;
padding: 10px;
}
div.float table {
position: relative;
top: -50px;
width: 100%
background-color: #FFFF00;
display: block;
z-index: 1002;
}
div.relative {
position: relative;
z-index: 1001;
top: 0;
width: 100%;
height: 100px;
overflow: hidden;
background-color: #99CCFF;
text-align: center;
}
/* de aici */
div.banner {
margin: 0;
font-size: 80% /*smaller*/;
font-weight: bold;
line-height: 1.1;
text-align: left;
position: fixed;
top: 30px;
left: auto;
width: 130px;
right: 50px;
}
div.banner p {
margin: 0;
padding: 0.3em 0.4em;
font-family: tahoma, sans-serif;
background: #900;
border: thin outset #900;
color: white;
}
div.banner a, div.banner em { display: block; margin: 0 0.5em }
div.banner a, div.banner em { border-top: 2px groove #900 }
div.banner a:first-child { border-top: none }
div.banner em { color: #CFC }
div.banner a:link { text-decoration: none; color: white }
div.banner a:visited { text-decoration: none; color: #CCC }
div.banner a:hover { background: black; color: white }
</style>
</head>
<body>
<div class="float">
<div class="relative">
Loading Template...
</div>
<table>
<tr>
<td>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc gravida quam et mauris. Aliquam laoreet lorem non massa. Praesent sed risus. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aenean tortor. Nam sodales eleifend felis. Cras non elit. Vivamus dictum lobortis lectus. Nam bibendum. Etiam tempor interdum mi. Sed consequat sapien nec dolor. Sed adipiscing. Phasellus ut nisi sit amet magna scelerisque dapibus. Duis in mauris.</p>
</td>
</tr>
</table>
</div>
<br><br>
<div style="width: 150px; border: 1px solid ;">Un text oarecare
<div class="banner">
<p>
<a href="#"><img alt="W3C" src=""></a>
<a href="#">Activities</a>
<a href="#">Tech. reports</a>
<a href="#">Site index</a>
<a href="#">Translations</a>
<a href="#">Software</a>
<a href="#">Search</a>
<em>Nearby:</em>
<a href="#">Style</a>
<a href="#">CSS</a>
<a href="#">tips & tricks</a>
</div>
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>
Output
This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account
Dismiss xKeyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |