dhpalmer Posted August 7, 2013 Share Posted August 7, 2013 Hi everyone, I hope someone will help me here .. I'm trying to add, at the bottom of a page a link to a "next chapter" and a link to the "prrevious chapter" just like the ones on the W3Schools pages. I've got the text and links OK, bit can't get the "Next" text to the right side of the page. I looked at the source for a W3School's page and I am very close to theirs .. <div id="footer"> <a id="prev" href="index.html">&laqvo;Previous</a> <a id="next" href="chapter2.html">Next»</a> </div> If I add margin-left: 350px; to the css file the "Next>>" will move over but not follow a change in window size by the user. Am writing this just for IE6 'cause it's only used on a closed system as a reference document for a program. Thanks for any suggestions. Link to comment Share on other sites More sharing options...
leev18 Posted August 7, 2013 Share Posted August 7, 2013 try using float instead: http://jsfiddle.net/jkEVS/ #footer { overflow: hidden;}#next { float: right;} 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