phool4fool Posted January 4, 2006 Share Posted January 4, 2006 HI friends....I am learning HTML while putting links on my page like thisBack Home NextIn this way i used Spaces ( ) to Align them in One Line. Is that is right way to put Links in one line??? If not then plz guide me.....Ok bye...take care of ur selves Link to comment Share on other sites More sharing options...
aspnetguy Posted January 4, 2006 Share Posted January 4, 2006 this would be a better method <html><head> <title></title> <style type="text/css"> .Menu{} .Menu li{display:inline;padding-right:5px} </style> </head><body><ul class="Menu"> <li><a href="">Home</a></li> <li><a href="">About Us</a></li> <li><a href="">Portfolio</a></li> <li><a href="">Site Map</a></li> <li><a href="">Contact Us</a></li></ul></body></html> you can play with the padding to space the links the way you want. 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