We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

cs alignment problem

lvollmer
lvollmer asked
on
Medium Priority
214 Views
Last Modified: 2012-05-11
http://tinyurl.com/4xzr6xr

I have some scrolling text in the header of this page. I need the text to align-right with the red bar, but it seems to be aligning left instead.

Also , a random bullet appears on the first scrolling item, but not the rest of the items. Any way to resolve these two issues?
Comment
Watch Question

Top Expert 2011

Commented:
You need to add styling for your nested li items.

You currently have a ul ID of news.

Try adding something like:
ul#news li {
  text-align: right !important;
}

Open in new window


For the bullet issue, which I didn't see, try adding:

ul#news, ul#news li {
  list-style-type: none;
}

Open in new window

Author

Commented:
that erased the bullet but the alignment is still off.
Top Expert 2011

Commented:
K. The alignment issue is deeper because of the markup on the XHTML.

You have given all of them a position of absolute and a display of block. Do you have a way to edit this? Or is this a plugin you are using that you can't access the source code?

Author

Commented:
this is not a plugin - and I don't see that code any of that code in the CSS - i wonder if the javascript is adding it?
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Top Expert 2011

Commented:
Be sure to close out the syntax. Sorry. Left out the closing bracket.
Top Expert 2011

Commented:
Here is a screenshot with that CSS applied. CSS SCreenshot

Author

Commented:
this is perfect, thanks
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.