Jump to content
php.lv forumi

Sintakses jautājums


Recommended Posts

Posted (edited)

kā pareizi uz norādīt uz td rindai (tr) ar savu klasi.

tr.odd td {border-right-style:solid; border-color:#EFEFEF;} nestrādā :(

.odd td {border-right-style:solid; border-color:#EFEFEF;} arī :(

Edited by aika
Posted

Tavam kodam jāizskatās aptuveni šādi:

<table>
<tr><td class="odd">teksts</td></tr>
</table>

tad css failā liec vienu no šiem:

td.odd {junk here}
.odd {junk here}
td {junk here}

Posted (edited)

Nevar vienkārši?

 

border: 1px solid #efefef;

 

Sajaucu... :D

 

border-right: 1px solid #efefef;

Edited by daGrevis
Posted

Nestrādā tev tāpēc, ka nav norādīts border(-right)-width.

nē, nestrādā arī ar border-right: 1px solid #efefef;

problēma jau ir tamā, ka tas td nesaprot ka tr.clase uz viņu attiecas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...