Solved

Center Post

Posted on 2011-03-02
3
236 Views
Last Modified: 2012-05-11
How can I center the post box on http://hmetradeshows.com/ ?
0
Comment
Question by:N R
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now