ccwf
Soulless Minion of Orthodoxy
Registered: 02-2004
Location: Malibu
Posts: 561
Karma: 29 (+31/-2)
|
Reply | Quote
|
|
CSS Class Requests
quote: Thor wrote:
By the way, feel free to ask me to add more CSS classes. I'm looking to have as many as possible, actually.
Could we please have classes for each column of the forum and topic list tables?
For example, centering the post icons in the topic list currently requires turning on the mouseover trick and then writing ugly CSS like the following (number depends on the board's topics per page setting): #tl_td_1_3, #tl_td_2_3, #tl_td_3_3, […], #tl_td_50_3 { text-align: center} With classes for each column, all that would be needed then would be .posticon-column-class-name { text-align: center } Thanks!
|
3/4/2005, 11:29 pm
|
Link to post
Email ccwf
PM ccwf
AIM
MSN
Yahoo
|
Smackdown5
Mr RunSearch
Runboard user emeritus
Registered: 07-2003
Location: UK
Posts: 8201
Karma: 259 (+412/-153)
|
Reply | Quote
|
|
Re: CSS Class Requests
CCWF can you do that already with
.forumlisttable img {} ???
|
3/5/2005, 12:15 am
|
Link to post
PM Smackdown5
Blog
|
ccwf
Soulless Minion of Orthodoxy
Registered: 02-2004
Location: Malibu
Posts: 561
Karma: 29 (+31/-2)
|
Reply | Quote
|
|
Re: CSS Class Requests
quote: smackdown5 wrote:
CCWF can you do that already with
.forumlisttable img {} ???
Not as far as I can see. The text-align has to go on the td, not on the img.
|
3/5/2005, 3:49 am
|
Link to post
Email ccwf
PM ccwf
AIM
MSN
Yahoo
|
Smackdown5
Mr RunSearch
Runboard user emeritus
Registered: 07-2003
Location: UK
Posts: 8201
Karma: 259 (+412/-153)
|
Reply | Quote
|
|
Re: CSS Class Requests
You may be right ccwf. Tho you have me confused. I thought the posticons are already centered in the forumlist/topic list.
Or is this about the NEW which is off center.
Overall I'm in favour as it would enable us to set column background colors.
|
3/5/2005, 7:00 pm
|
Link to post
PM Smackdown5
Blog
|
ccwf
Soulless Minion of Orthodoxy
Registered: 02-2004
Location: Malibu
Posts: 561
Karma: 29 (+31/-2)
|
Reply | Quote
|
|
Re: CSS Class Requests
quote: smackdown5 wrote:
I thought the posticons are already centered in the forumlist/topic list.
They are not. They just have a lot of padding and equal amounts of it on left and right. By default, Runboard draws them 10px from the left edge of the cell.
With a sufficiently wide browser window (for example, for those who browse in full-screen mode on hi-res monitors), the posticons plus padding won't fill up the entire table cell, and the left alignment then becomes apparent.
|
3/5/2005, 11:45 pm
|
Link to post
Email ccwf
PM ccwf
AIM
MSN
Yahoo
|
Smackdown5
Mr RunSearch
Runboard user emeritus
Registered: 07-2003
Location: UK
Posts: 8201
Karma: 259 (+412/-153)
|
Reply | Quote
|
|
Re: CSS Class Requests
ahh.
|
3/6/2005, 12:00 am
|
Link to post
PM Smackdown5
Blog
|
ccwf
Soulless Minion of Orthodoxy
Registered: 02-2004
Location: Malibu
Posts: 561
Karma: 29 (+31/-2)
|
Reply | Quote
|
|
Classes Identifying the Current Page, Allowing Forum/Topic-Specific Customizations
Could we also have classes added to the <body> element (*) that identify the current page? This small addition would enable using CSS to customize the look for each page, a feature that many have requested. Board owners and admins could then have custom banners for each page or totally change the look from forum to forum or even topic to topic.
For example, this page could be enhanced to have the body element <body id="bakheva-runboard-com" class="featurerequests featurerequests-462" bgcolor=[…]> A topic list page could have <body id="bakheva-runboard-com" class="featurerequests topiclist" bgcolor=[…]> This followup page (where I'm typing this posts) could have <body id="bakheva-runboard-com" class="[…]-462 pleasedo-followup" bgcolor=[…]> Notes:
* Has to be the <body> element or an outer <div> within the <body> element because IE/Win32 has a bug with classes/IDs on the <html> element.
* Could prefix the forum names when turning them into classes to guard against forum names like "forumlistboardstatstable", which in the above examples would use a class name that collides with an existing CSS class name. However, since regular users can't create forums, I don't think this is important.
Last edited by ccwf, 3/6/2005, 8:22 pm
|
3/6/2005, 8:19 pm
|
Link to post
Email ccwf
PM ccwf
AIM
MSN
Yahoo
|
Smackdown5
Mr RunSearch
Runboard user emeritus
Registered: 07-2003
Location: UK
Posts: 8201
Karma: 259 (+412/-153)
|
Reply | Quote
|
|
Re: CSS Class Requests
nice
|
3/6/2005, 10:03 pm
|
Link to post
PM Smackdown5
Blog
|