Customizing SMF > Graphics and Templates
Post Author Table Column Background or Border
Antechinus:
Shoot them and bury them. :D That's what we're doing in 2.1. In fact I just shot and buried the last of them last night.
--- Code: ---#forumposts div.windowbg, #forumposts div.windowbg2 {
border-radius: 5px;
padding: 10px 0;
}
#forumposts div.windowbg .topslice, #forumposts div.windowbg2 .topslice,
#forumposts div.windowbg .botslice, #forumposts div.windowbg2 .botslice {
display: none;
}
--- End code ---
MovedGoalPosts:
Thanks. That code works with the default 2.0.2 curve css. :)
Unfortunately it isn't working on my work in progress theme css, somehow creating the effect of a striped background of multiple rows. :(
I must have removed or turned off something critical elsewhere, so I'll have to retrace my steps to work out what I've broken. That'll be a job for another day once I've had some sleep. Current index.css is attached in case anyone wants some amusement at my expense.
Antechinus:
I know what that would be. Set overflow: auto on the divs, like this:
--- Code: ---#forumposts div.windowbg, #forumposts div.windowbg2 {
border-radius: 5px;
padding: 10px 0;
overflow: auto;
}
#forumposts div.windowbg .topslice, #forumposts div.windowbg2 .topslice,
#forumposts div.windowbg .botslice, #forumposts div.windowbg2 .botslice {
display: none;
}
--- End code ---
MovedGoalPosts:
Thanks very much.
Navigation
[0] Message Index
[*] Previous page
Go to full version