Topic: More CSS questions you've answered 1000 times (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: I'm over here, now |
posted 01-28-2007 09:21
Ok, I have 3 issues..( I sure I have more than that but these are the 3 I'm attacking right now) |
Paranoid (IV) Inmate From: Kansas City, MO , USA |
posted 01-28-2007 14:59
1) you have a set height for the content: code: #main { position: relative; width:500px; height:300px; background-color: #ffffff; float:left; }
code: #nav1 { position: absolute; left: 5px; bottom: 0; width: 76px; height: 17px; background: url(button.gif) no-repeat left bottom; text-align: center; }
|
Bipolar (III) Inmate From: I'm over here, now |
posted 01-29-2007 00:34
1) Ok, I changed the set height of the "Main" Div and it now stretches to fit the content.... however the "content" div that it is nested in is not expanding with it. I have the "content" div set to height 100% shouldn't it expand with its child divs? |
Paranoid (IV) Inmate From: Kansas City, MO , USA |
posted 01-29-2007 00:51
my bad, first give the header position: relative; THEN use that css i gave you for the nav and it should work fine |
Bipolar (III) Inmate From: I'm over here, now |
posted 01-29-2007 01:02
Sweet! |
Paranoid (IV) Inmate From: Norway |
posted 01-29-2007 01:13 |
Bipolar (III) Inmate From: I'm over here, now |
posted 01-29-2007 05:19
Thanks you very much, I still have a little work to do but its looking pretty good. |
Paranoid (IV) Inmate From: Norway |
posted 01-29-2007 08:56
Much better!
Of course feel free to discard any of the things listed above if they are part of a CSS hack to get IE behave like a good boy. |
Bipolar (III) Inmate From: I'm over here, now |
posted 01-30-2007 01:48
poi, since I have absolutely NO idea what I'm doing I really don't feel bad in telling you... |
Paranoid (IV) Inmate From: Kansas City, MO , USA |
posted 01-30-2007 10:11
1) check these out for some good examples of what he is talking about. code: .link { background: url("bullet-down.gif") no-repeat right; } |
Paranoid (IV) Inmate From: INFRONT OF MY PC |
posted 01-30-2007 10:18
1.) the navigation is actually a list of links so what poi is saying is to convert it in to a list (ul) instead of having lots of small divs code: <ul class="menu"> <li>Home</li> <li>contact</li> . . . </ul>
|
Bipolar (III) Inmate From: I'm over here, now |
posted 02-01-2007 01:09
Thank you all so much, I have a few print jobs pushing me now so it will be a day or 2 before I can play with the church site again. I'll post an update when I start making the suggested changes. |