Outer Court

Tech - Posts to comp.infosystems.www.*

From: "Philipp Lenssen" <phil@mrinfo.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: Vertical Lines
Date: Mon, 3 Sep 2001 11:17:09 +0200
Message-ID: <9mvk08$son$1@swifty.westend.com>
"Jamey Russell" <jamey@inforiadesign.com> wrote in message
news:dBSj7.1605$jc2.78314@newsfeed.slurp.net...
>..
> what is the best way to get a vertical line
> inbetween two table data cells.
>..

In the HTML, you can define a class like:

    ..
    <tr>
        <th>Pencil</th>
        <td>5$<td>
    </tr>
    <tr>
        <th>Paper</th>
        <td>10$<td>
    </tr>
    <tr>
        <th>Sum</th>
        <td class="sum">15$<td>
    </tr>
    ..

then in the CSS:

    .sum
    {
        border-top: 1px solid black;
    }

(That's how I would do it, I guess what you call the "best" way depends on
what exactly you want.)

--
Philipp Lenssen
M+R Infosysteme
http://www.mrinfo.de





 
Basic
Goodies
Design
Tech
Email