coolgirl1 Posted May 30, 2012 Share Posted May 30, 2012 Hello!When making a border in CSS, can you put a border around a bunch of links? I wanted to make a square over my side bar of links.Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted May 30, 2012 Share Posted May 30, 2012 Put all the links inside an element and give that element a border. You may need to use floating and specify a width. Link to comment Share on other sites More sharing options...
Guest So Called Posted May 30, 2012 Share Posted May 30, 2012 Is this sort of what you want? http://www.w3schools.com/css/tryit.asp?filename=trycss_link_advanced Link to comment Share on other sites More sharing options...
coolgirl1 Posted May 30, 2012 Author Share Posted May 30, 2012 Thank you for getting back to me. I appreciate that.I did what you said. I created a border class in the p element. It did work however, it stretches across the page. Is there a way to adjust the height and width of the border? Thanks. Link to comment Share on other sites More sharing options...
eTianbun Posted May 31, 2012 Share Posted May 31, 2012 e.g: height:500px;width:300px 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