Solved

CSS float:right

Posted on 2014-09-20
2
133 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

717 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