Template problem?

17 years 10 months ago #13886 by Gloub
Replied by Gloub on topic Re:Template problem?
That's what I thought. There is a problem with this forum (can't upload files).

Here is the code:
[code:1]
/* "Corporate" by Absalom Media
Release: 12th October 2004
Build compatibility: Mambo 4.5.1a

This design, code and CSS is licensed under the
Creative Commons Attribution-NonCommercial-ShareAlike License.
To view a copy of this license, visit
creativecommons.org/licenses/by-nc-sa/2.0/
or send a letter to Creative Commons,
559 Nathan Abbott Way, Stanford, California 94305, USA.

Under no circumstances remove this licence.

*/

/* CSS Document */
body {
width: 100%;
font-family: arial, helvetica, sans-serif;
font-size: 70%;
color: #899636;
background: #fff;
margin: 0;
padding: 0;
}

#container {
width: 95%;
margin-left: auto;
margin-right: auto;
padding: 0em;
color: #000;
}

#header {
width: 100%;
padding: 0em;
margin-left: auto;
margin-right: auto;
}

#head
{
display: inner-box;
background: url(../images/logo.jpg) no-repeat top left;
height: 106px;
text-align: right;
}

/* Menu area*/



.core
{
width: 95%;
margin-left: auto;
margin-right: auto;
padding: 0em;
color: #fff;
margin-bottom: 10px;
}

#lhs {
margin-right: 220px; /* left side of window */
margin-top: 10px;
margin-bottom: 10px;
padding: 7px 7px 0px 0px;
height: 100%;
vertical-align: top;
border: 1px solid rgb(228, 228, 228);
background:#fff;
color: #000;
}


#rightnav {
width: 210px;
float: right;
margin-top: 10px;
margin-bottom: 10px;
color: #000;
}



#picwiz
{
float: left;
width: 200px;
height: 200px;
line-height: 0;
padding-left: 10px;
border-spacing: 0;
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 0!important;
margin-bottom: -3px;
}

#picwiz img {
line-height: 0;
padding: 0;
margin: 0px;
border: 1px solid #ccc;
}

#filler1
{
margin-left: 320px;
}

#blurb
{
border: 1px solid #ccc;
background: #fff;
height: 193px;
text-align:right;
vertical-align:text-top;
padding: 7px;
margin-right: 7px;
}

.b {
width: 33%;
vertical-align:top;
}

#search
{
color: #666;
font-size: 1em;
width: 195px;
font-weight: bold;
border: 1px solid #ccc;
padding: 7px;
margin-bottom: 10px;
}

.pathway {
font-weight: bold;
}


.sidebar
{
text-align: left;
width: 195px;
padding: 7px;
border: 1px solid #ccc;
background: #fff;
}

#menu
{
position: relative;
background: #fff;
max-width:auto;
border: 1px solid #ccc;
padding: 0em;
margin: 0px;
height: 25px;
background: #f1f3f5;
}


#navi {
font: 10px/12px verdana, arial, georgia, sans-serif;
margin: 3px;
padding: 0px 0px 0px 0px;
width: auto;
}

/* CSS Horizontal Menu */

#navi #navlist ul
{
margin: 0;
white-space: nowrap;
padding: 0;
}

#navi #navlist li
{
display: inline;
list-style-type: none;
}

#navi #navlist a
{
padding: 2px 8px 5px 5px;
border: 1px solid #f1f3f5;
background-color: #ccc;
}

#navi #navlist a:link, #navi #navlist a:visited
{
color: #666;
text-decoration: none;
}

#navi #navlist a:hover
{
border: 1px solid #f1f3f5;
background-color: #fff;
color: #666;
}

#navi #active a:link, #navi #active a:visited, #navi #active a:hover
{
border: 1px solid #f1f3f5;
background-color: #fff;
color: #666;
}


#trimod
{
height: 140px;
padding-left: 10px;
text-align: left;
}

.bars
{
border: 1px solid #ccc;
padding: 7px;
height: 140px;
vertical-align:top;
}

#footer{
width:100%;
top: 30px;
text-align: left;
background-color:#fff;
color: #666;
border-top: 0px solid #999;
border-right: 0px solid #000000;
text-align: center;
}

a {
text-decoration: none;
font-weight: bold;
color: #999;
}

a:link {
color:#999;
text-decoration: none;
}

a:hover {
color: #666;
text-decoration: none;
}

