이미지 없는 라운드테이블 만들기 입니다.

이미지 없이 스타일쉬트로만 만들어 봅니다...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>이미지 없이 라운딩 박스 표현하기!</title>
<style type="text/css">
.rtop, .rbottom{display:block}
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden; background:#CCCCCC}
 .r1{margin: 0 5px}
.r2{margin: 0 3px}
.r3{margin: 0 2px}
.r4{margin: 0 1px; height: 2px}
.box { background:#CCCCCC; padding:5px 10px; font-size:12px; font-size:12px}
</style>
</head>

<body>

<div id="container">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
 <div class="box">이미지 없이 라운딩 박스 표현하기!</div>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
 </div>

</body>
</html>

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>이미지 없이 라운딩 보더 표현하기!</title>
<style>
.rtop, .rbottom{display:block;}
.rtop *, .rbottom *{display:block; height:1px; overflow:hidden;}
.r1{margin:0 5px; background:#CCCCCC}
.r2{margin:0 3px; border-left:2px solid #CCCCCC; border-right:2px solid #CCCCCC;}
 .r3{margin:0 2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC;}
 .r4{margin:0 1px; height:2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC;}
 .box { margin:0; padding:5px 10px; border-left:#CCCCCC solid 1px; border-right:#CCCCCC solid 1px; font-size:12px}
 </style>
</head>

<body>
<div id="container" style="background: #fff">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
 <div class="box">이미지 없이 라운딩 보더 표현하기!</div>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b></div>
 </body>
</html>

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>이미지 없이 라운딩 박스 + 보더 표현하기!</title>
<style>
.rtop, .rbottom{display:block;}
.rtop *, .rbottom *{display:block; height:1px; overflow:hidden;}
.r1{margin:0 5px; background:#CCCCCC}
.r2{margin:0 3px; border-left:2px solid #CCCCCC; border-right:2px solid #CCCCCC; background:#EEEEEE}
 .r3{margin:0 2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; background:#EEEEEE}
 .r4{margin:0 1px; height:2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; background:#EEEEEE}
 .box{ margin:0; padding:5px 10px; border-left:#CCCCCC solid 1px; border-right:#CCCCCC solid 1px;  background:#EEEEEE; font-size:12px}
 </style>
</head>

<body>
<div id="container" style="background: #fff">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
 <div class="box">이미지 없이 라운딩 박스 + 보더 표현하기!</div>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b></div>
 </body>
</html>  

|

댓글 1개

오~ 좋네요 b 태그를 div로 변경해도 잘되는군요
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
10년 전 조회 418
10년 전 조회 381
10년 전 조회 441
10년 전 조회 431
10년 전 조회 414
10년 전 조회 579
10년 전 조회 589
10년 전 조회 356
10년 전 조회 656
10년 전 조회 1,009
10년 전 조회 462
10년 전 조회 683
10년 전 조회 690
10년 전 조회 516
10년 전 조회 468
10년 전 조회 434
10년 전 조회 529
10년 전 조회 304
10년 전 조회 337
10년 전 조회 555
10년 전 조회 388
10년 전 조회 355
10년 전 조회 341
10년 전 조회 357
10년 전 조회 354
10년 전 조회 340
10년 전 조회 345
10년 전 조회 377
10년 전 조회 468
10년 전 조회 308
10년 전 조회 346
10년 전 조회 426
10년 전 조회 1,153
10년 전 조회 361
10년 전 조회 359
10년 전 조회 488
10년 전 조회 364
10년 전 조회 538
10년 전 조회 474
10년 전 조회 361
10년 전 조회 361
10년 전 조회 414
10년 전 조회 409
10년 전 조회 300
10년 전 조회 305
10년 전 조회 257
10년 전 조회 311
10년 전 조회 709
10년 전 조회 329
10년 전 조회 426
10년 전 조회 346
10년 전 조회 545
10년 전 조회 361
10년 전 조회 298
10년 전 조회 323
10년 전 조회 345
10년 전 조회 470
10년 전 조회 416
10년 전 조회 267
10년 전 조회 326
10년 전 조회 1,290
10년 전 조회 1,185
10년 전 조회 723
10년 전 조회 1,333
10년 전 조회 379
10년 전 조회 816
10년 전 조회 1,027
10년 전 조회 483
10년 전 조회 432
10년 전 조회 432
10년 전 조회 286
10년 전 조회 434
10년 전 조회 456
10년 전 조회 980
10년 전 조회 385
10년 전 조회 459
10년 전 조회 437
10년 전 조회 1,361
10년 전 조회 465
10년 전 조회 327
10년 전 조회 479
10년 전 조회 497
10년 전 조회 569
10년 전 조회 372
10년 전 조회 429
10년 전 조회 828
10년 전 조회 760
10년 전 조회 735
10년 전 조회 291
10년 전 조회 374
10년 전 조회 378
10년 전 조회 317
10년 전 조회 587
10년 전 조회 311
10년 전 조회 648
10년 전 조회 307
10년 전 조회 604
10년 전 조회 305
10년 전 조회 532
10년 전 조회 1,102
🐛 버그신고