Robizzle01
Limp Gawd
- Joined
- Sep 30, 2005
- Messages
- 159
edit: I've made some progress since posting. Please refer to layout3 as 1 and 2 are useless now.
I've been surfing around all day looking at all sorts of templates and tutorials for building css based layouts. I normally hold my own when I'm working on this sort of stuff but I'm truely stumped ... I have quite literally spent the entire day working on this and accomplished nothing. Not even something I can start working from.
I started looking at templates from glish.com and also tried using code from boxes and Blue Robot but nothing is working out for me
What i'm trying to do...
First take a look at this. That is what I came up with but for later explained reasons, it wont do the job for me. Let me first explain what I'm trying to accomplish, refer to that link as needed.
I'm trying to make a css based layout with the following properties:
1) wrapper div containing everything that follows, min-width: 600px; max-width: 955px; This div should be centered horizontally (so that users with a window wider than 955px will see it centered.
2) div for banner/logo. All the way to the top left of the wrapper boundries. My Logo will be fairly narrow (small in width) and the background of this div will be a repeat-x that makes the logo look as wide as the page is. To the right of the logo (but on the tiled graphic area) will be two input fields and a submit button for logging into the website.
3) below the banner will be two collumns. the left collumn is set width 200px (or somewhere around there depending on how my content fits.) The right collumn will fill the rest of the screen width. Both of these collumns should grow downward as needed by the ammount of content they contain. If the right collumn contains more information than the left collumn, it is important that it doesn't "wrap" around it. Likewise, if the left collumn is taller than the right, it should not wrap around the right one. This is one problem I had when trying to do the layout using float: left;
4) Below the two collumn area should be a footer where I can have contact us and other such links.
Problems with my working design that I cant for the life of me solve:
a) All divs combine to use 100% of the window space reguardless of contents. The left and right collumns should not be so tall. Also, if either of those collumns had enough information to fill the entire page, the green footer just cuts it them off. I need them to expand as needed and adding a scroll bar.
b) Minimum and maximum widths are not working and I have a feeling that even if they were, centering the wrapper would not work.
I also have a layout2 online here if anyone finds it helpful. This one works okay in firefox and not at all in IE. In firefox it at least has the wrapper, min-width, max-width, and centering working. However, I cant figure out why the blue box is overlapping the yellow (doesn't do this in IE) and why the red box isn't all the way up against the yellow.
If anyone has a link to a site with code they know works, or a fix for my code specifically I am all ears. All these browser incompatabilities are driving me zonkers and I would really appreciate any help or something to get me started in the right direction.
edit:
I made quite a bit of progress burning the midnight oil. Not sure what I even did differently this time it just started to work. I'm still having trouble with the red section wrapping around the blue one, anyone have a fix for this?
Check out the very very rough draft
I've been surfing around all day looking at all sorts of templates and tutorials for building css based layouts. I normally hold my own when I'm working on this sort of stuff but I'm truely stumped ... I have quite literally spent the entire day working on this and accomplished nothing. Not even something I can start working from.
I started looking at templates from glish.com and also tried using code from boxes and Blue Robot but nothing is working out for me
What i'm trying to do...
First take a look at this. That is what I came up with but for later explained reasons, it wont do the job for me. Let me first explain what I'm trying to accomplish, refer to that link as needed.
I'm trying to make a css based layout with the following properties:
1) wrapper div containing everything that follows, min-width: 600px; max-width: 955px; This div should be centered horizontally (so that users with a window wider than 955px will see it centered.
2) div for banner/logo. All the way to the top left of the wrapper boundries. My Logo will be fairly narrow (small in width) and the background of this div will be a repeat-x that makes the logo look as wide as the page is. To the right of the logo (but on the tiled graphic area) will be two input fields and a submit button for logging into the website.
3) below the banner will be two collumns. the left collumn is set width 200px (or somewhere around there depending on how my content fits.) The right collumn will fill the rest of the screen width. Both of these collumns should grow downward as needed by the ammount of content they contain. If the right collumn contains more information than the left collumn, it is important that it doesn't "wrap" around it. Likewise, if the left collumn is taller than the right, it should not wrap around the right one. This is one problem I had when trying to do the layout using float: left;
4) Below the two collumn area should be a footer where I can have contact us and other such links.
Problems with my working design that I cant for the life of me solve:
a) All divs combine to use 100% of the window space reguardless of contents. The left and right collumns should not be so tall. Also, if either of those collumns had enough information to fill the entire page, the green footer just cuts it them off. I need them to expand as needed and adding a scroll bar.
b) Minimum and maximum widths are not working and I have a feeling that even if they were, centering the wrapper would not work.
I also have a layout2 online here if anyone finds it helpful. This one works okay in firefox and not at all in IE. In firefox it at least has the wrapper, min-width, max-width, and centering working. However, I cant figure out why the blue box is overlapping the yellow (doesn't do this in IE) and why the red box isn't all the way up against the yellow.
If anyone has a link to a site with code they know works, or a fix for my code specifically I am all ears. All these browser incompatabilities are driving me zonkers and I would really appreciate any help or something to get me started in the right direction.
edit:
I made quite a bit of progress burning the midnight oil. Not sure what I even did differently this time it just started to work. I'm still having trouble with the red section wrapping around the blue one, anyone have a fix for this?
Check out the very very rough draft