In this board you can talk about general questions about phpMyFAQ
Moderator: Thorsten
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
Hi, I'm having a problem with the submenu div in the admin area
Here's a screenshot:
http://img355.imageshack.us/my.php?imag ... enuhv0.gif
It happened without changes in the admin.css styles, I don't understand why.
How can I fix this?
Last edited by
Nonnus on Tue Oct 28, 2008 6:56 pm, edited 1 time in total.
-
Thorsten
- Posts: 15739
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten »
Hi,
which browser do you use?
bye
Thorsten
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
Hi Thorsten,
I use last version of Firefox. In IE it doesn't happen.
I also noticed that the image quality decreased, also as the font size.
It only happens in Firefox but I still don't know why.
Last edited by
Nonnus on Tue Oct 28, 2008 3:06 pm, edited 1 time in total.
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
Here's the CSS code for subnavcontainer:
Code: Select all
/* 2nd Administration Menu */
#subnavcontainer {
margin-left: 20px;
padding: 0;
height: 24px;
}
#subnavcontainer ul {
border: 0;
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
/* float: left; */
}
#subnavcontainer ul li {
display: block;
float: left;
text-align: center;
padding: 0;
margin: 0;
border-bottom: 1px solid #656565;
}
#subnavcontainer ul li a {
width: 92px;
height: 18px;
border-left: 1px solid #656565;
border-right: 1px solid #656565;
padding-top: 4px;
padding-left: 2px;
padding-right: 2px;
background-color: #FBD7A9;
color: #03121F;
text-decoration: none;
display: block;
text-align: center;
font-size: 80%;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
}
#subnavcontainer ul li a:hover {
color: #07243D;
background: #B3DE77;
}
#subnavcontainer a:active {
background: #01070C;
color: #fff;
}
#subnavcontainer li#active a {
background: #FF6917;
color: #fff;
}
#subnavcontainer ul li a.current {
background: #A2E865;
}
Last edited by
Nonnus on Mon Nov 03, 2008 7:11 pm, edited 1 time in total.
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
I was testing in my hosting server but in localhost there's no problem. (???)
Last edited by
Nonnus on Mon Nov 03, 2008 7:10 pm, edited 1 time in total.
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
Well I think I solved the problem.
It seems that in Firefox we have to clear the float from the parent div so here's the code:
Code: Select all
/* 2nd Administration Menu */
#subnavcontainer {
margin-left: 20px;
padding: 0;
height: 24px;
clear: both;
}
-
Thorsten
- Posts: 15739
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten »
Hi,
thanks für the fix. It's also fixed in 2.0.10.
bye
Thorsten
-
Nonnus
- Posts: 19
- Joined: Thu Oct 09, 2008 2:46 pm
- Location: Portugal
Post
by Nonnus »
You're welcome.
I have to thank you too for developing this faq system, it's really helping me.
