sneakyleaf96 Posted October 12, 2014 Share Posted October 12, 2014 Im sure this is a simple solution by my links arent working at the top please help. thanks. index.html stylesheet.css Link to comment Share on other sites More sharing options...
davej Posted October 13, 2014 Share Posted October 13, 2014 My guess is that your unnecessary use of relative positioning is causing a problem. Link to comment Share on other sites More sharing options...
dsonesuk Posted October 13, 2014 Share Posted October 13, 2014 The reason is! you are doing a MS IE and making up your own rules and creating a non-existent element <content></content>, correct this and use clear: both; on this to prevent it merging with the floated elements above it Also: No doctype for html5 No opening html element stylesheet link in wrong place Suggest you read tutorials properly and validate in future. 1 Link to comment Share on other sites More sharing options...
davej Posted October 14, 2014 Share Posted October 14, 2014 Interesting. The mixing of float and relative positioning disabled the links. Link to comment Share on other sites More sharing options...
dsonesuk Posted October 14, 2014 Share Posted October 14, 2014 When you use positioning z-index is enabled and it starts from top to bottom with these positioned elements in sequence 1, 2, 3 etc so the container element will be higher than links above it, the float causes this element to overlap links which means you can't click links as normal cause the positioned element blocks you from doing so. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now