[Mediawiki-l] Changing the main editing form/textarea

DanTMan dan_the_man at telus.net
Thu Aug 16 08:57:23 UTC 2007

You are right about the cascading bit. Except there are 2 things to 
consider. The textbox is defining the columns for the textbox, not the 
actual width of it, so a width should technically be able to override 
it. And also, the use of !important overrides any other css declaration 
that doesn't also use !important.
^_^ so, it works. And once you get that, you can start to do a number of 
things using CSS that you never thought of before.

~Daniel Friesen(Dantman) of The Gaiapedia, Wikia Graphical Entertainment Project, and Wiki-Tools.com

Sean O'Connor wrote:
> On 8/16/07, Frederik Dohr <fdg001 at gmx.net> wrote:
>>> I want to set the form in percentage rather than a fixed "80".
>> In [[MediaWiki:FooBar.css]]*, add this:
>>      #wpTextbox1 {
>>          width: 80% !important;
>>      }
> Thanks for that.  I didn't realise that a css declaration would
> override hard coded fixed dimmensions. I thought that the cascade of
> things meant that first an external css is looked at, then css in the
> head of the document, then inline style was looked at, meaning the
> closer to the inline style, the more important the styling...
> Sean
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list