473,396 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

asp.net and div's

Hi

I am not sure if this is .NET related or pure javascript
Sorry if I clutter .NET forum

I have dropdown with 3 options
first - do nothing all div's hidden
second - display one form
third - display another form

<tr> here dropdown </tr>

<tr>

first div originally hidden

second div originally hidden

</tr>
QUESTION

when page comes up the second tr (with div's)
is of height of BOTH div's !!!!!!!!!!!!!!!
But I want it to be like rubber ie follow in height the corresponding div
(or be heigh 1 if no div's)

Thanks
GSL


Nov 19 '05 #1
1 1072
Lee

Hi ;)

Use Cascading Style Sheets to apply the style 'display: none' to the DIV
to hide it rather than 'visibility: hidden'.

Reference for display:
http://www.blooberry.com/indexdot/css/propindex/all.htm

"greg" <gr***@insauctionNOSPAM.com> wrote in
news:Ot**************@TK2MSFTNGP09.phx.gbl:
Hi

I am not sure if this is .NET related or pure javascript
Sorry if I clutter .NET forum

I have dropdown with 3 options
first - do nothing all div's hidden
second - display one form
third - display another form

<tr> here dropdown </tr>

<tr>

first div originally hidden

second div originally hidden

</tr>
QUESTION

when page comes up the second tr (with div's)
is of height of BOTH div's !!!!!!!!!!!!!!!
But I want it to be like rubber ie follow in height the corresponding
div (or be heigh 1 if no div's)

Thanks
GSL



Nov 19 '05 #2

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

Similar topics

0
by: listaction | last post by:
Hello All, I'm trying to avoid use of tables for layout purposes. So I have the layout positioned using css and <div>. When the browser window is resized by clicking & dragging the mouse, the text...
6
by: Stan Sainte-Rose | last post by:
Hi, How to remove the div tag that VS adds. This div seems to wrap the viewstate variable : <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"...
16
by: brian.ackermann | last post by:
Hi all, I'm working on a quick-n-dirty forum to plug into a 'strategic task planning' module I am putting together. The basics are all in place. I've gotten to a point where I can now view the...
10
by: Luke | last post by:
Hi. I am trying to make correct layout, here is an example of (dynamically generated content via jsp): http://localhost/www/layout.htm Most outer div is positioned absolute (if not then it...
1
by: AndrewF | last post by:
Hi all, I am sure something like this has been covered somewhere so I am hoping a quick answer or pointer may suffice, however a couple of days trawling and I can't find anything on it. I'm...
6
by: Gordowey | last post by:
Where can I find this DIV effect. go to: http://www.amazon.com Put mouse over the text "See All 32 Product Categories" (Top-Middle)..it will open a window with a cool effect... does anyone...
1
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into...
2
by: tonsi | last post by:
I have a page but it wont center the div. Can anyone take a look at it and help. When I try to center in the body using text-align: center; it doesn't work with the main container (called Table_01)....
14
by: issentia | last post by:
I'm working on this site: http://www.essenceofsoy.com/redesign/index2.html and I'm having a few problems with getting the layout exactly right. 1) When the menu items are rolled over, they...
9
by: DevInCode | last post by:
Hi I'm trying to get a css layout working. One so I can use it, and two just to refine my css skills. The idea is that each part of the page (left pane, right pane, middle pane etc) have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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,...

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.