Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ArseAssassin

Members
  • Joined

  • Last visited

Everything posted by ArseAssassin

  1. Performance isn't really an issue here. By using JavaScript+HTML you're probably gonna run into some browser compatibility issues with the layout and the code. ActionScript on the other hand is harder to get into and Flash interfaces generally aren't as nice as JS ones. Anyway, if you need to ask this you're probably best off downloading a ready-made script. I'm sure you'll find something from Google.
  2. I usually just use wrapped divs for each corner. It's the most flexible technique if not the cleanest markup-wise. I usually define some basic CSS rules for each div, so that you don't need to redefine them each time you use rounded corners.
  3. You could also store images in the DB as blobs, but it's probably not worth the effort unless you've worked with HTTP headers in the past. Also, I don't know what you wanted to do with filenames, but you definitely shouldn't use the original names the user uploaded them with. I'd calculate a MD5 hash from the image data and use it as the filename to prevent collisions between non-identical images.
  4. It declares that the CSS file is encoded in UTF-8 - basically it means that you can use characters that aren't included in the latin alphabet. It shouldn't be necessary unless you have filenames that use non-latin characters. Pretty much. Some people recommend not using the import statement because it screws with how the pages are loaded - as far as I know that's true, but you shouldn't really worry about it. Getting cleaner HTML is worth it, especially since it only affects the page on the first time you're loading it. For additional info check here.
  5. Considering the solution you could call it that. Taking a look at the list of problems it causes, this one doesn't seem to be listed though.
  6. So I was working on a new site and ran into a new exciting bug in IE7's display engine. And I don't mean layout engine, because the layout is completely unaffected. Scrolling up and down actually affects how the page is displayed and after reloading it can look completely different. Just take a look at the attachment. Based on past experience I'm guessing this happens when you have a lot of divs wrapped inside each other. The first div starts bleeding down on the lower elements. Since a lot of people are doing that for displaying rounded corners, I'm guessing this is a pretty well known / documented bug? Now, I was able to solve it by applying a completely redundant CSS rule to the element (width:100%), but being the curious soul that I am, I'd appreciate any additional info.
  7. You're quite welcome. The closest thing to Firebug on IE is DebugBar. I don't really like its interface though, so I mostly use just Firebug and solve the IE-specific CSS problems by applying borders to elements that seem to be causing problems. Another useful Firefox addon is the Web Developer toolbar - it allows resizing the window to standard resolutions and inspecting cookies.
  8. I exclusively use IE6. In fact I'm running XP through VirtualBox on my Mac right now, just so I can use IE6.
  9. The menu is too wide. On Firefox it's graciously falling under the main content div (install Firebug to see what I mean), but I'm guessing IE7 handles that wrong and pushes the content div to a lower row. So recheck your margin-left value on the main content div. Really though, you should really rethink your whole approach to the equal height 2-column layout. Here's something that I quickly pulled from Google.
  10. You can't really tell IE how to store its cookies internally - any web developer should know that they have no business telling IE how it should work. Anyway, storing all the answers in a cookie shouldn't really be necessary. Look into PHP sessions.
  11. Taking on a big project like that with little programming experience is an uphill battle to say at the least. Even if you're able to learn all the techniques that go into implementing something like this, it's very easy to make a mess and thus end up with something completely unmanageable. I'd really recommend rather than trying to write a portal system of your own, pick an open source CMS and modify it to your needs - or even hire someone to do the work for you. With that said, if you choose to go the long way around (which is not a bad idea if you're more interested in learning more about web development than making quick progress on your project) I'd really recommend learning Python and using Google App Engine rather than going the traditional PHP/MySQL route. GAE does have some unique restrictions, but from what I can gather they shouldn't really be a problem here. And its standard library includes some really nice and simple ways of handling more common problems, like image manipulation and user accounts. Add to that the bonus of not having to learn SQL or touch the mess that is PHP, and it sounds like a no-brainer to me.
  12. 1. Yup. 2. Yes. Look into cron jobs. 3. That's possible too, but I'd rather go with one of the approaches above. 4. Not a good idea. The simplest way to do this would be to set up a table in your database for download tickets and pass them out via e-mail. You've worked with relational databases (MySQL etc.) before, right?
  13. IE6 imports all ID'd elements to the global namespace. What this means is that you can access the login field from anywhere in your JavaScript by using the variable custLogin. Standards-conforming browsers don't do that. What you want to do is: custLogin = document.getElementById('custLogin') Also, cookies have a specific syntax. You'll probably want to grab a function for setting and reading cookies - from here for example - to make sure they're stored properly.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.