Solved

Center Post

Posted on 2011-03-02
3
244 Views
Last Modified: 2012-05-11
How can I center the post box on http://hmetradeshows.com/ ?
0
Comment
Question by:N R
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:reyntjensw
ID: 35020511
You can do it in a lot of ways,
- put the box between <center> tags
- put it inside a div, give it a width, and put margin-left:auto and margin-right:auto in css
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 500 total points
ID: 35021010
Your #content .wrappost should have a css attribute margin: 0 auto; and wrapping div: in this case content (with fleft class) should have text-align: center; AND a ficed width, for me it worked with 460px;
0
 
LVL 31

Expert Comment

by:gwkg
ID: 35021041
in the css find #content and add margin-left:35px;

that works in chrome anyway.  If it fails in IE you can either make an IE specific style-sheet with an adjusted left margin or not float the columns.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question