This is a discussion on "DHTML Table - absolute Positioning" within the Web Page Design section. This forum, and the thread "DHTML Table - absolute Positioning are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
DHTML Table - absolute Positioning
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
DHTML Table - absolute Positioning
Hi all, I have DHTML in an ASP page that calls different ASP tables from hidden layers. Now when I view it on a Mac the tables are all invisible. Can I make the tables have an absolute position or how can I make them visible on both platforms?
Thanks!! |
|
|
|
||||
|
you could use CSS to position these elements:-
<Style> .mytable {position:absolute; width:100px; height:100px; top:30; left:30; visibility:visible} </Style> Just put this attribute in your table definition. Eg: <table class=mytable> Hope this helps
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
thanks Rob, actually the Tables are layered within a cell that contains other text --
<span id="hotels" style="position:relative; width:95%; height:290; overflow:auto;"> <% A_Table 4462, "USD", "" A_Table 4464, "USD", "" A_Table 4465, "USD", "" A_Table 4463, "USD", "" A_Table 4466, "USD", "" %> </span> |
|
||||
|
What does the A_Table Sub do exactly?
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
You should also make sure to include units with your CSS, like 290px instead of 290. Some browsers freak out without them and hide your content.
|
|
|||
|
Can the height be dynamic, so that the table can adjust to content below it..?
thanks for your help. I placed a browser check in the Javascript and adding the px to the size helped viewing on a Mac in IE 6 |
![]() |
| Tags |
| dhtml, table, absolute, positioning |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When is it ok to use Absolute Positioning ?? | slimboyfatz32 | Web Page Design | 31 | Feb 6th, 2008 17:25 |
| positioning - relative or absolute? | Web Page Design | 13 | Nov 8th, 2007 16:00 | |
| absolute positioning | micker | Flash & Multimedia Forum | 1 | May 21st, 2007 19:17 |
| Trouble with absolute positioning | minerguy | Web Page Design | 4 | May 26th, 2006 04:35 |
| Rollovers and absolute positioning | echo | Web Page Design | 5 | May 2nd, 2006 10:51 |