이것은 내 코드입니다.중앙에 많은 블록을 배열하십시오 (html)
<html>
<head><title>HOME||~All About EDM~</title>
</head>
<body >
<center><img src="edm1.jpg" alt="edm" width="950" height="250"></body></center>
<center>
<style type="text/css" >
ul
{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
}
li
{
position:relative;
left:18%;
float:left;
}
a:link,a:visited
{
display:block;
width:200px;
font-weight:bold;
color:#272525;
background-color:#DF01A5;
text-align:center;
padding:10px;
text-decoration:none;
text-transform:uppercase;
}
a:hover,a:active
{
background-color:#272525;
font-weight:bold;
color:#DF01A5;
text-align:center;
}
</style>
</center>
<center>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="genres.html">Genres</a></li>
<li><a href="photos.html">Photos</a></li>
<li><a href="info.html">Info</a></li>
</center>
</body>
</html>
그것의 중앙에 배치로되어있다 (연속) 5 개 블록이 있습니다하지만 난 어떻게 그렇게 아무 생각이 없습니다. 나는 여러 가지 방법을 시도했지만 행렬이 아닌 중심부에 괄호로 들어갑니다. 이 fiddle
일반 구조에 대한
HTML도 추가하십시오. 모든 EDM ~ 약 – Morpheus
당신이 당신의 HTML이 무효 인 것을 알고 있습니까? – Morpheus