Style not displaying correctly, Drive location of .html effects style |
Style not displaying correctly, Drive location of .html effects style |
DTIRADAR |
Apr 5 2017, 07:08 PM
Post
#1
|
Group: Members Posts: 2 Joined: 5-April 17 Member No.: 26,367 |
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 |
Lo-Fi Version | Time is now: 19th April 2024 - 01:18 AM |