[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I move text

Posted on 2011-09-09
7
Medium Priority
?
190 Views
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"?

http://insurance.illinois.gov/newdefault2/newdefaultflat3.asp
0
Comment
Question by:smitty62
  • 3
  • 2
  • 2
7 Comments
 
LVL 30

Accepted Solution

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

Expert Comment

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

Author Comment

by:smitty62
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?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 30

Expert Comment

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

Author Comment

by:smitty62
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.  
0
 

Author Closing Comment

by:smitty62
ID: 36522637
Thank you
0
 
LVL 16

Expert Comment

by:SSupreme
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.
 sample
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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 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…
Suggested Courses
Course of the Month19 days, 23 hours left to enroll

873 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