Solved

CSS float:right

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

867 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

23 Experts available now in Live!

Get 1:1 Help Now