html - Pasted text at the top of page -
i want add pasted text (that text goes down when user goes down of page, etc.) @ top of page, when haven't got enabled javascript, :
how ? there way using javascript or html ? want not use jquery, because don't know language good.
@edit : sorry, error - cannot use javascript if user doesn't have js enabled :)
this sample how can make info bar so:
html:
<noscript><div id="noscript"><p>no javascript</p></div></noscript>
css:
div#noscript { margin: 0 auto; width: 100%; padding: 10px 0; position: fixed; top: 0; background: red; z-index: 99999; } div#noscript p { text-align: center; color: white; }
here jsfiddle
Comments
Post a Comment