Solved

Can't get the css to take control of a style

Posted on 2014-03-15
4
240 Views
Last Modified: 2014-03-15
Hello

I have a style for a menu.  I want the menu to float right.  I cant' get the css to be recognized.

In my follow up comment I'll post the URL as well as my current css and html structure.

Looking forward to your expert solution, as well as educating me a bit more on this issue.

Thanks

Rowby
0
Comment
Question by:Rowby Goren
  • 3
4 Comments
 
LVL 9

Author Comment

by:Rowby Goren
ID: 39932085
Okay.

Here's the url:

Development page

Here's the css:
ul.nav menu._MainMenuFloatRight maximenuck {
  float: right;
}

Open in new window


Here's the html:
<ul class="nav menu _MainMenuFloatRight maximenuck"[ style=" ">

Open in new window


Thanks!

Rowby
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39932112
Move the div
<div class="moduletable_menu">

into
<div class="moduletable_MainMenuFloatRight">

Add
.moduletable_MainMenuFloatRight {
float:right
}
.moduletable {
    clear: both;
}


Though the HTML seriously needs a lot of tidying up.
0
 
LVL 9

Author Comment

by:Rowby Goren
ID: 39932154
Thanks

That worked.  And yes, there needs to be plenty of HTML cleanup.

Rowby
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
ID: 39932156
Thanks for your quick response.
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

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
This article discusses four methods for overlaying images in a container on a web page
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…
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 …

910 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

20 Experts available now in Live!

Get 1:1 Help Now