h1 {
font-size: 2.0em;
font-weight: normal;
margin-top: 0em;
margin-bottom: 0em;
/*both set to zero and padding in header div is used intead to deal with compound ie pc problems that are beyound summary in a simple comment.*/
}

h2 {
font-size: 1.7em;
margin: 1.2em 0em 1.2em 0em;
font-weight: normal;
}

h3 {
font-size: 1.4em;
margin: 1.2em 0em 1.2em 0em;
font-weight: normal;
}

h4 {
font-size: 1.2em;
margin: 1.2em 0em 1.2em 0em;
font-weight: bold;
}

h5 {
font-size: 1.0em;
margin: 1.2em 0em 1.2em 0em;
font-weight: bold;
}

h6 {
font-size: 0.8em;
margin: 1.2em 0em 1.2em 0em;
font-weight: bold;
}

img {
border: 0;
}

ul,ol {
width: 100%;
font-size: 1.0em;
padding: 0;
margin: 0;
border: 0;
list-style-type:circle;
}

li {
width: auto;
font-size: 1.0em;
line-height: 1.8em;
margin: 0 0 0 .5em;
border: 0;
padding: 0 0 0 0;
list-style-type:circle;
}

table,td {
font-size: 1.0em;
color: #000;
}

form {
padding: 0;
margin: 0;
}

p {
font-size: 1.0em;
line-height: 1.8em;
margin: 1.2em 0em 1.2em 0em;
}

pre {
/*moz 1.0/1.1/1.2.1, net 7.0/7.01 make this way too small, but i'm not going to go larger because monospace tends to run you into overflow pretty quick. prior moz and net are okay.*/
font-family: monospace;
font-size: 1.0em;
}

strong, b {
font-weight: bold;
}

.inputbox {
font-family: arial, Helvetica, sans-serif;
font-style: normal;
font-weight: normal;
font-size: .8em;
background: #eee;
border: 1px solid #999;
margin-left: 10px;
}

.contact
{
text-align: left;
margin-left: 20px;
}

.button {
font-size: 1.0em;
background: #eee;
border: 1px solid #999;
}

.strong {
font-weight: bold;
}

.moduletable {
width:100%;
}

.moduletable th {
color: #666;
text-align: left;
background: #f1f3f5 url(../images/bits.gif) top right no-repeat;
font-size: 1em;
font-weight: bold;
padding: 0 0 0 .2em;
border: 1px solid #ccc;
line-height: 1.8em;
}

.moduletable td {
color: #006443;
padding: 0 0 0 5px;
font-weight: normal;
padding: 0 0 .4em 0;
border: 0px solid #ccc;
text-align: left;
line-height: 1.3em;
}

.moduletable li {
list-style-type:circle;
padding-left: 1em;
}

.moduletable a {
color: #999;
padding: 0 0 0 5px;
font-weight: bold;
border-bottom: 0px dashed #FFF;
}

.moduletable a:hover {
color: #666;
}


.contentpane, .contentpaneopen {
width: 97%;
background: none;
color: #006443;
text-align: left;
margin-top: 1em;
margin-left: 1em;
}

table.contact {
width: 95%!important;
width: 94%;
background: none;
color: #006443;
text-align: left;
margin-left: 1em;
}

.contentheading {
width: 94%;
font-size: 1em;
font-weight: bold;
font-family: arial,sans-serif;
color: #666;
background: url(../images/gradient.jpg);
text-align:left;
margin: 1.5em 1em 1em 0;
border: 1px solid #e4e4e4;
padding: .2em;
}


.contentdescription {
font-size: 1em;
color: #808080;
text-align: left;
}


.componentheading {
font-size: 1.5em;
font-weight: bold;
color: #666666;
text-align:left;
margin: 1.5em 0em 0em 0;
}

.frontpageheader {
font-weight: bold;
color: #666666;
text-align:left;
margin-left: 10px;
line-height: 1.3em;
}
/** category text format and links **/
.category {
color: #999999;
font-family: arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: none;
}

a.category:link, a.category:visited {
color: #999999;
font-weight: bold;
}

a.category:hover {
color: #FF9900;
}

.poll {
font-family: arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
line-height: 14px
}

.sectiontableentry1 {
}

.sectiontableentry2 {
}

.sectiontableheader {
color : #006443;
font-weight : bold;
border-collapse: collapse;
}

