![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
In article Duane Lambe wrote: On some suggestions from this group, I've started to turn my internal helpdesky site for our company to non-absolute positioning. I've been reading O'Reilly's CSS book, and several [million] web sites and tips. For the most part, things are going OK, but I can't seem to find an answer to a particular problem. Would this help? http://www.student.oulu.fi/~laurirai...float2col.html Using a simpler example, below's some stuff...what I'm trying to do, is get the DIVs inside the .mainbody DIV to be 100% of their parent's height - these are namely the .leftnav and .middle DIVs. All I've seen are absolute positioning examples, and I'm trying very hard to stay away from that. You are solving wrong problem. There is no need to elements actually be same height, they just need to look like that. [Snip code, I would prefer URL.] |
#2
| |||
| |||
|
|
Kinda helps, but not quite what I was going for. That also reacts badly with a container DIV that sets margins on both sides of the page.... not very malleable, but thanks for the link. |
|
I got a great reply from the guy that does Selectutorial http://css.maxdesign.com.au/ which involved using a repeating background image, rather than a background color for the DIV. Works great, and it scales the color down should the main content DIV get larger than it. |
#3
| |||
| |||
|
|
[about my 2 col float example] Kinda helps, but not quite what I was going for. That also reacts badly with a container DIV that sets margins on both sides of the page.... not very malleable, but thanks for the link. On what browser? What happens? I tried different margin withs on Opera 7, and only problem was that my list missed list-style:none; |
|
I got a great reply from the guy that does Selectutorial http://css.maxdesign.com.au/ which involved using a repeating background image, rather than a background color for the DIV. Works great, and it scales the color down should the main content DIV get larger than it. Yes, that works too. Of course it depends on images, but that is small drawback, unless you use such colors that are impossible to read whitout image. |

#4
| |||
| |||
|
|
On Thu, 4 Dec 2003 22:38:13 +0200, Lauri Raittila lauri (AT) raittila (DOT) cjb.net> wrote: [about my 2 col float example] Kinda helps, but not quite what I was going for. That also reacts badly with a container DIV that sets margins on both sides of the page.... not very malleable, but thanks for the link. On what browser? What happens? I tried different margin withs on Opera 7, and only problem was that my list missed list-style:none; IE - I don't have the example saved anymore, but all I did was add a container div with a margin-left/right:10%, and the positioning of the text in the right div misbehaved a little - like it was being pushed over by the list in the left div, but only where the list was parallel with the right-side text. There's likely a way around it, but I was going for something a little simpler. |
![]() |
| Thread Tools | |
| Display Modes | |
| |