Least favorite thing about css because they are easy for me to break:)
I have a horizontal nav bar. It used to work but I redid some of the site and now it does not. My html code is the following and it works, as in it shows up (vertically as it is not styled). So I'm going line by line in my css to see where the issue is as it was disappearing from the website all together when I inserted the external css style sheet.
The line of code that makes my menu bar disappear from the screen is
.nav { position:absolute; display:block; bottom:5px; right:5px; font-size:12px; } /*Sets the location of the .nav container
class*/
There is nothing blocking the menu from showing up and the menu will show up (without style) without this line of code.
HTML:
sub_men_flt">
Any input? Thanks!
<ul class="nav"> <li><a
<ul class="nav"> <li><a href="index.html">Home</a></li> <li><a href="#" class="sub_men_flt">Content </a><a href="#" class="sub_menu_flyout sub_men_flt"></a> <ul class="sub_men_ul"> <li><a href="#">Classes</a></li> </ul> </li> </ul>
Least favorite thing about css because they are easy for me to break:)
I have a horizontal nav bar. It used to work but I redid some of the site and now it does not. My html code is the following and it works, as in it shows up (vertically as it is not styled). So I'm going line by line in my css to see where the issue is as it was disappearing from the website all together when I inserted the external css style sheet.
The line of code that makes my menu bar disappear from the screen is
.nav { position:absolute; display:block; bottom:5px; right:5px; font-size:12px; } /*Sets the location of the .nav container
class*/
There is nothing blocking the menu from showing up and the menu will show up (without style) without this line of code.
HTML:
sub_men_flt">
Any input? Thanks!
Absolute position nearly always a bad idea
Have you looked at the bottom right of the page? You don't provide any context for your menu so cannot offer more than that.
cheers,
gary