#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Nobbies beach, Gold Coast. It's beautiful.
    Posts
    2,575
    Rep Power
    171

    Centering boxes with padding


    Hi;

    I need to add some paddings to the content of each box without boxes going over 100%.
    I also need to keep the boxes in the middle - doesn't quite work like that in Safari -.
    Link
    Appreciate any help.
    Thank you
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    13
    Rep Power
    0
    try changing the margin:0 auto; in:
    Code:
    .boxes
    	{
    		tex-align:center;
    		width:100%;
    		margin:0 auto;
    	}
    to margin: 20px auto;
  4. #3
  5. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Nobbies beach, Gold Coast. It's beautiful.
    Posts
    2,575
    Rep Power
    171
    Originally Posted by leev18
    try changing the margin:0 auto; in:
    Code:
    .boxes
    	{
    		tex-align:center;
    		width:100%;
    		margin:0 auto;
    	}
    to margin: 20px auto;
    No, I need left and right padding
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    830
    Rep Power
    275
    It looks the same to me in Safari 5.1.7 for Windows as it does in FF17.0.7esr

IMN logo majestic logo threadwatch logo seochat tools logo