12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

Home<br />

About<br />

Contact<br />

<br />

<br />

HTML5 and CSS3<br />

<br />

Content Area<br />

<br />

Main content items – text, images, links, etc.<br />

<br />

<br />

<br />

Sidebar Area<br />

<br />

Sidebar content<br />

<br />

<br />

<br />

Footer items – copyright, disclaimer link, sitemap link, etc.<br />

<br />

<br />

<br />

Hacking for Internet Explorer<br />

Sections are not fully supported by all browsers, and definitely not by older browsers like<br />

Internet Explorer 6 or Firefox 2. At this time, if you need to support legacy browsers like<br />

IE, there is a fix. IE 6 parses and displays the structural tags, but it won’t apply any CSS<br />

to them. The fix is to use some JavaScript in the head section of your web page by using<br />

the createElement method so IE 6 can be ‘informed’ of the new tags.<br />

/*Remember that HTML5 already assumes the default script is<br />

237

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!