Solved

CSS float:right

Posted on 2014-09-20
2
112 Views
Last Modified: 2014-09-22
Please look at http://rkassoc.org/Davis/outdoor-lighting.html

Note the menu section with the blue background in the middle, right.

I want that to flush up against the right edge of the page; it doesn't, event thought the containing div says float: right;

See attached html.

How do I get it ALL the way right?

Thanks
outdoor-lighting.html
0
Comment
Question by:Richard Korts
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 250 total points
ID: 40334778
Remove the left padding on the div.

You also need to fix your markup

<b>PRODUCTS<b></span>

Should be a closing </b> tag and there is no opening span tag.
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 40334808
And put padding-left to 75px in the <ul>:
<ul id="menu" class="men" style="color: rgb(163, 164, 169); font-family: Memphis Pro Medium; padding-left: 75px;">
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

708 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

18 Experts available now in Live!

Get 1:1 Help Now