By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

Question with centering content with css

P: 1
I have a <div> that is centered, and has a background image with no border. However the text is going outside of the <div> and will not stay inside of it. I tried to use [HTML]margin-left: -20px;[/HTML], but that did not work. So what can I do to make the text appear inside the divider.
Here is a screenshot:

Apr 7 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,435
Do you want a picture of the solution or the actual code. Without the complete html and css or, preferably, a link, we can only guess at a solution.
Apr 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.