Template talk:LanguageBar
From NovaRoma
(Difference between revisions)
m (needed lots of nowikis) |
|||
Line 1: | Line 1: | ||
− | Unless some wiki feature breaks it, you can replace <div align="center"> with <div style="margin:auto"> to avoid using deprecated features. If we then use <div style="margin:auto;clear:both"> we should prevent anything wrapping with this bar. (Or we could use <br style="clear:both" /> above and below.) The next step is to eliminate the table entirely and use "float:left" for each cell. You can see the gory details in Template:FourUp where padding and margins are used to make a nice display. The advantage to this is that if they down't fit in the screen width, the elements in the bar will wrap rather than force a horizontal scroll. [[User:M. Lucretius Agricola|M. Lucretius Agricola]] 10:01, 9 April 2006 (CDT) | + | Unless some wiki feature breaks it, you can replace |
+ | <nowiki><div align="center"></nowiki> | ||
+ | with | ||
+ | <nowiki><div style="margin:auto"> </nowiki> | ||
+ | to avoid using deprecated features. If we then use | ||
+ | <nowiki><div style="margin:auto;clear:both"></nowiki> | ||
+ | we should prevent anything wrapping with this bar. (Or we could use | ||
+ | <nowiki> <br style="clear:both" /> </nowiki> | ||
+ | above and below.) The next step is to eliminate the table entirely and use "float:left" for each cell. You can see the gory details in Template:FourUp where padding and margins are used to make a nice display. The advantage to this is that if they down't fit in the screen width, the elements in the bar will wrap rather than force a horizontal scroll. [[User:M. Lucretius Agricola|M. Lucretius Agricola]] 10:01, 9 April 2006 (CDT) |
Revision as of 15:05, 9 April 2006
Unless some wiki feature breaks it, you can replace
<div align="center">
with
<div style="margin:auto">
to avoid using deprecated features. If we then use
<div style="margin:auto;clear:both">
we should prevent anything wrapping with this bar. (Or we could use
<br style="clear:both" />
above and below.) The next step is to eliminate the table entirely and use "float:left" for each cell. You can see the gory details in Template:FourUp where padding and margins are used to make a nice display. The advantage to this is that if they down't fit in the screen width, the elements in the bar will wrap rather than force a horizontal scroll. M. Lucretius Agricola 10:01, 9 April 2006 (CDT)