Solved

DIV tags within a table

Posted on 2002-05-09
2
139 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

760 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

20 Experts available now in Live!

Get 1:1 Help Now