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

Unordered List (UL) CSS question

erzoolander
erzoolander asked
on
Medium Priority
310 Views
Last Modified: 2012-05-11
Hey -

Our front end developer is coming up a little short right now - and I'm more of a backend guy...knowing enough about CSS to be dangerous - but in no way proficient.  So - maybe this is a stupid question - but 500 points to whoever can give me the best answer.  :)

We have an unordered list (UL) set.

Inside of that list - I want each list item to look like this.

Item                                                              Price

On the same line - with "Price" right justified.

What would the CSS be to accomplish that?

Thanks in advance!
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2015

Commented:
<ul style="list-style:none;width:400px;">
        <li style="float:left;">Item</li>
        <li style="float:right;">Price</li>
    </ul>
CERTIFIED EXPERT
Top Expert 2015
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you!
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.