User list align center

13 years 1 month ago #21916 by kimand
How do I change the alignment for my userlist headers?
Attachments:
13 years 1 month ago #22665 by pippo76
Hi have you solved this problem? tell me how please. thanks bye
12 years 11 months ago #26037 by FireIslandMan
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
12 years 5 months ago #39468 by marcus178
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?
12 years 1 week ago #49689 by mpausch
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
11 years 9 months ago #55053 by joep
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)
Moderators: beatnantkrileon
Time to create page: 0.454 seconds
Facebook Twitter Google LinkedIn