Solved

DIV tags within a table

Posted on 2002-05-09
2
148 Views
Last Modified: 2010-04-09
I'm trying to get different portions of a table of info to show up, depending on what's clicked (i.e. CLIENT/MIDDLE/SERVER).

Can I use DIV tags to split up a table in this way? or do I have to have 3 separate tables?  

eg. when user clicks CLIENT, the CLIENT div is visible, and the other two aren't..

I'm pretty sure I'm defining the div properly, but it's not working like I want it to right now..

<div id="divClient" style="visibility:hidden; position:absolute;">
0
Comment
Question by:trekkee
  • 2
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 77 total points
ID: 6999928
The div would have to be in a cell.  you can't put part of the table in the div like:

<table>
<div>
<tr>
<td></td><td></tr>
</div>

Will not work.

Youw need separate tables or nested table annd then you can wrap the divs around the complete table structures.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7000945
Glad I could help.  Thanks for the A. :^)

Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Change month dropdown 5 34
Set email body to html using vbscript 6 24
Bad <form> statement? 9 24
Bootstrap on PLNKR 3 13
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now