Solved

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

Posted on 2014-03-15
4
251 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

761 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