테스트 사이트 - 개발 중인 베타 버전입니다

고수님들 CSS 의 호환성에 관해서 급 도움부탁드립니다.

· 11년 전 · 1043 · 3

그누보드에다가 예전에 테이블로 만들고 메뉴는 플래쉬로 만들었다가 메뉴부분만 CSS로 다시 만들었는데,

익스플로러11에서는 잘구동이 되는데 하위버전에서 CSS로 만들어진 메뉴부분만 틀이 깨지는데

제가 어떻게 손을 못대겠어요....

 

아래 코드인데 어떤부분을 고쳐야 되는지요....

고수님들의 도움의 손길을 기다립니다...

 

<?
</style>
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
//echo outlogin("2ustory_white"); // basic 스킨으로 아웃로그인을 출력합니다.
$g4['title'] = " ";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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">
.navi,
.navi ul,
.navi li,
.navi a {
 margin: 0;
 padding: 0;
 border: none;
}

.navi { 
 list-style-type: none;
 height: 40px;
}
.navi li {
 float: left;
 position: relative;
 background: #0066cc;
 z-index: 1; 

}

.navi li:first-child{
 -webkit-border-radius: 5px 0 0 0;
 -moz-border-radius: 5px 0 0 0;
 border-radius: 5px 0 0 0;
}

.navi li:last-child{
 -webkit-border-radius: 0 5px 0 0;
 -moz-border-radius:  0 5px 0 0;
 border-radius:  0 5px 0 0;
}

.navi li a {
 display: block;
 font-family:"굴림",gulim,sans-rerif;
 font-weight:bold;
 width:110px;
 padding:0 20px;
 margin:10px 0;
 text-align:center;
 color: #ffffff;
 text-decoration: none;
 
 border-left:1px solid #006633;
 border-right:1px solid #003333;

 -webkit-transition: color .2s ease-in-out;
 -moz-transition: color .2s ease-in-out;
 -o-transition: color .2s ease-in-out;
 -ms-transition: color .2s ease-in-out;
 transition: color .2s ease-in-out;
}

.navi li:first-child a{
border-left:0;
}

.navi li:last-child a{
border-right:0;
}

.navi li a:hover {
 color:#F90;
}
.navi li ul { 
 opacity: 0;
 position: absolute;
 left: 0;
 background: #3366cc;
 list-style-type: none;
 padding: 0;
 margin: 0;
  

 -webkit-transition: opacity .25s ease .1s;
 -moz-transition: opacity .25s ease .1s;
 -o-transition: opacity .25s ease .1s;
 -ms-transition: opacity .25s ease .1s;
 transition: opacity .25s ease .1s;
}

.navi li:hover ul{
 position:absolute;
 right:0;
}
.navi li:hover ul {
 opacity: 1;
 -webkit-border-radius: 0 0 5px 5px;
 -moz-border-radius: 0 0 5px 5px;
 border-radius: 0 0 5px 5px;
}
.navi li ul li {
 float: none;
 position: static;
 height: 0;
 line-height: 0;
 background: none;
  

  -webkit-transition: height .25s ease .1s;
 -moz-transition: height .25s ease .1s;
 -o-transition: height .25s ease .1s;
 -ms-transition: height .25s ease .1s;
 transition: height .25s ease .1s;
}
.navi li:hover  ul li {
 border-bottom:1px dotted #006633;
 height:42px;
}

.navi li:hover ul li:last-child{
 border-bottom:0;
 margin-bottom:10px;
}

.navi li ul li a {
 margin:0;
 text-align:center;
 background: #0066cc;
 padding:10px 20px;
 line-height:22px;
 border:0;
 color:#FFF;
 
}
.navi li ul li a:hover {
 background: #0099ff;
}
</style>​ 

 

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 3개

border-radius, transition 는 css3요소입니다...
border-radius는 크게 문제될거 같지않지만,
사용하고 계시는 메뉴효과의 주요부분이 모두 transition으로 처리되어 있기때문에 발생하는 문제 같습니다..
css3가 지원되지않는 구버전 브라우저에서는 정상출력되지 않습니다..
javascript혹은 j쿼리를 사용하여 메뉴기능을 대체해시거나
구버전에서 사용가능한 css만으로 수정하셔야할것 같습니다.

-------------------------------------------------------------------------------------------------

라고 적어놓고보니 질답게시판에도 글을 올려두셨네요.
이미 답변을 주신분이 계시네요. 해당 답변이 더 상세합니다.
제 답변은 그냥 참고하시면 될 듯합니다.
감사합니다..근데 질문데 대한 답으로 채택은 어떻게 하는지...아무리 찾아도 없네요
아...감사합니다...^^

게시글 목록

번호 제목
27980
7164
31729
31726
31725
31720
31711
7159
27974
19734
19730
19729
27969
7142
19728
19725
7130
19722
19719
7124
19718
19717
19716
19715
7122
30959
19714
31710
31709
19713
7117
19712
7111
31708
31707
19710
31706
31705
31704
19709
19707
31703
19706
31702
19705
31701
19704
31700
31699
31698
7107
19703
31697
31696
19702
19701
31695
27965
31694
19700
31693
19699
31692
31691
19698
19697
19696
19694
19693
19692
19691
19690
19689
19688
19687
7105
30955
7100
19681
7097
19678
7089
7086
7084
7082
19677
30953
7080
7077
7071
7070
7066
19676
19674
27961
7063
7061
19669
7060
20842