Solved

how to make the content centered

Posted on 2011-02-23
2
313 Views
Last Modified: 2012-05-11
I have created the page using Photoshop CS4 and slices.  The page is the html page saved by photoshop.  I would like for the content to be centered in the browser instead of to the right.  What do I need to change in the CSS to move it to the center?

The page is located at: http://www.brightideaswebdesign.com/Gloria_Hudson/landing/landing.html
0
Comment
Question by:brightsusan
2 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
ID: 34965951
text-align="center";

or

style="align: center;"

or

align="center"

Each of these would be appropriate for a specific element. Depending on whether it's a DIV or a table. Which is it in your case? What will you be applying the CSS to?
0
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 34966017
Try this:
Table_01 {height: 500px;  margin: 0 auto;  position: relative; width: 800px;}
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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

920 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

15 Experts available now in Live!

Get 1:1 Help Now