Skip to content

Instantly share code, notes, and snippets.

@buritica
Created October 3, 2012 22:54
Show Gist options
  • Save buritica/3830412 to your computer and use it in GitHub Desktop.
Save buritica/3830412 to your computer and use it in GitHub Desktop.
Ad Styling
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<style type="text/css">
a {
text-decoration: none;
font-family: verdana, arial, sans-serif;
}
a strong {
font-size: 18px;
font-weight: bold;
line-height: 1.2;
color: #003399;
text-decoration: underline;
}
a p {
color: #000000;
font-size: 15px;
line-height: 1.2;
margin: 3px 0;
}
a span {
color: #008000;
font-size: 15px;
line-height: 1.2;
overflow: hidden;
text-decoration: underline;
text-overflow: ellipsis;
white-space: nowrap;
}
a button {
background: #26D;
background-image: -webkit-gradient(linear,left top,left bottom,from(#26D),to(#16E));
border-color: #34A;
border-radius: 2px;
-webkit-border-radius: 2px;
border-style: solid;
border-width: 1px;
cursor: pointer;
height: 36px;
width: 118px;
display: block;
margin: 10px auto;
}
a button img {
height: 90%;
}
</style>
<a href="">
<strong>Official Ford Site</strong>
<p>Powerful, Fuel-Efficient, Reliable. Cars with Up to 40 MPG @ Ford.com.</p>
<span>www.ford.com</span>
<button>
<img src="http://pagead2.googlesyndication.com/pagead/images/mobile_unified_button_icon_white.png">
</button>
</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment