Solved

Center Post

Posted on 2011-03-02
3
243 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

Independent Software Vendors: 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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article discusses how to implement server side field validation and display customized error messages to the client.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

737 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