Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

CSS Breaks in Outlook


  • Please log in to reply

#1
bradyg23

bradyg23

    Member

  • Member
  • PipPip
  • 66 posts
I'm attempting to use CSS in my Outlook signature. In IE the code looks great. As I add the signature the "preview window" looks great. But then when I actually use the signature it breaks (the list does not get formatted at all).

Any suggestions on how I can alter this code to make it work?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
		"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
	<title>Listamatic: Rollover horizontal list navbar</title>
	<style type="text/css" media="screen">@import url(/stylesheets/listamatic.css);</style>
	<link rel="SHORTCUT ICON" href="/listamatic/listamatic.ico">
	<style type="text/css" media="screen">
		#navcontainer ul
		{
			padding-left: 0;
			margin-left: 0;
			background-color: #036;
			color: White;
			float: left;
			width: 100%;
			font-family: arial, helvetica, sans-serif;
		}
		
		#navcontainer ul li { display: inline; }
		
		#navcontainer ul li a
		{
			padding: 0.2em 1em;
			background-color: #036;
			color: White;
			text-decoration: none;
			float: left;
			border-right: 1px solid #fff;
		}
		
		#navcontainer ul li a:hover
		{
			background-color: #369;
			color: #fff;
		}
</style>
</head>
<body>



<h2>
	Rollover horizontal list navbar
</h2>
<div id="navcontainer">
	<ul id="navlist">
		<li id="active"><a href="#" id="current">Item one</a></li>
		<li><a href="#">Item two</a></li>
		<li><a href="#">Item three</a></li>
		<li><a href="#">Item four</a></li>
		<li><a href="#">Item five</a></li>
	</ul>
</div>



</body>
</html>

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP