Click to See Complete Forum and Search --> : Making frame equal to another


Throntel
03-08-2006, 05:14 PM
Well, I don't know if frame was the right word.
But I'll just try show with an example:

#navibar
{
background-color:#XXXXXX;
position:absolute;
left: X px;
top: X px;
width: X px;
height: X px;
}

One of these, how can I get forexample this navibars height to be as high as the hight of another one, forexample the content thing.

I know I'm explaining this bad, but please try and understand, If the "frame or whatever" called content increase size then the navibar will get the same height. so that when I write into the content where the hight is set by how much I write the content one will increase to the same amount of px.

Couldn't really find a word for anything to day, try to understand. If not reply and Ill try to explain...

thewebman
03-08-2006, 06:24 PM
a link might be helpful. I think I know what you're trying to do, but we need to see exactly what you're trying to do.

Throntel
03-09-2006, 09:19 AM
Well the site havn't been published yet, But if you think you understand please just try to answere :P

Throntel
03-09-2006, 09:31 AM
Made a fast template, might explain more what I want... atleast I hope :P
http://www.geocities.com/kabinettmicro/index.html

Good luck in trieng to understand me :P

thewebman
03-09-2006, 11:39 AM
create an image that is the width and color of the nav bar and use this css:

body {
background: url(image.gif) repeat-y;
}

Throntel
03-09-2006, 12:04 PM
Don't think you really understand, that would just make it look like it continued, but I need it to actully do so

thewebman
03-09-2006, 01:02 PM
I'm sorry, that's what I thought you wanted. so you want text running all the way down to the bottom and some of it not showing if the other div is smaller? that doesn't make sense. what exactly do you need at the bottom?

Throntel
03-09-2006, 01:40 PM
Well, I want the navibar to be just as high as the content so that when I write more in content the navibar will grow aswell.
But I would like the navibar to actully be as high and not just look like it

Norsk
03-09-2006, 05:33 PM
Hi...

You can't do what you are trying to do with CSS (You can with tables). You could use some advanced scripting to do what you are trying to do but I'm not sure it's worth the effort.

Sorry...