loserone+_+ Posted June 13, 2013 Share Posted June 13, 2013 (edited) im having trouble with indentation, as you can see in the picture,i already tried with margin, padding, , but still had a left indentationhere css code that had relation with the problem .container{width: 960px;background: #CCC;margin: 0 auto;overflow: hidden;} .sidebar1{float: left;width: 180px;background: #CCC;padding-bottom: 0;font-family: Verdana, Arial, Helvetica, sans-serif;}/*This is the "Archive: " word in stylin */ /*all below is belong to Home, About, and Sign-In anchor thats no relation on this problem */ ul.nav{list-style: none;margin-bottom: 15px;} ul.nav li{/* i didnt inserting this, nothing changed though*/} ul.nav a, ul.nav a:visited{padding: 7px 5px 7px 15px;display: block;width: 160px;text-decoration: none;background: rgb(41, 41, 41);;} Edited June 13, 2013 by loserone+_+ Link to comment Share on other sites More sharing options...
MarkT Posted June 13, 2013 Share Posted June 13, 2013 (edited) im having trouble with indentation, as you can see in the picture,i already tried with margin, padding, , but still had a left indentationhere css code that had relation with the problem .container{width: 960px;background: #CCC;margin: 0 auto;overflow: hidden;} .sidebar1{float: left;width: 180px;background: #CCC;padding-bottom: 0;font-family: Verdana, Arial, Helvetica, sans-serif;}/*This is the "Archive: " word in stylin */ /*all below is belong to Home, About, and Sign-In anchor thats no relation on this problem */ ul.nav{list-style: none;margin-bottom: 15px;} ul.nav li{/* i didnt inserting this, nothing changed though*/} ul.nav a, ul.nav a:visited{padding: 7px 5px 7px 15px;display: block;width: 160px;text-decoration: none;background: rgb(41, 41, 41);;} Try this;padding-left: 10px; then post what happens Edited June 13, 2013 by MarkT Link to comment Share on other sites More sharing options...
newseed Posted June 13, 2013 Share Posted June 13, 2013 MarkT's suggestion might work but it's unknown what tag you are using for the word 'Archive'. If you have none then it won't work. You might provide the hmtl as well to help you a little better. Link to comment Share on other sites More sharing options...
loserone+_+ Posted June 14, 2013 Author Share Posted June 14, 2013 it works sir, thank you 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