html - Link not working Inside Div -


i beginner , have stupid question ask. created these 2 divs , have linked 2 pages them. problem is, 2nd link (sign in) works first 1 won't.

here's html:

         <div id="intro-img" class="animated fadein"> <a href="signup.html" class="btn">sign up</a>           <div class="wallpaper" alt="wireframe"></div>           <div id="intro-img" class="animated fadein"> <a href="signin.html"class="btn1">sign in</a>           <div class="wallpaper1" alt="wireframe"></div> 

and here's relevant css:

#intro .btn {     position: absolute;     width: 200px;     height: 70px;     padding: 0;     top: 150px;     z-index: 40;              }  #intro .btn1 {     position: absolute;     width: 200px;     height: 70px;     padding: 0;     top: 280px;     left:5px;     z-index: 50;              } 

you forget close div or maybe don't check correct name singup.html

<div id="intro-img" class="animated fadein"> <a href="signup.html" class="btn">sign up</a><div id="intro-img" class="animated fadein"> <a href="signup.html" class="btn">sign up</a> </div>  

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -