 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
stateofdesign
Joined: 07 Oct 2005 Posts: 14 Location: Silver Spring, Md
|
Posted: Fri Oct 14, 2005 6:39 am Newbie to CSS... should i be using Max-Height? |
|
|
|
Hi there,
I'm new to CSS, and maybe a friday isn't the best day to take on CSS.
I'm redesigning a site. www.bksllc.com/n_template2.htm
The end result i'm looking for here is this:
If you need to scroll down b/c of your screen size to read the page, you wouldn't see more than 100px of the black box on the bottom. But i have it set up so that the shadows (PNGs) on the left and right are 900px to accomodate a larger screen size, so its filled in.
Is Max-height the CSS coding i should be using here? if so, HOW?! i've read through countless tut's and posts, and its no more clearer than when i started.
Thanks in advance,
Alex |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
|
stateofdesign
Joined: 07 Oct 2005 Posts: 14 Location: Silver Spring, Md
|
Posted: Fri Oct 14, 2005 10:49 am |
|
|
|
Well, not really. I see what they are doing in both of those examples. But, referencing my site, i'd prefer for the black extend from the bottom of the white boxto the bottom of the page, no matter what the height off the user's screen.
On larger screens, the black box would be longer and visa-versa, but it would always fill the bottom, and therefore never really have a set height... is that possible? if it can be achieved in some other way than CSS, i'd use the solution also. i'm not married to CSS at this point. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
Posted: Fri Oct 14, 2005 10:55 am |
|
|
|
| Right now - the box is about 193 pixels. What happens if it is less? |
|
stateofdesign
Joined: 07 Oct 2005 Posts: 14 Location: Silver Spring, Md
|
Posted: Fri Oct 14, 2005 11:06 am |
|
|
|
Well, the drop shadows (png's) on both the left and right are part of the main table.
they are 900 px in length, and dictate how small i can make the black box. I can not decrease the value of the black box anymore, it just won't become any smaller.
what if i were to seperate the Black box from the rest of the table above it. Could i place it directly below it, and tell its size to be 100%? |
|
stateofdesign
Joined: 07 Oct 2005 Posts: 14 Location: Silver Spring, Md
|
Posted: Fri Oct 14, 2005 11:41 am |
|
|
|
nope, that didn't work...  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8267 Location: Castle Rock CO USA
|
Posted: Fri Oct 14, 2005 1:15 pm |
|
|
|
| Can you make the background repeat either vertically / horizontally depending on the way the PNG is? |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|