User list align center

17 years 6 months ago #21916 by kimand
User list align center was created by kimand
How do I change the alignment for my userlist headers?
Attachments:

Please Log in to join the conversation.

17 years 6 months ago #22665 by pippo76
Replied by pippo76 on topic Re:User list align center
Hi have you solved this problem? tell me how please. thanks bye

Please Log in to join the conversation.

17 years 4 months ago #26037 by FireIslandMan
Replied by FireIslandMan on topic Re:User list align center
I added these styles to my template CSS to align my User List table header to the left. Also added padding and solid border to separate header from users and a dotted border to separate users:

}
.sectiontableentry1 td, .sectiontableentry2 td {
line-height: 188%;
vertical-align: middle;
border-bottom: 1px dotted #000000;
}
#cbUserTable {
margin-left: 6px;
}
#cbUserTable th {
text-align: left;
padding-top: 0px;
padding-bottom: 6px;
border-bottom: 1px solid #000000;
}

Post edited by: FireIslandMan, at: 2006/12/02 07:31
The following user(s) said Thank You: Xebit86

Please Log in to join the conversation.

16 years 10 months ago #39468 by marcus178
Replied by marcus178 on topic Re:User list align center
I also need to change the alignment of my headers but unfortunately this css seems to have no effect. I'm a bit confused as to why it's not working. Any suggestions?

Please Log in to join the conversation.

16 years 5 months ago #49689 by mpausch
Replied by mpausch on topic Re:User list align center
open the css file of your site template. Not the CB template but the site template.

Add the code FireIslandMan provided in his post...

ADD THIS TO THE CSS OF THE TEMPLATE YOU'RE USING. NOT THE CB TEMPLATE BUT THE SITE TEMPLATE.

.sectiontableentry1 td, .sectiontableentry2 td {
line-height: 188%;
vertical-align: middle;
border-bottom: 1px dotted #000000;
}
#cbUserTable {
margin-left: 6px;
}
#cbUserTable th {
text-align: left;
padding-top: 0px;
padding-bottom: 6px;
border-bottom: 1px solid #000000;
}

save and upload the css file. It works!
The following user(s) said Thank You: Xebit86

Please Log in to join the conversation.

16 years 2 months ago #55053 by joep
Replied by joep on topic Re:User list align center
you can also change line 859 in comprofiler.html.php

add to the <tr> sign allign="left"
like this:
[code:1]<tr align="left">[/code:1]

Works perfectB)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.258 seconds

Facebook Twitter LinkedIn