Topic: Height, DIVs, CSS and I miss my tables Pages that link to <a href="https://ozoneasylum.com/backlink?for=24902" title="Pages that link to Topic: Height, DIVs, CSS and I miss my tables" rel="nofollow" >Topic: Height, DIVs, CSS and I miss my tables\

 
Author Thread
viol
Maniac (V) Inmate

From: Lago Paranoá
Insane since: May 2002

IP logged posted posted 02-03-2005 18:42 Edit Quote

Is there a way to make the Navigation DIV have the same height as the Contents DIV, in the layout below. The Contents DIV is supposed to be fluid (height will be given by the amount of text inside).

I cannot use an image to fake the navigational column because I need a DIV. I need a DIV because all the corners of all DIVs will have rounded gifs. Note that there is a DIV, named .middle_container, that useless so far. My idea was to use it to make the Navigation DIV goes down all the way but I can't figure out a way.

http://www.viol.com/temp/index.htm

viol
Maniac (V) Inmate

From: Lago Paranoá
Insane since: May 2002

IP logged posted posted 02-04-2005 00:33 Edit Quote

I have switched to a table design.
But, I need DIVs inside the cells, so, I didn't get rid of them.

My problem now. Is there a way to make IE6 and Opera7 render this page just like Firefox, Netscape and Mozilla do?

http://www.viol.com/temp/index_oval3.htm

The problem with IE and Opera is that they don't make the Navigation DIV with the height of 100% of the available cell height.

Any thoughts?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 02-04-2005 00:40 Edit Quote

A quick fix could be to make your rounded corners by using the background of the footer and eventually of the header
You'll certainly need to give them a zIndex and a position:relative; or something to make them slightly overlap the content area.

Hope that helps,

[edit] AAaahh, get rid of this layout table [/edit]



(Edited by poi on 02-04-2005 00:43)

viol
Maniac (V) Inmate

From: Lago Paranoá
Insane since: May 2002

IP logged posted posted 02-04-2005 02:07 Edit Quote

Okay, poi, thanks.

I will try and use the DIV layout but with a javascript to force the height of the DIV to be what I want.

The biggest problem about DIVs is that many times one has to adapt to them, because they simply do not adapt to one's needs.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu