2015-10-15 247 views
0

我的網站上我的心不是鏈接點擊,louisjr.ukHTML鏈接無法點擊

<!DOCTYPE html > 
<html> 
<head> 
    <title>title</title> 
    <link rel="stylesheet" type="text/css" href="index.css"> 
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> 
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> 
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> 
</head> 
<body> 
    <div id="container"> 
    <div id="titlew"> 
     <a href="welcome.html"><p> Welcome to my site!</p></a> 
    </div> 
    <video muted loop autoplay width="100%" height="100%"> 
     <source src="http://static.videezy.com/system/resources/previews/000/000/094/original/FroggerHighway.mp4" type="video/mp4"/> 
    </video> 
</div> 
</body> 
</html> 

我知道,我的CSS是笨拙,但請幫助:)

我需要這個網站建立一個運行很快由xD 所有幫助是非常讚賞:)

回答

2

添加z-indextitlew元素,像這樣:

#titlew { 
    color: white; 
    position: absolute; 
    font-size: 120px; 
    width: 1900px; 
    height: 20%; 
    text-align: center; 
    margin-left: auto; 
    margin-right: auto; 
    z-index: 1; 
}