Solved

CSS float:right

Posted on 2014-09-20
2
124 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 83

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to change pointer icon to hand icon on mouseover 2 31
CSS Logo Problem. 2 21
Change Background Color of Website 5 19
Google Page Speed Insight with srcset 4 20
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
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…

803 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