PDA

View Full Version : virtical border line. CSS.


Morgoth
03-24-2003, 04:11 AM
Hello,


<table cellpadding="0" cellspacing="0" width="100" height="30" border="1">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td align="center" valign="center" width="50%"><img src="images/t.jpg" border="0"></td>
<td align="center" valign="center" width="50%"><font size="2"></font></td>
</tr>
</table>
</td>
</tr>
</table>


Inside the second table (middle table), in the first td tag, I want to apply a virtical line, maybe it's part of the border or not, but I want a vertical line with the colour of #0000FF, it also needs to be one pixel width..

So, if you copy this code into an html file and view it, it'll will look like this:
http://24.226.62.28/images/CF.gif

And this is kinda what I need with the green line using CSS:
http://24.226.62.28/images/CFgreen.gif

If you can help me, please do, and thank you for all that try to help me...

Morgoth
03-24-2003, 04:11 AM
If you try and you get something of a line in there some how, pleae post up the code, I might use it if it's the only option...

Thanks again!

meow
03-24-2003, 02:30 PM
Have you tried giving one of the TDs a border-left or border-right?

Something like so:
td.blah { border-left: 1px solid lime }

...
<td>...</td>
<td class="blah">...<td>
...

Morgoth
03-24-2003, 08:04 PM
solid!!!

Thank you Meow.

meow
03-24-2003, 08:40 PM
Gesuntheit! :D