DHTML Table - absolute Positioning

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 14th, 2003, 13:27
New Member
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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!!

  #2 (permalink)  
Old Nov 14th, 2003, 13:50
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,953
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
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
  #3 (permalink)  
Old Nov 14th, 2003, 16:12
New Member
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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>
  #4 (permalink)  
Old Nov 14th, 2003, 22:06
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,953
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
What does the A_Table Sub do exactly?
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #5 (permalink)  
Old Nov 15th, 2003, 01:05
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
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.
  #6 (permalink)  
Old Nov 17th, 2003, 17:04
New Member
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #7 (permalink)  
Old Nov 17th, 2003, 19:39
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Depending on how your page is setup I think you just need to not specify a height for the table to make it adjust dynamically.
Closed Thread

Tags
dhtml, table, absolute, positioning

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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? google 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


All times are GMT. The time now is 13:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43