All,
Not sure if this is a CSS or Javascript question, so I'm starting here.
I have 2 tables that appear stacked, meaning 1 looks as though it sits on top of or appears above the second one:
<table id="tblTable1"></table>
<table id="tblTable2"></table>
I have some Javascript that hides/shows one of these 2 tables based on a selection from a dropdownlist.
My question is this...how can I make it appear as though both tables take up the same space instead of 1 over the other? Almost as if they were stacked on top of each other and only 1 would appear at once, however each one taking up the exact same space or position on the web page. Isn't there a CSS property that controls this?
Thanks,
Mark
Not sure if this is a CSS or Javascript question, so I'm starting here.
I have 2 tables that appear stacked, meaning 1 looks as though it sits on top of or appears above the second one:
<table id="tblTable1"></table>
<table id="tblTable2"></table>
I have some Javascript that hides/shows one of these 2 tables based on a selection from a dropdownlist.
My question is this...how can I make it appear as though both tables take up the same space instead of 1 over the other? Almost as if they were stacked on top of each other and only 1 would appear at once, however each one taking up the exact same space or position on the web page. Isn't there a CSS property that controls this?
Thanks,
Mark