html - I cant find my link on the home page -



html - I cant find my link on the home page -

i having problem finding link. when open html , css in file, cannot visibly see (i believe stuck under div, though z-index higher?) not exclusively sure why, help appreciated!

html:

<!doctype html> <html> <head> <link type="text/css" rel="stylesheet" href="stylesheet.css" /> <title>derpycats.com</title> </head> <body> <!--background (carbon fibre)--> <body background="background.jpg" alt="background" /> <!--header--> <h1 id="header">derpycats.com</h1> <div id="headerdiv"></div> <!---links--> <a href="http://www.youtube.com">home</a> </body> </html>

css:

/* sets pixel density "fill browser" */ * { width: 100%; height: 100%; } /* heading */ #header { float:left; margin-left: 5px; padding-top: 5px; font-size: 16px; font-family: verdana, sans-serif; color: #d9411e; z-index: 2; position: fixed; font-size: 50px; bottom: -50px; } /* css heading div */ #headerdiv { border-radius: 5px; z-index: 1; position: fixed; width: 99%; margin-top: -20px; height: 100px; background-color: white; margin-bottom: 10px; } /* css links */ { z-index: 3; font-family: verdana, sans-serif; } /* css normal paragraphs */ .paragraph { color: white; font-family: courier, serif; }

p.s. don't believe matters, on osx using sublime text 2.

i didnt understand trying but, #headerdiv overlays link.

you can give z-index = -1 value #headerdiv send back.

html css hyperlink

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -