Solved

DIV tags within a table

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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.
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 Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

691 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