Recent Topics

1 Sep 17, 2004 18:12    

Hi,

I haven't seen any discussion of this topic anywhere (but probably there is).

I'd like to have a template or skin that keeps either the Header or Sidebar static, so you can see it even if person scrolls down.

I don't know if this means using frames or CSS.

I also don't if it makes it harder for browser compatibility and that kind of stuff.

I'm completely non-techie. So if anyone knows how to do this, or could point me to someone who may know how, I would really appreciate it.

Here are some examples [AS PER POST BELOW, I'VE CHANGED THE LINKS]:

1) http://www.csszengarden.com/?cssfile=/120/120.css&page=0

2) http://www.csszengarden.com/?cssfile=/115/115.css&page=1

3) http://www.csszengarden.com/?cssfile=/090/090.css&page=4

But they only do it on the side or in background. I'd really prefer to keep a visual image across the top.

Thanks in advance for any advice.

kza

2 Sep 17, 2004 21:14

well you can make so that the header/sidebar static by making diferent divs/tables. so the blog is contained in a div that forces to scroll when overflowed

btw the websites you give do not desmonstrate the staying header/sidebar. they also scroll down normally

4 Sep 19, 2004 01:12

The first two are just fixed background images. Not that big a trick really - you specify a background image in your body tag then tell it where to be and that it can not scroll with the page.

body {
  background-image: url('images/your-groovy-background.jpg'); 
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color : white;
}


Check out http://www.w3.org/TR/REC-CSS2/colors.html#q2 for the details on how to position the image where you want.

The third is way-cool! Basically the bottom stuff is in a div that has a higher priority (Z-index?) than the div it is on top of, and has been pushed down to the bottom of the screen. The scroll bar lets you see the parts of the other div that's not fixed in place. Unfortunately I have no clue how it all works or how to apply it to a b2evo page. Lets hope someone smart comes along and shows us how easy it is :lol:


Form is loading...