• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

HTML gurus, need your help

Can't do images. The color has to be dynamic and if I write an app to generate the image automatically it'd be too much stress on the server, since that tab is being displayed on every page. Ok, lets say I can get away with square edges, how would I create the little white slits between the cells?
 
Well, never say never 😉

With some insane tablework (1 pixel table cells :Q) you *could* do it, but it would be nasty as hell (html-wise).

The slits would be done with css.

border-left: 1px solid #ddd

then on the leftmost item, use a different class and have no border-left for it.
 
Originally posted by: Argo
Can't do images. The color has to be dynamic and if I write an app to generate the image automatically it'd be too much stress on the server, since that tab is being displayed on every page. Ok, lets say I can get away with square edges, how would I create the little white slits between the cells?

using | looks like it would work.
 
Sorry, that wasn't clear enough. What I meant to say is six images of the entire tab bar. Each one with a different tab selected.
 
Originally posted by: MonkeyK
Sorry, that wasn't clear enough. What I meant to say is six images of the entire tab bar. Each one with a different tab selected.

User has the ability to change both active and inactive colors 🙁
 
Originally posted by: Argo
Originally posted by: MonkeyK
Sorry, that wasn't clear enough. What I meant to say is six images of the entire tab bar. Each one with a different tab selected.

User has the ability to change both active and inactive colors 🙁

If these are registered users, generate images when they select colors, and keep them with the user's files. You'd only have to generate them once that way.
 
Back
Top