Common.css – MediaWiki talk
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix code) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
I think the float command is screwing up the discussion pages in Firefox: [ | I think the float command is screwing up the discussion pages in Firefox: [Bohemia Interactive Community talk:Wiki Policy Proposals Wiki Policy Proposals]] | ||
< | <syntaxhighlight lang="css"> | ||
/* Trying to introduce common.css - did I already see it here? */ | |||
/* ... */ | |||
dd { | dd { | ||
display: block; | display: block; | ||
float: left; /* <- */ | |||
} | } | ||
</ | </syntaxhighlight> | ||
--[[User:Kronzky|Kronzky]] 04:19, 27 July 2006 (CEST) | --[[User:Kronzky|Kronzky]] 04:19, 27 July 2006 (CEST) | ||
:I saw it and already added a namespace. Try Ctrl | :I saw it and already added a namespace. Try {{Controls|Ctrl|F5}}, it works fine for me in Firefox. --[[User:Hardrock|hardrock]] 08:48, 27 July 2006 (CEST) | ||
:: Yeah, it's ok here too now. :) --[[User:Kronzky|Kronzky]] 08:52, 27 July 2006 (CEST) | :: Yeah, it's ok here too now. :) --[[User:Kronzky|Kronzky]] 08:52, 27 July 2006 (CEST) | ||
== <code> tag in examples == | == <code> tag in examples == | ||
I think the default line-height of the <code> tag could do with a slight increase. | I think the default line-height of the <code> tag could do with a slight increase. | ||
<code>_foo = bar; | <code style="display: block; line-height: 1.2em">_foo = bar; | ||
_bar = baz; | _bar = baz; | ||
if (_youLike) { | if (_youLike) { | ||
doSomething; | doSomething; | ||
}; | }; | ||
_meh</code> | _meh | ||
</code> | |||
For example is a bit squashed up, but | For example is a bit squashed up, but | ||
<code style="line-height:1.5em | <code style="display:block; line-height:1.5em">_foo = bar; | ||
_bar = baz; | _bar = baz; | ||
if (_youLike) { | if (_youLike) { | ||
Line 29: | Line 32: | ||
}; | }; | ||
_meh | _meh | ||
</code>Is more readable. Yes? [[User:Fred Gandt|Fred Gandt]] ([[User talk:Fred Gandt|talk]]) 09:30, 25 March 2014 (CET) | </code> | ||
Is more readable. Yes? [[User:Fred Gandt|Fred Gandt]] ([[User talk:Fred Gandt|talk]]) 09:30, 25 March 2014 (CET) |
Latest revision as of 00:48, 8 May 2024
I think the float command is screwing up the discussion pages in Firefox: [Bohemia Interactive Community talk:Wiki Policy Proposals Wiki Policy Proposals]]
/* Trying to introduce common.css - did I already see it here? */
/* ... */
dd {
display: block;
float: left; /* <- */
}
--Kronzky 04:19, 27 July 2006 (CEST)
- I saw it and already added a namespace. Try Ctrl + F5, it works fine for me in Firefox. --hardrock 08:48, 27 July 2006 (CEST)
- Yeah, it's ok here too now. :) --Kronzky 08:52, 27 July 2006 (CEST)
<code> tag in examples
I think the default line-height of the <code> tag could do with a slight increase.
_foo = bar;
_bar = baz;
if (_youLike) {
doSomething;
};
_meh
For example is a bit squashed up, but
_foo = bar;
_bar = baz;
if (_youLike) {
doSomething;
};
_meh
Is more readable. Yes? Fred Gandt (talk) 09:30, 25 March 2014 (CET)