Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2004, 09:39 PM
Authorized User
 
Join Date: Aug 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default static HTML table border problem

Hi all,
   I want to provide each row with a Checkbox so i need to write checkboxes into the same table. however, how to make border of column of checkboxes invisible while other parts of the table's borders r displayed as usual?

thanks


 
Old August 10th, 2004, 09:11 AM
Authorized User
 
Join Date: Aug 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There's no simple way, using HTML, to get the affect you're looking for.

The best idea is probably to use CSS, but that can be tricky if you've never used it before. If you want to, post the table, and we'll see what we can do.



 
Old August 10th, 2004, 12:40 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Have a look at this example...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.test {
    border: 0px #FF0000;
}
-->
</style>
</head>

<body>
<table width="200" border="1">
  <tr>
    <td class="test">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="test">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td class="test">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
--------------------------------------------
Mehdi.:)
 
Old August 10th, 2004, 08:32 PM
Authorized User
 
Join Date: Aug 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks u two.

 
Old August 12th, 2004, 04:58 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Dear Robin if you wanto display the border of the table then
use a CSS and in CSS

        .table
        {
            border: 1px solid black;

        }

it wil create a outer boarder of the table
__________________________________________________ ________________________________

.td
        {
            border-bottom: 1px solid black;
        }
it wil create the boarder of rows where u applied it





Numan
--------------------------------------------------
Love is the most precious thing of this world. So find and grab it!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorporate HTML Code in XSLT (Drop down border) ismailc XSLT 3 January 14th, 2008 09:18 AM
non-static reports to static html files miamikk ASP.NET 2.0 Basics 0 June 4th, 2007 01:48 PM
CSS for Table border. rupen CSS Cascading Style Sheets 2 March 29th, 2006 09:41 AM
Static Variables For HTML Header Parmy XSLT 1 February 20th, 2006 03:46 PM
Table and border mani_he Javascript 6 January 4th, 2005 05:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.