Solved

how to make the content centered

Posted on 2011-02-23
2
330 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

820 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