I have been a graphic design/artist for a while now and always had the luxury of others doing the coding for me until recently. Anyhow, I'm working on a website for myself and getting deeper into CSS than I have ever been, and I'm encountering some issues.

Here's a link to the page in question: http://www.inanition.ca/test.html
(I read the rules and guidelines and do not see anything against posting links, unless this is considered self-promotion, which is not my intention..)

What I'm trying to do:

1. I'm trying to make those hazard stripe bars on either side of the page span the height of the browser area and remain in a fixed position without scrolling. Whenever I attempt to use position: fixed, however, it screws with the alignment of the entire page. Currently, they are floating to their respective sides and are set to a pixel-based height as placeholders. Any help would be appreciated!!

2. Secondly, I'm trying to make those plain metal plates at the bottom, beneath the content windows, stretch the remainder of the way to the bottom of the browser window/site. They currently exist in three separate columns and will only be seen if the content in column is longer than the others. I have fooled around with all kinds of values and I just can't seem to get it to work at all. They are currently set with a arbitrary pixel-based height to act as placeholders. Again, any help would be appreciated!!

1) Couple of ways spring to mind for the hazard bars, using absolute positions or (and probably the easiest) as you're using a fixed width content is to create an image the width you need them to be apart (so you would have one image that held both the left and right hazards) and set that the background image of the first div then just align all your content in the middle.

2) bit more difficult to explain but if you search for faux columns in google (or the forum) you should find something

moptop

10-26-2007, 09:26 PM

Wow, okay. So, I think the solution to both problems is 'faux columns'. If I were to make a background image that included the rock, the hazard bars and the metal plates that I wish to use as filler, it'll kill two birds with one stone.

I hope! (it sounds like aligning the background may be a bit of a nightmare)

Thanks for the suggestions! Especially the second one, which opened my eyes to a whole new world of possibilities!