/* Date Stamps */
.newsfeeddate {
font-family: arial, Helvetica, sans-serif;
font-size: 10px;
color: #FF6600;
font-weight: normal;
}

.createdate {
color: #666;
font-weight: normal;
line-height: 1;
}

.modifydate {
font-family: arial, Helvetica, sans-serif;
font-size: 10px;
color: #666;
text-decoration: none;
font-weight: normal;
}

.small {
color: #666;
line-height: 1;
}

/* RDF Styles */
.fase4rdf {
font-family: arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
font-weight: normal;
}

a.fase4rdf:link {
font-size: 11px;
font-weight: normal;
color: #FF9900;
}

a.fase4rdf:hover {
font-weight: bold;
color: #808080;
}

.newsfeedheading {
font-family: arial, Helvetica, sans-serif;
font-size: 1em;
font-weight: bold;
color: #006443;
text-align:left;
}




/* for modifying {
moscode
}
output. Don't set the colour! */
.moscode {
background-color: #f0f0f0;
}

.code {
font-family: courier, serif;
font-size: 1.2em;
padding: 2px;
line-height: 1.3em;
background-color: #f0f0f0;
color: blue;
border: 1px solid #d5d5d5;
margin: 0px;
width: 90%;
}

/* Text passed with mosmsg url parameter */
.message {
font-family : arial, Helvetica, sans-serif;
font-weight: bold;
font-size : 1em;
color : #666;
text-align: center;
}

/* Styles for dhtml tabbed-pages */
.ontab {
background-color: #666666;
border-left: outset 1px #666;
border-right: outset 1px #006443;
border-top: outset 1px #666;
border-bottom: solid 1px #006443;
text-align: center;
cursor: default;
font-weight: bold;
color: #FFFFFF;
padding: .2em;
}

.offtab {
background-color : #cccccc;
border-left: outset 1px #666;
border-right: outset 1px #006443;
border-top: outset 1px #666;
border-bottom: solid 1px #006443;
text-align: center;
cursor: default;
font-weight: normal;
padding: .2em;
}

.edit-tabs {
padding: 1em;
background: none;
}

.tabpadding {
}

.tabheading {
background-color: #d3d3d3;
text-align: left;
}

.pagetext {
visibility: hidden;
display: none;
}

#weblink-categories {
margin-top: 1em;
}

.contact-form {
width: 100%;
}

.author {
font-size: .8em;
}

.createdate {
font-size:.8em;
}

.content-entry h3 {
color: #CCC;
font-size: 1.5em;
font-weight: bold;
margin: 1em 0 0 0;
}

a.pagenav {
color: #CCC;
border-bottom: 0;
}

a.pagenav:hover {
color: #666;
border-bottom: 0;
}[/code:1]

Please Log in to join the conversation.

17 years 6 months ago #20310 by trollyUN
Replied by trollyUN on topic Re:Template problem?
Should anybody know which template or css I have to change to have the text in the userList align left and not center in the first line. (Red arrows in my jpg)

Post edited by: trollyUN, at: 2006/09/05 21:58
Attachments:

Please Log in to join the conversation.

17 years 6 months ago #20324 by beat
Replied by beat on topic Re:Template problem?
Just look at html output, find the nearest ' class="nnnn" statement, and find corresponding:

.nnnn {
...
}

statment in your template.

This is not a CB problem, but one with the standard headings CSS style in the template you are using...

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

