Solved

DIV tags within a table

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

832 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