Want to get involved in developing SMF, then why not lend a hand on our github!
Started by Aaron, October 03, 2009, 05:39:28 PM
Quote from: Arantor on October 08, 2009, 02:34:58 PMI've only ever known it to say alt-s and alt-p...?
Quoteshortcuts: hit alt+s to submit/post or alt+p to preview
$txt['shortcuts'] = 'shortcuts: hit alt+s to submit/post or alt+p to preview';
Quote from: Nao/Gilles on October 08, 2009, 06:15:19 AMYeah... No, they're not.Basically, there are people who only code with tables, preferably with border=1 and red text on brilliant green backgrounds.Then you have the CSS zealots who will work for days on a single table because it refuses to align correctly when it's turned into a div.And inbetween, you have the regular users who respect standards, but who don't give a damn about whether it's a table or a div and use what makes most sense.Really, tables ARE standard. They're just frowned upon by many semantics activists who think a table should only be used on tabular data.Recently, I pointed out to the team that with Curve, the "Report to a moderator" link could be in the middle of a post, and thus have an exposure that is probably not wanted, as opposed to Core where it sticks to the bottom of the message and thus remains quite discrete.http://dev.simplemachines.org/mantis/view.php?id=3794This is where CSS reaches the end of its capabilities, I believe. I couldn't find a way to make it work (and I tried hard -- look at the comments).The same thing happened to me when I wanted to add a left-floated div with a sidebar on my board. Guess what? The regular contents had a clear:both setting at some point, and the rest of the page showed below the sidebar. Woohoo. Couldn't get it to work. After 5 minutes I got rid of my div and replaced it with a table. Now, it worked straight out of the box. Weird, uh? No, not that weird-- tables do what they're asked to do. You can place a sidebar somewhere, tell it how it will align horizontally and vertical, and so on. Divs don't do that. Maybe they do (display: table-cell, maybe?), but I don't know how.So, basically -- Curve is not "ready for prime time", as I like to say. It's a very nice improvement over the basic Core, and I have to say the team's desire to go all the way sematics can only force my admiration, but beyond that, it has to work. That's the bottom line. So, tables.(Okay, seriously, this topic is going to be to be split into several topics at some point...)
Quote from: Ben_S on October 08, 2009, 06:52:28 PMMay be one for the bug tracker then as they are defined in post.english.php$txt['shortcuts'] = 'shortcuts: hit alt+s to submit/post or alt+p to preview';$txt['shortcuts_firefox'] = 'shortcuts: hit shift+alt+s to submit/post or shift+alt+p to preview';
Quote from: Akyhne on October 08, 2009, 08:59:55 PM$txt['shortcuts_firefox'] is a completely new entry in the RC2 language pack.
Quote from: Bloc on October 08, 2009, 07:11:42 AMThe clear: both; is something that should be avoided. Many errors with floats can be fixed using overflow instead.The problem is that simply transferring the rigid setup of Core theme isn't gonna work that well in Curve's css setup all the time. But, its solvable.
Quote from: Nao/Gilles on October 09, 2009, 10:49:05 AMQuote from: Bloc on October 08, 2009, 07:11:42 AMThe clear: both; is something that should be avoided. Many errors with floats can be fixed using overflow instead.The problem is that simply transferring the rigid setup of Core theme isn't gonna work that well in Curve's css setup all the time. But, its solvable.How do you propose we/I solve the two problems I mentioned?- Sidebar next to the message list- Report to a Moderator linkThe only fix I can find for #2 is to simply remove the link... (lol.) Or move it to an icon and put it next to the icon list above (split, quote, etc.)Sidebars-- no go for now, because of the numerous clear:both uses. And position:absolute is not a solution either, except by forcing the rest of the page to have extra padding (probably the only logical solution.)
Quote from: SoLoGHoST on October 08, 2009, 12:57:12 AMOk, np. So will just use ALT+SHIFT+S than.
Quote from: Kenny01 on October 09, 2009, 04:22:37 PMI don't like the catcha, is it possible to disable it, or to use a less complicated catcha?