Code

Can't Upload Files or Images in Drupal with Internet Explorer 9

Microsoft made a lot of changes in Internet Explorer 9, both in how it handles web standards (big improvements!) and how it handles Javascript. However, after the IE9 began rolling out, clients began calling and complaining that they could no longer upload images or files on their Drupal sites.

Strange, because to us, everything was working just fine and since we use Firefox and/or Chrome here in our office, the IE9 update was just a passing blip on the radar.  But after walkingwe finally narrowed the prob

Which gives a lesson we need to reminded of over and over again. The first question with any web problem should be: What browser are you using?

Anyway, here is the quick and dirty fix for the problem. You need to make IE9 think it is really IE8 and then everything works fine again.

Solution #1: Meta Tag

Insert the following meta tag into your template file, probably page.tpl.php.

How do tables affect a website?

Most amateur website designers use html tables when they’re creating a web page. In the late 1990s, when the dot-com boom led to a rapid growth in the ‘new media’ of web page creation and design, there began a trend of using HTML tables, and their rows, columns and table cells, to control the layout of whole web pages.

This was partly due to the limitations at the time of CSS support in major browsers, partly due to the new web designers’ lack of familiarity with CSS or with reasons (including HTML semantics and web accessibility) not to use any simple way quickly to achieve whatever layout they wanted, and partly due to a new breed of WYSIWYG web design tools such as Microsoft FrontPage, Adobe GoLive and Dreamweaver that encouraged this practice.

What is CSS?

CSS is the language for describing the presentation of Web pages. This includes colors, layout, and font information, as well as how to change the presentation on different types of devices, such as those with large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language. The separation of HTML from CSS makes it easier to maintain the code, share style sheets across pages, and tailor pages to different environments. This is referred to as the separation of structure (or content) from presentation.

What is HTML?

HTML is the language of the Internet RevolutionHTML is the language for describing the structure of Web pages and gives web designers the means to:

  • Publish online documents with headings, text, tables, lists, photos, etc.
  • Retrieve online information via hypertext links, at the click of a button.
  • Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products, etc.
  • Include spread-sheets, video clips, sound clips, and other applications directly in their documents.

HTML, which stands for Hyper Text Markup Language, is the predominant markup language for web pages. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists etc as well as for links, quotes, and other items.

Subscribe to RSS - Code