473,466 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

div tag with height in percentage

hi all,

i am having one aspx page in wich i have 3 rows in table. first row
has height 10% second has 70% and thrid has 20%
in second row i am having another table which i have added in div tag
as this table has large content and i want to provide scorllbar for
navigation.

when i use div tag with height as 100% its not working. i don't want
to set height in pixel.

what i need to do.

please help me asap.

thanks in advance.
Mar 5 '08 #1
1 4007
On 2008-03-05, Archana <tr**************@yahoo.comwrote:
hi all,

i am having one aspx page in wich i have 3 rows in table. first row
has height 10% second has 70% and thrid has 20%
in second row i am having another table which i have added in div tag
as this table has large content and i want to provide scorllbar for
navigation.

when i use div tag with height as 100% its not working. i don't want
to set height in pixel.

what i need to do.
Percentage heights of auto-height containers are ignored.

Absolute positioning won't work either as Firefox for one doesn't allow
a table cell to be the containing block for positioned descendents.

So there's not much you can do unfortunately, except try to think of
some kind of compromise or a way to give yourself a less general problem
to solve.
Mar 5 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Secret Guy | last post by:
Because of my experience posting various places over the last couple of weeks: I'm expecting to be greated with hostility for asking about concepts instead of "practical" things, since that has...
8
by: Vic | last post by:
I've managed to achieve the effect I wanted in IE6 - although I had to use an experession to set the vertical height of a div (I want it to have an overflow and scroll) but I can't work out a way...
3
by: Les Juby | last post by:
I am trying to adjust the window/table size of a website (www.worklaw.co.za) which has made use of DIV tags with its settings embedded in an CSS file. The client wants its width and height to...
18
by: Francois du Toit | last post by:
Can someone confirm this: http://www.purpleray.za.net/opera_bug.html
22
by: Les Juby | last post by:
I am trying to adjust the window/table size of a website (www.worklaw.co.za) which has made use of DIV tags with its settings embedded in an CSS file. The client wants its width and height to...
6
by: Martin Plotz | last post by:
Dear Newsgroup, I would like to have a page with a footer on the bottom of the page with a fixed height. The upper part should have the remaining height. In frames I could achieve this with "*" as...
1
by: Wotney | last post by:
Hoping someone out there can help... I have an UpdatePanel that uses Atlas/Ajax to update it's contents without having to postback the entire page. (pnlUpdate) Within pnlUpdate I have a normal...
6
by: amandadev | last post by:
Hi there, I actually have two problems with the following site: http://coombes.amandadevries.com: 1. Why does Firefox ignore my request for a 'red' background for my ..container? IE doesn't....
0
by: sunny10 | last post by:
Hello, I am new in asp.net and working on my first web application. I am using wizards and want to set its height in percentage let say 100%, but its not working, each wizard step shows different...
4
by: AAaron123 | last post by:
<body runat="server" id="MainBody"> <form id="form1" runat="server" style="background-color:green; width: 100%; height: 100%"> <br /> Table1" runat="server" Style="background-color:Yellow;...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.