Solved

how to make the content centered

Posted on 2011-02-23
2
300 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
Comment Utility
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
Comment Utility
Try this:
Table_01 {height: 500px;  margin: 0 auto;  position: relative; width: 800px;}
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
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 …

772 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

10 Experts available now in Live!

Get 1:1 Help Now