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

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

· 11년 전 · 1046 · 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만으로 수정하셔야할것 같습니다.

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

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

게시글 목록

번호 제목
20097
20095
20093
20092
20091
20089
20086
20085
20084
20083
20082
28358
20081
20079
20078
20077
20076
20075
20074
20073
20072
20071
20070
20069
8148
20057
8141
24669
20056
8138
28353
20055
20054
20053
20052
20051
20050
20047
20046
20045
20044
8111
20043
20042
20040
20039
20037
20036
20035
20027
8107
31022
20026
20025
20024
20023
28350
20022
20018
20017
8099
20016
20013
8090
20012
20010
20009
19998
28348
28347
19997
19996
19995
19993
8087
8065
19990
8063
8056
19989
19988
19987
19986
19985
19984
19983
19982
8054
19981
19980
19979
19978
19977
19976
19975
19974
19973
19972
19971
19970