?
Solved

DIV tags within a table

Posted on 2002-05-09
2
Medium Priority
?
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 308 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

770 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