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
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
  • 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?
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Use Mid in Html 6 35
JS to redirect to prev page 8 45
CSS (jquiry mobile) question 3 34
CSS - display the same fonts throughout website. 4 25
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…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

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