17 years 6 months ago #20519 by trollyUN
Replied by trollyUN on topic Re:Template problem?
I hdn`t luck! Thanks for the answer, but I tried to solve the problem since your answer...I´m to stupid...

If I´d look ad other CB Pages - thy had all that desig and also i chnged my templates I have the same problem..

Perhaps another people has an Idea . thanks beat for your answer!

My CB-Presentation you can find on community.kamenweb.de

Please Log in to join the conversation.

16 years 7 months ago #43860 by yoda_oz
Replied by yoda_oz on topic Re:Template problem?
was there ever a solution to the original poster's problem here because im having exactly the same problem. below is the css for the joomla template im using called ck_portal.
[code:1]

/*
Copyright (c) 2007 by C. Kornfeld
www.ckornfeld.net/
Only for commercial and private usage
*/



/* Allgemeine Deklarationen des Bodys */
body {
margin: 0;
font-family: 'Trebuchet MS', 'Times New Roman';
font-size: 12px;
color: #454456;
}
*:first-child+html body {
margin: -.6em -22em 0 -22em;
}

/* Styles für den Header */
#header {
height: 12.2em;
background: url('../images/header.gif');
cursor: default;
}
/* Beinhaltet die Suche und das aktuelle Datum */
#header #search_date {
float: left;
width: 40em;
height: 2.2em; /* 4 */
padding: .8em 0 0 .8em;
background: url('../images/header_left.png') no-repeat top left;
color: #fff;
}
* html #header #search_date { /* Bugfix für IE6 */
width: 37em;
margin-right: -.5em;
}
*:first-child+html #header #search_date { /* Bugfix für IE7 */
width: 37em;
background: url('../images/header_left_ie7.png') no-repeat top left;
}
* html #header #search_date { /* Bugfix für IE6 */
background: url('../images/header_left_ie7.png') no-repeat top left;
}
#header #search_date .search {
float: left;
padding-right: 2em;
}
/* Formatierung für das Suchfeld */
#header #search_date .search #mod_search_searchword {
font-size: 11px;
border: none;
background-color: #fff;
padding-left: .2em;
}
/* Beinhaltet die kleine Navigation */
#header #small_navi {
background: url('../images/header_right.png') repeat-x top;
height: 3em;
z-index: 2;
}
#header #small_navi ul#mainlevel-nav {
margin: 0 0 0 50em;
padding: 0;
height: 2.9em;
width: 30.4em;
background: url('../images/seperator_topmenu.png') no-repeat right center;
}
* html #header #small_navi ul#mainlevel-nav {
margin: 0 0 0 5em;
}
*:first-child+html #small_navi ul#mainlevel-nav {
position: absolute;
top: 0em;
left: 0em;
}
#header #small_navi ul#mainlevel-nav li {
float: left;
margin: 0;
padding: 0 0 0 .08em;
text-align: center;
width: 7.5em;
list-style: none;
background: url('../images/seperator_topmenu.png') no-repeat left center;
}
#header #small_navi a.mainlevel-nav {
display: block;
height: 2.9em;
padding: 0 1em 0 1em;
line-height: 3em;
text-decoration: none;
color: #ededed;
background: url('../images/topmenu.png') repeat-x top;
}
#header #small_navi a.mainlevel-nav:hover {
background: url('../images/topmenu.png') repeat-x bottom;
color: #fff;
}
/* h1-Element, das den Seitennamen beinhaltet */
#header h1.nameofsite {
color: #fff;
font-family: 'Verdana';
font-weight: normal;
margin: .2em 0 0 1em;
font-size: 3em;
}
#header .nameofsite a {
text-decoration: none;
color: #fff;
}
#header ul#mainlevel {
margin: 2.6em 0;
padding: 0;
}
* html #header ul#mainlevel {
margin: 0;
padding-top: 2.6em;
}
#header ul#mainlevel li {
list-style: none;
margin: 0 .4em 0;
padding: 0;
float: left;
}
#header ul#mainlevel a {
display: block;
height: 2.3em;
width: 8.5em;
text-align: center;
text-decoration: none;
color: #fff;
font-weight: bold;
font-family: 'Tahoma';
line-height: 2.2em;
background: url('../images/menu.gif') no-repeat top left;
}
#header ul#mainlevel a:hover {
background: url('../images/menu.gif') no-repeat center left;
}
#header ul#mainlevel a:active {
background: url('../images/menu.gif') no-repeat center left;
}
/* Kennzeichnet aktives Menü */
#header ul#mainlevel a#active_menu {
background: url('../images/menu.gif') no-repeat bottom left;
height: 2.3em;
color: #4d7497;
}
#header ul#mainlevel a#active_menu:hover {
background: url('../images/menu.gif') no-repeat bottom left;
color: #4d7497;
}

/* Inhalt (Text, linke & rechte Spalte */
#container {
margin-top: 1em;
padding: 1em;
min-height: 42em;
}
#container a {
font-weight: bold;
border-bottom: 1px solid #bbb;
color: #01497c; /* 035a8c */
text-decoration: none;
padding: 0 .1em 0 .1em;
}
#container a:link {
font-weight: bold;
border-bottom: 1px solid #bbb;
color: #01497c; /* 035a8c */
text-decoration: none;
padding: 0 .1em 0 .1em;
}
#container a:hover {
color: #5492c2;
text-decoration: none;
}
#container a:active {
color: #76b4dc;
}

/* Beinhaltet den Pfad */
#pathway {
padding-left: 8px;
color: #888;
margin-bottom: 1.5em;
border-bottom: 3px double #ededed;
cursor: default;
}
#pathway a {
text-decoration: none;
color: #888;
padding: 0 .2em 0 .2em;
border: none;
}
#pathway a:link {
text-decoration: none;
color: #888;
border: none;
}
#pathway a:hover {
text-decoration: underline;
color: #333;
border: none;
}

/* Linke Spalte */
#leftcolumn {
float: left;
width: 16.5em;
margin: .5em;
padding: .5em;
border-right: 3px double #ededed;
min-height: 39em;
}
/* User-Menu normal */
#leftcolumn h3 {
font-weight: normal;
font-size: 1em;
text-transform: uppercase;
padding: .2em;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
#leftcolumn table {
border-collapse: collapse;
margin-bottom: 2em;
}
#leftcolumn table tr td a.mainlevel {
display: block;
padding: .2em 0 .2em 2em;
text-decoration: none;
background: url('../images/list_usermenu.png') no-repeat center left;
border-bottom: 1px solid #ccc;
color: #01497c;
}
* html #leftcolumn table tr td a.mainlevel {
background: url('../images/list_usermenu_ie6.gif') no-repeat center left;
}
#leftcolumn table tr td a.mainlevel:link {
display: block;
padding: .2em 0 .2em 2em;
text-decoration: none;
background: url('../images/list_usermenu.png') no-repeat center left;
border-bottom: 1px solid #ccc;
color: #01497c;
}
* html #leftcolumn table tr td a.mainlevel:link {
background: url('../images/list_usermenu_ie6.gif') no-repeat center left;
}
#leftcolumn table tr td a.mainlevel:hover {
color: #5492c2;
}

/* Rechte Spalte */
#rightcolumn {
float: right;
width: 16.5em;
margin: .5em;
padding: .5em;
min-height: 39em;
border-left: 3px double #ededed;
}
#rightcolumn h3 {
font-weight: normal;
font-size: 1em;
text-transform: uppercase;
padding: .2em;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
#rightcolumn .moduletable .contentpaneopen {
text-align: justify;
}

/* Inhalt der Homepage */
#content {
margin: .5em 20em .5em 20em;
}
*+html { /* Workaround für Opera */
margin: .5em 22em .5em 22em;
}
/* Links */
#content a {
font-weight: bold;
border-bottom: 1px solid #bbb;
color: #01497c; /* 035a8c */
text-decoration: none;
padding: 0 .1em 0 .1em;
}
#content a:link {
font-weight: bold;
border-bottom: 1px solid #bbb;
color: #01497c; /* 035a8c */
text-decoration: none;
padding: 0 .1em 0 .1em;
}
#content a:hover {
color: #5492c2;
text-decoration: none;
}
#content a:active {
color: #76b4dc;
}
#content .user1 {
float: left;
width: 49%;
}
#content .user1 h3 {

}
#content .user2 {
float: right;
width: 49%;
}
#content ul li { /* Alle Listenelemente formatieren */
list-style-image: url('../images/list_usermenu.png');
}
* html #content ul li {
list-style-image: url('../images/list_usermenu_ie6.gif');
}
#content ul.latestnews, ul.mostread {
list-style: none;
margin: 0;
padding: 0;
}
#content ul.latestnews li {
list-style: none;
margin-left: 2em;
border-top: 1px dashed #ccc;
border-bottom: 1px dashed #ccc;
margin-top: -1px;
padding-left: .2em;
}
#content ul.mostread li {
list-style: none;
margin-left: 2em;
border-top: 1px dashed #ccc;
border-bottom: 1px dashed #ccc;
margin-top: -1px;
}
#content ul.latestnews a {
display: block;
border: none;
padding-left: 2em;
background: url('../images/list_usermenu.png') no-repeat center left;
}
*:first-child+html #content ul.latestnews a {
padding-left: 0;
background: none;
}
* html #content ul.latestnews a {
padding-left: 0;
background: none;
}
#content ul.latestnews a:link {
display: block;
border: none;
padding-left: 2em;
background: url('../images/list_usermenu.png') no-repeat center left;
}
*:first-child+html #content ul.latestnews a:link {
padding-left: 0;
background: none;
}
* html #content ul.latestnews a:link {
padding-left: 0;
background: none;
}
#content ul.mostread a {
display: block;
border: none;
padding-left: 2em;
background: url('../images/list_usermenu.png') no-repeat center left;
}
*:first-child+html #content ul.mostread a {
padding-left: 0;
background: none;
}
* html #content ul.mostread a {
padding-left: 0;
background: none;
}
#content ul.mostread a:link {
display: block;
border: none;
padding-left: 2em;
background: url('../images/list_usermenu.png') no-repeat center left;
}
* html #content ul.mostread a:link {
padding-left: 0;
background: none;
}
*:first-child+html #content ul.mostread a:link {
padding-left: 0;
background: none;
}
#content .contentheading { /* Formatierung der Überschriften */
font-size: 1.9em;
border-bottom: 2px ridge #7f7f7f;
}
#content .small { /* Formatierung "Written by ..." */
color: #7f7f7f;
font-size: .9em;
padding-left: 1em;
}
#content .createdate { /* Formatierung der Ausgabe des Erstellungsdatums */
color: #7f7f7f;
font-size: .9em;
padding-left: 1em;
}
#content .modifydate { /* Formatierung der Ausgabe des letzten Modifizierungsdatums */
color: #7f7f7f;
font-size: .9em;
padding-left: 1em;
}
#content a.readon { /* Formatierung des Links "Read more ..." */
border: none;
padding-left: .5em;
padding-right: 2em;
padding-bottom: .2em;
background: url('../images/readmore_ie.gif') no-repeat top left;
}
#content a.readon:link { /* Formatierung des Links "Read more ..." */
border: none;
padding-left: .5em;
padding-right: 2em;
padding-bottom: .2em;
background: url('../images/readmore_ie.gif') no-repeat top left;
}
#content a.readon:hover {
background: url('../images/readmore_ie.gif') no-repeat bottom left;
}
#content ul li a {
border: none;
}
#content ul li a:link {
border: none;
}
#content .back_button {
margin-bottom: 1em;
}
#content .back_button a {
padding: 0 .8em .2em 1.8em;
border: none;
background: url('../images/back.gif') no-repeat top left;
}
*:first-child+html #content .back_button a {
background: url('../images/back_ie.gif') no-repeat top left;
}
* html #content .back_button a {
background: url('../images/back_ie.gif') no-repeat top left;
}
#content .back_button a:link {
padding: 0 .8em .2em 1.8em;
border: none;
background: url('../images/back.gif') no-repeat top left;
}
*:first-child+html #content .back_button a:link {
background: url('../images/back_ie.gif') no-repeat top left;
}
* html #content .back_button a:link {
background: url('../images/back_ie.gif') no-repeat top left;
}
#content .back_button a:hover {
background: url('../images/back.gif') no-repeat bottom left;
}
*:first-child+html #content .back_button a:hover {
background: url('../images/back_ie.gif') no-repeat bottom left;
}
* html #content .back_button a:hover {
background: url('../images/back_ie.gif') no-repeat bottom left;
}
#content .moduletable h3 {
font-size: 1.3em;
border-bottom: 2px ridge #7f7f7f;
}
*:first-child+html #content .contentpane {
width: 95%;
}
* html #content .contentpane {
width: 95%;
}
#content .buttonheading {
font-size: .2em;
}

/* Footer */
#footer {
text-align: center;
margin-top: 2em;
padding: 1.5em 0;
height: 4em;
background: url('../images/footer.png') repeat-x top;
color: #ededed;
font-size: 1em;
}
/* Links im Footer */
#footer a {
color: #fff;
text-decoration: none;
}
#footer a:link {
color: #fff;
text-decoration: none;
}
#footer a:hover {
color: #fff;
text-decoration: underline;
}
#content .tab-row a { /* Fix für Bearbeitung von Inhalt im Frontend */
border: none;
color: #000;
font-weight: normal;
}
#content .tab-row a:link {
border: none;
color: #000;
font-weight: normal;
}
#content .tab-row a:hover {
border: none;
color: #000;
font-weight: normal;
}
#content .componentheading { /* Überschrift der Komponente */
font-size: 2em;
border-bottom: 2px ridge #7f7f7f;
margin-bottom: 1em;
font-weight: bold;
}
#content .sectiontableheader { /* Überschrift einer Sektion */
font-weight: bold;
border-bottom: 1px solid #000;
color: #000;
}

/* Allgemeine Deklarationen */
label {
cursor: pointer;
}
label:hover {
color: #5492c2;
}
.button {
border: none;
background: url('../images/button.png') no-repeat top left;
text-align: center;
width: 91px;
height: 22px; /* 22px */
font-weight: bold;
font-size: 10px;
color: #fff;
cursor: pointer;
padding-bottom: 2px;
margin-right: -.5em;
}
.button:hover {
background: url('../images/button.png') no-repeat bottom left;
}
.inputbox {
/* width: 10em; */
}
.inputbox[type="checkbox"] { /* Bugfix (auch Checkboxen bekommen die Klasse 'inputbox') */
width: 1em;
}
#content a img {
border: none;
}
#content a:link img {
border: none;
}
table {
border-collapse: collapse;
}
#content table {
margin: 1em;
}



/* Farben */

/*
Text: #454456
Rahmenfarbe Menu: #4d7497
Link #01497c
Link:hover #5492c2
Link:active #76b4dc
*/
[/code:1]

Please Log in to join the conversation.

15 years 9 months ago #64352 by JMoens
Replied by JMoens on topic Re:Template problem?
Hi,

Sorry to kick this subject again.

yoda_oz wrote:

was there ever a solution to the original poster's problem here because im having exactly the same problem. below ...


I'm having the same problem but than using CB 1.1. So far i found that the table statement is <th>
This should make no difference but as i can't find a align: "center" statement or a class in the table definition before this row...

A solution is to edit the "comprofiler.html.php" file.
You have to ad a alignment (align='left'). This is a some what hardcore solution but it works.

If someone has a better solution i like to here it because a <th> statement should not behave in such a manner.

The original output made by CB whit out alterations
[code:1]
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cbUserTable">
<tr>
<th><b>Image</b></th>
<th><b>Name</b></th>
<th><b>Order</b></th>
<th><b>Last online</b></th>

</tr>
<tr class="sectiontableentry1" style="cursor:hand;cursor:«»pointer;" id="cbU0">
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=65&Itemid=225"><img src="components/com_comprofiler/plugin/language/default_language/images/tnnophoto.jpg" alt="" style="border-style: none;" /></a></td>
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=65&Itemid=225">Annemiek</a></td>
<td valign='top'>C</td>
<td valign='top'>31/05/2008 08:46:50</td>
</tr>
<tr class="sectiontableentry2" style="cursor:hand;cursor:«»pointer;" id="cbU1">
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=225"><img src="images/comprofiler/tn63_4805a822ea7a1.jpg" alt="" style="border-style: none;" /></a></td>
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=225">Jeroen</a></td>
<td valign='top'>B</td>
<td valign='top'>02/06/2008 22:19:03</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td align="right"></td>
</tr>
</table>
[/code:1]

change line 863 in comprofiler.html.php to.
[code:1]
echo "\t\t\t<th align='left'><b>" . getLangDefinition( $column->title) . "</b></th>\n";
[/code:1]

new output
[code:1]
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="cbUserTable">
<tr>
<th align='left'><b>Image</b></th>
<th align='left'><b>Name</b></th>
<th align='left'><b>Order</b></th>
<th align='left'><b>Last online</b></th>
</tr>
<tr class="sectiontableentry1" style="cursor:hand;cursor:«»pointer;" id="cbU0">
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=65&Itemid=225"><img src="components/com_comprofiler/plugin/language/default_language/images/tnnophoto.jpg" alt="" style="border-style: none;" /></a></td>
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=65&Itemid=225">Annemiek</a></td>
<td valign='top'>C</td>
<td valign='top'>31/05/2008 08:46:50</td>
</tr>
<tr class="sectiontableentry2" style="cursor:hand;cursor:«»pointer;" id="cbU1">
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=225"><img src="images/comprofiler/tn63_4805a822ea7a1.jpg" alt="" style="border-style: none;" /></a></td>
<td valign='top'><a href="-mysite-/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=225">Jeroen</a></td>
<td valign='top'>B</td>
<td valign='top'>02/06/2008 22:19:03</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td align="right"></td>
</tr>
</table>
[/code:1]

Post edited by: JMoens, at: 2008/06/03 00:31

If it doesn't fit.... use a bigger hammer

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.523 seconds

Facebook Twitter LinkedIn