html css div help tt - Page 3
Blogs > alffla |
alffla
Hong Kong20321 Posts
| ||
alffla
Hong Kong20321 Posts
| ||
tofucake
Hyrule18938 Posts
| ||
alffla
Hong Kong20321 Posts
On May 07 2011 01:07 tofucake wrote: The trickiest part of your layout is the non-uniform borders, which might make things look weird with odd heights/widths. i decided to just make straight left and right edges to make it look ok.. i still don't know how to make the part under the bottom pencil expand along with the content box though~ :S | ||
quirinus
Croatia2489 Posts
for the menu container div, and the div inside it that's under the menu the only problem with that is that it usually has to have a parent container element that has a specified height, which this one doesn't. xD | ||
alffla
Hong Kong20321 Posts
On May 07 2011 01:18 quirinus wrote: try min-height:100%; for the menu container div, and the div inside it that's under the menu that sounds like it's going to stretch it like hell? or what.. o_ o haha lemme try doing the content expanding thing first . sigh | ||
quirinus
Croatia2489 Posts
| ||
tofucake
Hyrule18938 Posts
Inception plot was stolen from CSS. | ||
quirinus
Croatia2489 Posts
On May 07 2011 01:27 tofucake wrote: min-height works on the container and settings. Using min-height: 100% on a div inside another div which has a height of 800px will result in the inner div having a height of 800px as well. Inception plot was stolen from CSS. ah, didn't see he had a specified height for the container. it should work then. but just use min-height:100%; for the div under the menu, don't use it for the container then. lol inception. it's a div inside a div inside a div, and every one steals the rules from the previous one, but with a twist! | ||
Cedstick
Canada3336 Posts
| ||
alffla
Hong Kong20321 Posts
shit man lol im actually gettnig the hang of this css div shit , kinda awesome. my head feels explode-y though. too much information in a day .. :D | ||
Peekay.switch
Canada285 Posts
On May 07 2011 01:50 alffla wrote: hahahhaha omg inception shit man lol im actually gettnig the hang of this css div shit , kinda awesome. my head feels explode-y though. too much information in a day .. :D Whatever you do, do not, I Repeat, Do not open your website in IE6. Welcome to the world of web design! Cool looking website btw | ||
alffla
Hong Kong20321 Posts
how the heck do i make this filler (the filler under the last pencil that says dsdsd) stretch to the bottom ?! >_> i put an image inside the navigation container div, is that the right thing to do? i tried height: 100%; didnt seem to do anything haha. and i read about some bottom: px; thing? but not sure what that is supposed to do . hmph. | ||
alffla
Hong Kong20321 Posts
http://www.cssstickyfooter.com/non-stick-footer.html then somehow make the filler space thing expand all the way to the top of the footer image... -.- ok too tired hope someone replies tmr. .ehe :D thanks so much for all the help everyone. | ||
HorstSchlemmer
Germany114 Posts
So it's basically a variation of your .content: .content { background-image:url(url to 1px high image that will repeat verticaly); background-repeat: repeat-y; } | ||
alffla
Hong Kong20321 Posts
| ||
alffla
Hong Kong20321 Posts
FFFFFFFFFF | ||
alffla
Hong Kong20321 Posts
| ||
quirinus
Croatia2489 Posts
On May 07 2011 14:44 alffla wrote: actually nvm ,i added a backgroud to the overall container div LOL so it covers any missing space. yea, that's generally the technique. any other problems or everything works now? | ||
| ||