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

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

<!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년 전 조회 543
10년 전 조회 513
10년 전 조회 564
10년 전 조회 557
10년 전 조회 542
10년 전 조회 706
10년 전 조회 711
10년 전 조회 475
10년 전 조회 779
10년 전 조회 1,136
10년 전 조회 584
10년 전 조회 815
10년 전 조회 822
10년 전 조회 646
10년 전 조회 584
10년 전 조회 570
10년 전 조회 663
10년 전 조회 441
10년 전 조회 470
10년 전 조회 690
10년 전 조회 524
10년 전 조회 474
10년 전 조회 474
10년 전 조회 483
10년 전 조회 482
10년 전 조회 462
10년 전 조회 469
10년 전 조회 499
10년 전 조회 599
10년 전 조회 437
10년 전 조회 460
10년 전 조회 538
10년 전 조회 1,285
10년 전 조회 496
10년 전 조회 489
10년 전 조회 623
10년 전 조회 509
10년 전 조회 687
10년 전 조회 609
10년 전 조회 496
10년 전 조회 496
10년 전 조회 551
10년 전 조회 536
10년 전 조회 434
10년 전 조회 427
10년 전 조회 388
10년 전 조회 442
10년 전 조회 841
10년 전 조회 439
10년 전 조회 560
10년 전 조회 468
10년 전 조회 673
10년 전 조회 488
10년 전 조회 400
10년 전 조회 447
10년 전 조회 476
10년 전 조회 600
10년 전 조회 540
10년 전 조회 388
10년 전 조회 451
10년 전 조회 1,413
10년 전 조회 1,305
10년 전 조회 844
10년 전 조회 1,454
10년 전 조회 500
10년 전 조회 947
10년 전 조회 1,150
10년 전 조회 595
10년 전 조회 556
10년 전 조회 553
10년 전 조회 401
10년 전 조회 573
10년 전 조회 570
10년 전 조회 1,106
10년 전 조회 511
10년 전 조회 589
10년 전 조회 558
10년 전 조회 1,489
10년 전 조회 587
10년 전 조회 456
10년 전 조회 602
10년 전 조회 621
10년 전 조회 693
10년 전 조회 488
10년 전 조회 549
10년 전 조회 947
10년 전 조회 876
10년 전 조회 866
10년 전 조회 409
10년 전 조회 499
10년 전 조회 495
10년 전 조회 434
10년 전 조회 704
10년 전 조회 434
10년 전 조회 770
10년 전 조회 440
10년 전 조회 735
10년 전 조회 416
10년 전 조회 655
10년 전 조회 1,221
🐛 버그신고