Template:Infobox church/styles.css: Difference between revisions
From ReformedWiki.org, the wiki for Reformed Christianity
mNo edit summary |
mNo edit summary |
||
| Line 26: | Line 26: | ||
width: 100%; | width: 100%; | ||
table-layout: fixed; | table-layout: fixed; | ||
word-wrap: break-word; /* Ensures long words wrap */ | |||
overflow-wrap: break-word; /* Modern alternative */ | |||
white-space: normal; /* Allows wrapping */ | |||
} | } | ||
Revision as of 01:11, 26 February 2025
.infobox_church {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 1em;
font-weight: bold;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 160px;
font-size: 1em
}
.infobox-table td {
vertical-align: top;
font-size: 1em;
width: 100%;
table-layout: fixed;
word-wrap: break-word; /* Ensures long words wrap */
overflow-wrap: break-word; /* Modern alternative */
white-space: normal; /* Allows wrapping */
}
