How do I move text

Posted on 2011-09-09
Last Modified: 2012-05-12
How do I move and center the "Pat Quinn, Governor   Jack Messmore, Acting Director" to just under the "Illinois Department of Insurance"?
Question by:smitty62
  • 3
  • 2
  • 2
LVL 30

Accepted Solution

LZ1 earned 500 total points
ID: 36513851
For your #GovDirNames just add text-align:center;
LVL 16

Expert Comment

ID: 36517466
Or like this: #GovDirNames ul {text-indent:250px;list-style-type:none;}

Author Comment

ID: 36522592
Thanks again SSupreme, that worked, and I set the margin-top:-50px; to move it up.  I'm trying to get a better handle on how to position things on the page with CSS.  Do you know of any good books or references I could use to help me learn this a little faster?
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 30

Expert Comment

ID: 36522610
Just curious why you wouldn't use text-align:center?  More semantic and you'll get exact results every time.

Author Comment

ID: 36522635
I scrolled to the bottom of the page, and took the last suggestion that was there.  I just changed it to text-align:center, and yes that worked.  Thanks LZ1.  

Author Closing Comment

ID: 36522637
Thank you
LVL 16

Expert Comment

ID: 36525427
I suggested my solution because you wanted to move not align, and as I can see center of "Illinois Department of Insurance" isn't where it is now.

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to show result of a NULL value at random? 32 50
Put shading on half of picture 8 42
manage footer size 4 50
Cannot center boxes on mobile, but looks good on desktop 9 26
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…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

813 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

11 Experts available now in Live!

Get 1:1 Help Now