Solved

how to make the content centered

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

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

Suggested Solutions

Title # Comments Views Activity
2 separate CSS animations 2 38
CSS auto-height of empty div 3 67
toggle content 12 39
Can't Find The Code 15 16
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

734 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