Results 1 to 4 of 4
Oct 26, 2007, 01:32 #1
using display or visibility to implement tabs
it seems that we can actually use "display" or "visibility" to implement tabs. i just wonder if there are pros and cons?
it seems that if we use "display", the browser may need to shrink the 1st tab first, and then redisplay the second, thus causing a time delay.
with visibility, there probably is not such delay...
so is this how you make the big tabs content div's:
<div id="tab1" style="height: 800px">
<div id="tab2" style="positive: relative; top: -800px">
tab3, tab4 the same way as tab2...