CSS prob

Khayman

I'm sorry Hal...
Political Access
Joined
6 Jan 2002
Messages
5,518
trying to replicate the following using CSS (so easy in tables)

Code:
<table cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/leftbar.png" width="68" height="20" ></td>
<td style="background-color:#2E2B24;" width="100%" height="20"></td>
<td><img src="images/rightbar.png" width="76" height="20"></td>
</tr>
</table>
so basicaly i want <picture><row of colour><picture>

I can get it mostly working but the colour row spans underneath the pictures, and part of the pictures are transparent. i need the colour row to star and stop at the end/begining of each picture (and all to be inline)
 
nice cheat way :p

Code:
.table { display:table; }
.table .tr { display:table-row; }
.table .tr .td { display:table-cell; }

then just replace the normal <table> <tr> <td> with <div class="table"> <div class="tr"> <div class="td"> respectively

what you can do though is

<img src="my.picture.jpg" alt="My Picture" class="picture1">
<img src="my.picture2.jpg" alt="My Picture2" class="picture2">

Code:
.picture1 { border-right:5px solid #2E2B24; }
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back