|
|
|
16년 전
|
조회 1,236
|
|
|
|
16년 전
|
조회 1,296
|
|
|
|
16년 전
|
조회 1,285
|
|
|
|
16년 전
|
조회 1,325
|
|
|
|
16년 전
|
조회 1,663
|
|
|
|
16년 전
|
조회 1,301
|
|
|
|
16년 전
|
조회 1,673
|
|
|
|
16년 전
|
조회 1,251
|
|
|
|
16년 전
|
조회 1,291
|
|
|
|
16년 전
|
조회 1,697
|
|
|
|
16년 전
|
조회 1,976
|
|
|
|
16년 전
|
조회 2,347
|
|
|
|
16년 전
|
조회 1,451
|
|
|
|
16년 전
|
조회 4,844
|
|
|
|
16년 전
|
조회 1,215
|
|
|
|
16년 전
|
조회 1,297
|
|
|
|
16년 전
|
조회 2,056
|
|
|
|
16년 전
|
조회 1,087
|
|
|
|
16년 전
|
조회 1.5만
|
|
|
|
16년 전
|
조회 7,646
|
|
|
|
16년 전
|
조회 1,219
|
|
|
|
16년 전
|
조회 1,155
|
|
|
|
16년 전
|
조회 1,636
|
|
|
|
16년 전
|
조회 1,182
|
|
|
|
16년 전
|
조회 1,416
|
|
|
|
16년 전
|
조회 1,262
|
|
|
|
16년 전
|
조회 1,123
|
|
|
|
16년 전
|
조회 1,364
|
|
|
|
16년 전
|
조회 1,285
|
|
|
|
16년 전
|
조회 1,541
|
댓글 6개
<style>
#randomcell {background-color:rgb(<?=rand(0,255)?>,<?=rand(0,255)?>,<?=rand(0,255)?>)}
</style>
<table>
<tr>
<td id="randomcell">이 셀은 바탕색이 랜덤이라네</td>
<td>여기는 아니라네</td>
</tr>
</table>
스타일로는 힘들겠고 스크립트라도 있으면 알려주세요..
.cell1 {background-color:#FF0;}
.cell2 {background-color:#F0F;}
.cell3 {background-color:#0FF;}
</style>
<table>
<tr>
<td class="cell<?=rand(1,3)?>">랜덤셀</td>
<td class="cell<?=rand(1,3)?>">랜덤셀</td>
<td class="cell<?=rand(1,3)?>">랜덤셀</td>
<td>이건아님</td>
</tr>
</table>
이런건 어때요?
http://gnucomun.net/sp/study.12.1