function setrelative (nodes) {
var i = 0;
while (i < nodes.length) {
- if(nodes[i].style.float != ('none'|null) ||
- nodes[i].align != (''|null|'none'))
+ if(((nodes[i].style.float && nodes[i].style.float != ('none') ||
+ (nodes[i].align && nodes[i].align != ('none'))) &&
+ (!nodes[i].style.position || nodes[i].style.position != 'relative')))
+ {
nodes[i].style.position = 'relative';
+ }
i++;
}
}
}
#portal-footer {
- margin: 0 0 0 14.5em;
+ margin: 0 0 0 13.6em;
}
/* IE 4&5 interpret keyword sizes one off */
textarea {
width: 78% !important;
}
-#documentSubtitle {
- margin: -1em 0 0.6em 1em;
-}
-
-
.visualClear {
width:100%;
height: 0px;
padding:0;
margin:0;
}
+.documentFirstHeading {
+ margin-bottom: 0.3em;
+}
/*div{ border:1px solid Red !important;}*/
overflow: hidden;
}
div.editsection,
+#catlinks,
div.tright,
div.tleft {
position: relative;
#documentSubtitle {
font-size: 84%;
line-height: 1.2em;
- margin: -1.6em 0 0.6em 1em;
+ margin: 0 0 1.4em 1em;
color: #7d7d7d;
+ width: auto;
}
#siteSubtitle {
display: none;
}
#catlinks {
- width: 40%;
+ margin: 0;
+ padding: 0;
+ width: 34%;
text-align: right;
float: right;
- position: relative;
- top: -1.5em;
}
#content {
/* Some space under the headers in the content area */
#bodyContent h1,
-.documentFirstHeading,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5 {
margin-bottom:0.8em;
}
+.documentFirstHeading {
+ margin-bottom:0.1em;
+}
#documentContent {
<div id="bodyContent">
<div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
<h3 id="siteSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3>
- <div tal:condition="subtitle" id="documentSubtitle" tal:content="structure subtitle"></div>
+ <div id="documentSubtitle" tal:content="structure subtitle"></div>
<!-- <esi:include src="userxy/message"/> cached per user, purged on new message-->
<div tal:condition="newtalk" class="portalMessage" tal:content="structure newtalk"></div>
<!-- the content area is cached with the remaining inexpensive sceleton, one version for all.