Solved

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

Posted on 2014-03-15
4
238 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks

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

Rowby
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
Comment Utility
Thanks for your quick response.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Handling the alignment of the Drop down Divs 11 50
Creating a slider 12 31
Bootstrap 3 and Angular 2 12 19
Re-position the objects 7 46
"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
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…

763 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

6 Experts available now in Live!

Get 1:1 Help Now