2handband Posted October 11, 2011 Report Share Posted October 11, 2011 Is there any way to centar a div horizontally on the screen using css? Quote Link to comment Share on other sites More sharing options...
2handband Posted October 11, 2011 Author Report Share Posted October 11, 2011 Okay, I got that fixed with the following: margin:0 auto; Troube is, it left the background image over to the elft-hand side of the screen! what can I do about that? Quote Link to comment Share on other sites More sharing options...
Wickham Posted October 11, 2011 Report Share Posted October 11, 2011 (edited) center the background image using this in addition to the background-image codes .bgimage { background-position: top center; } http://www.w3schools.com/cssref/pr_background-position.asp Edited October 11, 2011 by Wickham Quote Link to comment Share on other sites More sharing options...
2handband Posted October 12, 2011 Author Report Share Posted October 12, 2011 Thanks, got it working! Quote Link to comment Share on other sites More sharing options...
tgojkfl Posted November 1, 2011 Report Share Posted November 1, 2011 Now this time I visit many website and found many information but I think this is very important information all of us.I will sharing this information some other people.Thanks for published this information… [spam deleted] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.