[opensuse-wiki] Please help with floating design
Hi, all. I'd like to have a float design for package information based on: http://en.wikipedia.org/wiki/Template:Infobox_mineral and to have finally something like this: http://en.wikipedia.org/wiki/Pyrite I've tried to copy design into: http://en.opensuse.org/Template:Information and to apply it here: http://en.opensuse.org/MultiplicationStation As you can see my page looks ugly. Initially I've used HTML markup, but then switched to WIKI, but it didn't help. Please, help me to improve it and to have really clean and nice look for package information box. Thanks in advance. Kirill <>< -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
On Sunday 28 December 2008 06:50:00 pm Kirill Kirillov wrote:
Hi, all.
I'd like to have a float design for package information based on: http://en.wikipedia.org/wiki/Template:Infobox_mineral and to have finally something like this: http://en.wikipedia.org/wiki/Pyrite
I've tried to copy design into: http://en.opensuse.org/Template:Information and to apply it here: http://en.opensuse.org/MultiplicationStation
As you can see my page looks ugly. Initially I've used HTML markup, but then switched to WIKI, but it didn't help.
Please, help me to improve it and to have really clean and nice look for package information box.
Hi Kirill, It got border and bigger left margin, that pushed table of content from it. What I would like to see is small gap between section titles and border. It was long time ago when I played with css, which you can see in template history. I tried to copy Wikipedia template, just you did, but it doesn't work at all. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
On Sunday 28 December 2008 08:10:17 pm Rajko M. wrote: Interpretation of css property in Firefox and Konqueror is different. Firefox allows table of content (TOC) to be overwritten, while Konqueror is drawing TOC to the table. I guess it is difference in the way each is parsing html. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
On Sunday 28 December 2008 06:50:00 pm Kirill Kirillov wrote:
Hi, all.
I'd like to have a float design for package information based on: http://en.wikipedia.org/wiki/Template:Infobox_mineral and to have finally something like this: http://en.wikipedia.org/wiki/Pyrite
I've tried to copy design into: http://en.opensuse.org/Template:Information and to apply it here: http://en.opensuse.org/MultiplicationStation
As you can see my page looks ugly. Initially I've used HTML markup, but then switched to WIKI, but it didn't help.
Please, help me to improve it and to have really clean and nice look for package information box.
Thanks in advance.
Kirill <><
I'm done for today. You can see template. It looks kind o' good. The problem was that I can't split left and right column as I want, ie. right somewhat narrower then left. You should look at the: http://en.opensuse.org/Wiki_Team Links: Tag Formatting Structural Page Elements Content Elements We have http://en.opensuse.org/Template:Infobox_Software You may pickup idea and create Infobox_Software_Edu. Change colors and rows, and it will be fine. Current Infobox_Software is a bit too colorful :-) Though, that template has one advantage, it has the same appearance in Konqueror and Firefox. Check http://en.opensuse.org/GIMP in both browsers. When giving names to articles, or templates, you should avoid one word names, like current Template:Information. This way you used name 'information' for template that is actually 'information about educational software'. Later on, when somebody looks for template that he can use for another article about educational software, name 'Information' in the list of templates will not help much, but Infobox_Software_Edu sounds like good candidate to look at. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
On Monday 29 December 2008 01:50:00 Kirill Kirillov wrote: Hi,
http://en.opensuse.org/MultiplicationStation
As you can see my page looks ugly. Initially I've used HTML markup, but then switched to WIKI, but it didn't help. Please, help me to improve it and to have really clean and nice look for package information box.
in addition to what you and Rajko did, I have put the TOC above the table - this is the only way to have a TOC with a floating element. If you do not like it, revert to the "12:10, 30 December 2008" version with a disabled TOC. I have also changed the <pre>s to <div class="shell">, because it let's you control the width (at least somehow). The problem with floating elements is, that the wiki template was not designed to allow floating elements. The TOC and pre-tag, for example, are displayed as :block and thereforespan the whole content area. -- Regards Frank Frank Sundermeyer, Technical Writer, Documentation SUSE Linux Products GmbH, Maxfeldstr. 5, D-90409 Nuremberg Tel: +49-911-74053-0, Fax: +49-911-7417755; http://www.opensuse.org/ SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "Reality is always controlled by the people who are most insane" Dogbert -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
participants (3)
-
Frank Sundermeyer
-
Kirill Kirillov
-
Rajko M.