|
Oh My Science posted:Keep the suggestions coming! I'm taking a few days to work on the freelance and design section a bit more so stay tuned if that's all you want. I would probably add Coda to the code editors section, and remove Textmate 1, since it's unlikely to even get bugfixes now that 2 is open source.
|
# ¿ Jun 18, 2013 01:23 |
|
|
# ¿ Apr 28, 2024 18:00 |
|
To use margin: 0 auto on an <img> tag, you have to make it a block-level element. You could also just apply text-align: center to the #logo div, or in your case, the entire body tag, not just the elements containing text. You should also add max-width: 100% to the #logo img style, so this doesn't happen:
|
# ¿ Jul 23, 2013 13:46 |
|
gmq posted:The beginning of the end of my job if it actually works as advertised. I guess I can always learn and go full stack. One of our designers has been messing with Edge Reflow, Adobe's similar new tool. It seems like the code it can generate could save us a ton of time, but there's no way what it generates will be able to be used without a human fixing quirks intelligently and hooking it up to a CMS.
|
# ¿ Jul 24, 2013 15:11 |
|
Newf posted:Why is it that everyone in web design uses hex colour codes rather than rgb? I can't believe that people find it easier to read the hex representation; is it just a convention held over from some time before rgb colours 'existed' on the web? It's easier to copy and paste, particularly out of Photoshop:
|
# ¿ Aug 6, 2013 14:49 |
|
kedo posted:Sadly that's for inputs, and I'm talking about these buggers: <a href="tel:1-800-YOUR-MOM">Call your mother</a> But thanks anyhow! I do this: code:
|
# ¿ Aug 20, 2013 04:01 |
|
In that particular case, you could set the line-height on .footer-info to the same pixel height you're scaling the images to, though "stay in touch via" would not gracefully go to two lines if the site is responsive.
|
# ¿ Aug 22, 2013 16:00 |
|
You need to be more specific in each declaration of a, like:code:
|
# ¿ Sep 26, 2013 20:08 |
|
mmm11105 posted:I'm doing a small site for a friend, that he needs to be able to edit. However, all he needs to be able to do is edit the text in a few boxes and upload photos (with auto resizing, and thumbnails). What would be the best CMS? Everyone seems either too complicated (he doesn't need page management or a blog of anything of that sort), or too simple to handle the photo gallery. I'd rather not confuse him with a UI that has a million options he won't use. If you don't mind paying a one-time fee, you might check into Perch. It lets you just define areas of the page that can be edited using a super simple backend. If he starts wanting anything fancier, though, you'll quickly outgrow it, but it's great at what it does do..
|
# ¿ Sep 28, 2013 18:10 |
|
It probably varies a bit between the browsers and OSes, but yes, once you load a site, all that stuff is stored on your computer. The browser will probably keep it in a hidden folder somewhere, and it will eventually be deleted to load new stuff or when you clear your cache. You can choose to save the image again outside that folder so it has a name and location easily understood by humans, and will never be automatically deleted by the browser. Edit: On the responsive design issues, I'm pretty sure your media query is malformed and doesn't need that first 'and': code:
cbirdsong fucked around with this message at 20:55 on Oct 9, 2013 |
# ¿ Oct 9, 2013 20:46 |
|
pipes! posted:You want a CSS reset, declared at the beginning of your external, linked CSS stylesheet before any other author-written styles. Normalize and Eric Meyers Reset are the current favorites, I believe, although Normalize is less a "zero out everything" approach and more one that provides sensible cross-browser considerations. Yeah, after using both, I think I greatly prefer Normalize. Normalize is a scalpel, Eric Meyers Reset is a sledgehammer.
|
# ¿ Oct 22, 2013 20:16 |
|
A highly disconcerting chart: Why are IE 7, 8 and 9 on an upswing all of a sudden? Some kind of change in how the stats are compiled?
|
# ¿ Oct 31, 2013 19:09 |
|
caiman posted:Brackets are for targeting a certain attribute of the element, such as href, alt, etc. As far as examples go, this is a pretty weird use of that selector, since table#Container or just #Container would do the exact same thing. I've found this to be a pretty good overview of the weirder CSS selectors: http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/
|
# ¿ Nov 1, 2013 22:31 |
|
Is it just me, or does the ::selection pseudo element no longer work in any browser running on OS X Mavericks?
|
# ¿ Nov 8, 2013 18:35 |
|
This is a pretty solid typography guide, though you'll have to track fonts down yourself: http://practicaltypography.com
|
# ¿ Nov 11, 2013 22:34 |
|
Tatsuta Age posted:I posted this in the wrong thread in SH/SC, and strwrsxprt suggested I post this here instead: You can run the Xcode-supplied iOS Simulator for the iPad, as mentioned, but there are basically two iPad resolutions, 1024x768 and that doubled (2048x1536). Safari presents the exact same number of pixels for both of them, so you really only have to worry about a single iPad-specific resolution. (though you have to consider both portrait and landscape mode)
|
# ¿ Dec 13, 2013 22:01 |
|
I've generally enjoyed using Font Awesome, which covers a lot of bases: http://fortawesome.github.io/Font-Awesome/ This is a pretty good icon font generator, if you have vector files to build a custom one with: http://icomoon.io/app/
|
# ¿ Jan 10, 2014 02:51 |
|
You could also tell him Windows XP is getting end of lifed in April: http://www.microsoft.com/en-us/windows/enterprise/endofsupport.aspx
|
# ¿ Jan 18, 2014 22:45 |
|
You might also consider Tumblr, if you're trying to promote yourself.
|
# ¿ Jan 25, 2014 20:04 |
|
I have no idea about that angle, all I know that Tumblr is a really popular way to share drawings/cartoons, because it makes it really easy for people to re-share stuff they like.
|
# ¿ Jan 25, 2014 21:41 |
|
LeftistMuslimObama posted:I get the feeling that for the project I have in mind, I'll need a web front-end, a mobile app, and a database. I know HTML and CSS, and Android is Java-based, so I can make the client side of things with my existing skills. What I don't know how to do is set up a database server and make my clients talk to it. What's a good place to start reading? I think you are confusing Java and Javascript, which are two very different things.
|
# ¿ Jan 27, 2014 18:39 |
|
Sergeant Rock posted:I believe in IE11 the situation is even worse: emulated earlier versions don't understand Conditional Comments targeted at them. Which pretty much makes them fuckin' useless. I can't really complain too much, since they're giving away VMs for every IE that matters. (at http://modern.ie if you missed it)
|
# ¿ Feb 10, 2014 15:12 |
|
iosSlider has really nice touch support: https://iosscripts.com/iosslider/ Not sure how suited it is for more than a few images, though.
|
# ¿ Feb 21, 2014 17:51 |
|
PlesantDilemma posted:Everything I've googled up tells me that our best bet is to ditch the hover concept and go all click-based for opening menus, but I doubt the boss will like that. Click-based dropdowns are superior even on the desktop, because everywhere else in desktop computing, hovering over something is not how interact with it, it's how you discover what you can interact with. You might get somewhere with this line of thinking.
|
# ¿ Feb 27, 2014 18:21 |
|
fuf posted:3) Bootstrap etc advocate a "mobile first" approach where you default to a one-column mobile layout and then use media queries to adjust for wider screens. But IE8 doesn't support media queries. So do you a) write a whole separate stylesheet for IE8? b) use a polyfill to get media queries working in IE8, or c) forget "mobile first" and make your default layout the one that IE8 users will see? To use Bootstrap 3 with IE8, I have a separate IE8 stylesheet that defines the width of the container class and has all the column classes BS3 keeps in media queries. (If you compile BS3 from LESS, you can use Bootstraps .make-grid-columns mixins to do this easily.) IE8 gets the widest breakpoint and only the widest breakpoint, since that's usually the easiest to support. It's not exactly elegant, but it gets the job done, and that's all I'm worried about for IE8.
|
# ¿ Apr 6, 2014 15:56 |
|
Couldn't you just do something like:code:
|
# ¿ Apr 10, 2014 17:39 |
|
You could also do it this dumb way. It's the least dumb way I've found that works in all browsers back to IE8.
|
# ¿ May 20, 2014 23:45 |
|
Suspicious Dish posted:This is cool. It seems super-interesting, but I can't imagine shifting stuff this fundamental onto a weird Javascript dependency.
|
# ¿ May 21, 2014 05:33 |
|
fletcher posted:Is there an easy way to simulate a slow internet connection in a web browser? If you use a Mac, Apple has a "Network Link Conditioner" dev tool: http://nshipster.com/network-link-conditioner/
|
# ¿ May 21, 2014 20:35 |
|
I encountered that recently, and my workaround was to just have it offscreen and set to visibility: hidden, and then to manually animate it in when needed.
|
# ¿ May 29, 2014 19:53 |
|
Is this the right thread to ask what the fastest way to compile Less CSS locally on a Mac is? I currently use LiveReload, and it can take a second or three to finish recompiling after a file is saved. Are task runners like Grunt or Gulp appreciably faster?
|
# ¿ Jun 4, 2014 16:26 |
|
Kobayashi posted:Are you trying to do something like include Bootstrap's LESS files from scratch? If so, I'd just compile those into a CSS file, then include that file in your actual app's LESS file. If you compile the entire thing, you can change Bootstrap variables on a per-project basis, which is a much easier way to change colors than trying to override all the elements they apply to.
|
# ¿ Jun 4, 2014 20:11 |
|
Rotating a tablet between portrait and landscape is probably a real-world use case for crossing that particular width.
|
# ¿ Jun 18, 2014 14:42 |
|
I've had a reasonably okay experience with Zurb: http://zurb.com/ink/docs.php (also, ugh, HTML emails)
|
# ¿ Jun 21, 2014 21:59 |
|
nadav posted:Another option is respond.js, which is a bit lighter and faster: https://github.com/scottjehl/Respond The Dave posted:Yeah I've used respond.js with bootstrap to solve those headaches easily. With Bootstrap, I like just creating an IE8-specific .less file and setting up the container width and all the column widths in there. That way, you only have to worry about one breakpoint working correctly in IE 8. I'm sure you could do something similar with other front-end frameworks.
|
# ¿ Jun 30, 2014 04:51 |
|
The Merkinman posted:But hamburger menus are evil, and you should just do what iOS does. Sorry if you don't want it to look like an iOS app or have more than 5 items though. This seems like a really dismissive way to react to all the evidence-backed discussion you linked. I still feel like a sticky hamburger menu bar at the top is the least bad one-size-fits-most solution for responsive designs, but it seems patently obvious that having all the navigation options available to users visible instead of hidden would be preferable.
|
# ¿ Jul 15, 2014 19:49 |
|
The Merkinman posted:But they didn't though, they just moved it to the bottom right and called it 'more'. Is it not obvious that this is more significant than a simply rearranging things? Four things you can do are immediately accessible and visible, and lead you straight to something labeled "More" where you can find the rest of the stuff you can do. This is a lot more clear about the options available than when everything is hidden behind a single unlabeled icon. It's much harder to elegantly implement this on a web site, but that doesn't mean it isn't easier for users.
|
# ¿ Jul 15, 2014 20:38 |
|
fuf posted:Can someone (preferably a safari user) take a look at the logo on this site and tell me if it looks blurry? It is a bit blurry, definitely. If you know exactly how wide it will be, pick a size that is an even multiple of that. If I change this one's width to 175px (25% of 700), then the scaler can do its job much more cleanly: Pivo posted:I don't know why you're downloading a 700x351 image just to display it at 185x90! BAD BAD BAD Scale it first! If you just use a 185x90 image, it will look like poo poo on retina displays. Of course, the real best answer is using an SVG and swapping the PNG in for IE 8 and Android 2.x.
|
# ¿ Sep 2, 2014 16:11 |
|
The best way to do it is probably inserting the FA icon using CSS content properties: http://stackoverflow.com/questions/20782368/use-font-awesome-icon-as-css-content
|
# ¿ Sep 3, 2014 21:27 |
|
Yeah, if he's okay editing them by hand, you could probably just skin them with Bootstrap or Foundation and improve the look substantially.
|
# ¿ Sep 26, 2014 21:38 |
|
|
# ¿ Apr 28, 2024 18:00 |
|
fuf posted:Does the iphone browser try and detect phone numbers on pages and make them clickable? Client is complaining that when she clicks the phone number link it doesn't work and the number is invalid, but there is no link on the phone number. Weirdly, on the iPad, it also does this, and then usually can't do anything when you click the number, which may be what your client is seeing.
|
# ¿ Oct 15, 2014 15:37 |