If I run this on the my c drive the banner looks correct. If I run it from a network drive the banner does not fill the width of the screen. Seems to work fine in Chrome but IE 11 changes with file location.
<html>
<head>
<style>
.wrapper {
width: 100%;
height: 100px;
top: 0;
right: 0 ;
position: fixed;
background-color: #015786;
}
.header p {
color:white;
font-size: 40px;
margin-top: 10px;
!text-align: center;
padding-top: 12px;
padding-left: 480px;
position: fixed;
}
#logo {
float: left;
margin-top: 20px;
margin-left: 10px;
}
.container{
margin: 8%;
}
.container p{
font-size:20;
Margin: 0px 15px 20px 15px;
}
.container p1{
font-size:30;
Margin: 0px 10px 10px 10px;
}
.alignleft {
float: left;
}
.alignright {
float: right;
padding-right:400px;
text-align: right;
}
#textbox{
}
</style>
<div class="wrapper">
<div class="header">
<div id="logo">
<img src="denverlogo.png" style="width:150px;height:50px;">
</div>
<p>Electronic Engineering Bureau Documents</p>
</div>
</div>
</head>
</body>
</html>
Attached File(s)
index.htm ( 4.85k )
Number of downloads: 465
Ok I found the answer. IE reverts to IE 7 when file is opened from share drive.
Added this to <head> And all is good
<meta http-equiv="X-UA-Compatible" content="IE=11" />
You should use a Doctype as well, otherwise browsers may simulate earlier buggy versions. Put this at the very beginning:
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)