Please direct me to the appropriate place if this this question should not be here.
I'm editing my User:XXX/monobook.CSS because any LI in my navigation bar with multipe A's is displayed over several lines but I want them in one line. I have tried these to no avail:
p-navigation li a { display: inline !important; } p-navigation a { display: inline !important; }
They do not work. I also cannot pinpoint in which CSS file these are set to display: block
Apologies again if this is the wrong forum. I could not tell which was the right forum from looking at the Wikipedia pages...
Andrew Dunbar (hippietrail)
Moin,
On Saturday 29 April 2006 00:45, Andrew Dunbar wrote:
Please direct me to the appropriate place if this this question should not be here.
I'm editing my User:XXX/monobook.CSS because any LI in my navigation bar with multipe A's is displayed over several lines but I want them in one line. I have tried these to no avail:
p-navigation li a { display: inline !important; } p-navigation a { display: inline !important; }
They do not work. I also cannot pinpoint in which CSS file these are set to display: block
Apologies again if this is the wrong forum. I could not tell which was the right forum from looking at the Wikipedia pages...
Can't help you offhand with the right answer, but you might want to install the "Web developer toolbar" extension for Firefox. This allows you to view the CSS styles for each element, so you might be able to track down which property comes from where :)
best wishes,
tels
I'm editing my User:XXX/monobook.CSS because any LI in my navigation bar with multipe A's is displayed over several lines but I want them in one line. I have tried these to no avail:
p-navigation li a { display: inline !important; } p-navigation a { display: inline !important; }
They do not work.
#p-navigation a { display: inline !important; }
works for me (note the first character, which says that "p-navigation" is an id).
I also cannot pinpoint in which CSS file these are set to display: block
On the English Wikipedia, it's in http://en.wikipedia.org/skins-1.5/monobook/main.css
Jitse
On Sat, 29 Apr 2006 00:45:28 +0200, Andrew Dunbar hippytrail@gmail.com wrote:
Please direct me to the appropriate place if this this question should not be here.
I'm editing my User:XXX/monobook.CSS
<massive snippage>
They do not work.
<snip>
Not sure how literal that page name was, but just in case I feel I should mention that you need to edit "User:XXX/monobook.css" not "User:XXX/monobook.CSS"
My apologies of that was just a typo in the mail, but you would not be the first person to be confused by MediaWiki's case sensitive pagenames. I've seen plenty of people upload "some image.JPG" and then complain it got deleted when nothing turns up when they try to insert "some image.jpg" on a page for example. I've gone to User:XXX/Monobook.css a couple of times myself and wondered where my stylesheet has gone to before I remember that it needs to be a lowercase "m" in monobook :-o
wikitech-l@lists.wikimedia.org