?
Solved

Center Post

Posted on 2011-03-02
3
Medium Priority
?
245 Views
Last Modified: 2012-05-11
How can I center the post box on http://hmetradeshows.com/ ?
0
Comment
Question by:Nathan Riley
[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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

752 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