[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

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

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
Rowby Goren
Asked:
Rowby Goren
  • 3
1 Solution
 
Rowby GorenAuthor Commented:
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
 
GaryCommented:
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
 
Rowby GorenAuthor Commented:
Thanks

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

Rowby
0
 
Rowby GorenAuthor Commented:
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!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now