coolcars Posted January 3, 2007 Share Posted January 3, 2007 Could some one tell me how to align links horizantilly?Thanks Dylan Link to comment Share on other sites More sharing options...
aspnetguy Posted January 3, 2007 Share Posted January 3, 2007 Try this <html><head> <style> li{display: inline; padding-right: 5px} </style></head><body> <ul> <li><a href="somewhere.html">Link 1</a></li> <li><a href="somewhere.html">Link 2</a></li> <li><a href="somewhere.html">Link 3</a></li> <li><a href="somewhere.html">Link 4</a></li> </ul></body></html> Link to comment Share on other sites More sharing options...
coolcars Posted January 3, 2007 Author Share Posted January 3, 2007 Try this<html><head> <style> li{display: inline; padding-right: 5px} </style></head><body> <ul> <li><a href="somewhere.html">Link 1</a></li> <li><a href="somewhere.html">Link 2</a></li> <li><a href="somewhere.html">Link 3</a></li> <li><a href="somewhere.html">Link 4</a></li> </ul></body></html> its not working but thanks for the try 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