IE7 Base Tag Issues
This is just a quick post because I noticed a fair amount of people have been asking about a problem in IE7 with how a base tag acts.
Previously in Internet Explorer you could put a base tag anywhere on a page and it would work fine. Now you have to put it in the <head> tag, and you can only use one per page.
the public outcry: "what the hell? why'd they do that?"
the karma answer: "it's small step microsoft took towards being more standards compliant, let's embrace it."
This may be a huge pain for a lot of developers because it probably broke a lot of things (images, links, etc.) but I assure you, it's a good thing and they're heading in the right direction. So, right after </title> use:
<base href="http://www.yourwebsite.com"></base>
also, i don't think its a self closing tag anymore so you need the </base> at the end.
Here's a full description of the new IE base tag policy: http://blogs.msdn.com/ie/archive/2005/08/29/457667.aspx
Featured writing
- What You Need to Know About Behavioral CSS
- CSS Techniques I Wish I Knew When I Started Designing Websites
- HTML5 and the Future of the Web
- 10 Tips to Create a More Usable Web
- 20 Sites That Brought CSS into the Mainstream
- CSS Angles: Just the Edge Your Web Page Needs!
- Elastic Calendar Styling with CSS
- Tomorrow's CSS Today: 8 Techniques They Don't Want You To Know
