Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace condition html tags with a CSS hack for IE6 (Bug 740917) #52

Merged
merged 3 commits into from Apr 6, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions media/css/sandstone/buttons.less
Expand Up @@ -164,17 +164,14 @@
.download-content {
.inline-block;
margin-left: -25px;
_margin-left:0;
background-image: url(/media/img/sandstone/buttons/firefox-small.png);
height: 52px;
padding: 0 20px 0 65px;
overflow: visible;
}
}

.lt-ie7 .download-button-small .download-link .download-content {
margin-left: 0;
}


// OS detection

Expand Down
5 changes: 1 addition & 4 deletions templates/base.html
@@ -1,8 +1,5 @@
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ LANG }}" dir="{{ DIR }}"> <!--<![endif]-->
<html class="no-js" lang="{{ LANG }}" dir="{{ DIR }}">
<head>
<meta charset="utf-8">

Expand Down