If I understand, you want fixed background and any content above that.
This is example on HTML body tag styled with CSS.
body {
background: url(./image.png) top center fixed no-repeat;
}
If I understand, you want fixed background and any content above that.
This is example on HTML body tag styled with CSS.
body {
background: url(./image.png) top center fixed no-repeat;
}
There's solution with CSS, but it's running correctly from IE7 to higher. (And other quality browsers of course.)
position: fixed;
Replace overflow: scroll; with
overflow: auto;
:) Scrollbars will be dependent on content.
Sure, define any <div> in your CSS file, which will have width and height properities + overflow setting, if is content bigger than box. Something like this:
#box {
width: 200px;
height: 400px;
background: #F2F2F2;
border: 1px solid #DDDFFF;
overflow: scroll;
}
Do you have pages coded in HTML, or XHTML ?
Learn the difference :)
http://w3schools.com/xhtml/xhtml_html.asp
It is not possible with CSS, but you can apply PHP include method, if you don't want <link rel> in header.
In header will be:
<?php include "favicon.php" ?>
In PHP file will be:
<link rel="shortcut icon" href="favicon.ico" />