473,805 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Same version of IE giving me issues?

49 New Member
Hi everyone,
I'm working on creating a company intranet or my company and having trouble with IE.

I have a navigation bar at the bottom of my page that is a quick links bar and is a fixed position. the background image is a .jpg. Depending on the computer, the background image will appear or not show up at all.

The weird part is that the SAME version of IE 8 will show it on one computer, but another computer that has IE 8 will not.

I would expect issues from different versions, but not the same version right?

here is some code for how i set it up. I don't think it is the best way because i have a main css file and i had to do an inline style for the quick links bar in order for it to work at all.

main css:

Expand|Select|Wrap|Line Numbers
  1. /* Reset */
  2. html,body,div,span,applet,object,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:2;font-size:100%;font-weight:normal;font-style:normal;font-family:inherit;vertical-align:baseline}
  3.  
  4. body {background:#005673; color:#333; font-family:Verdana,Helvetica,Arial,Geneva,Helvetica,sans-serif; font-size:12px;line-height:20px;padding-bottom:5em}
  5. iframe {background-color:;}
  6. a,a:active,a:visited {text-decoration:none; color:#007eaa;}
  7. a:hover {text-decoration:underline; color:#FFF; background-color:#007eaa;}
  8. ul,ol {list-style-type:none}
  9. .left  {float:left}
  10. .right {float:right}
  11. .center {text-align:center}
  12. p {margin: 5px 0}
  13. pre {border:1px dotted #777;background:#ffe;margin:1em;padding:5px}
  14. h1, h2, h3 {font-weight:normal;color:#111;}
  15. h1 {font-size:3em;line-height:1;margin-top:0.5em}
  16. h2 {font-size:2em;margin-top:0.75em}
  17. h3 {font-size:1.5em;line-height:1;margin-bottom:1em}
  18. ul.bullet {list-style-type:square; padding-left:20px; margin:5px 0}
  19.  
  20. /* Header Portion */
  21. #header {background:#005673 url(g/header.png) repeat-x}
  22. #logo {
  23.     position:absolute;
  24.     left:10px;
  25.     top:4px;
  26.     width:318px;
  27.     height:66px;
  28.     background-image:url(g/logo.png);
  29. }
  30. #title {
  31.     color:#fff;
  32.     font-size:1.2em;
  33.     height:3em;
  34.     line-height:3em;
  35.     font-weight:bold;
  36.     padding-left:160px
  37. }
  38. #header_tabs {font-size:1em; padding-left:350px}
  39. #header_tabs li {
  40.     padding:0 1em;
  41.     float:left;
  42.     font-weight:bold;
  43.     height:2.5em;
  44.     line-height:2em;
  45.     color:#007eaa;
  46.     background:#6ae url(g/header.png) 0 -8px;
  47.     border-width:1px 1px 0 1px;
  48.     border-style:solid;
  49.     border-color:#007eaa;
  50.     margin-right:5px;
  51.     cursor:pointer;
  52.     white-space:nowrap;
  53. }
  54. #header_tabs li:hover {text-decoration:underline;}                
  55. #header_tabs li.on {color:#0077eaa; background:#f8f8f8 url(g/nav_bg.gif) repeat-x; text-decoration: underline;}
  56.  
  57. #header_bar {
  58.     clear:left;
  59.     color:#aaa;
  60.     background:url(g/topfade.png);
  61.     padding:0px 6px;
  62.     overflow:hidden;
  63.     height:10px;
  64. }
  65. #header_bar span img {cursor:pointer}
  66. #header_bar .hint {display:none;padding-right:5px}
  67. #header_bar:hover .hint {display:inline}
  68. #expd {display:none}
  69.  
  70. /* Main Content */
  71. #helper {
  72.     margin:12px;
  73.     margin-bottom:0;
  74.     padding:5px;
  75.     border:2px solid #000;
  76.     display:none;
  77.     background-image: url(g/announcement.png);
  78. }
  79.  
  80.  
  81. #main_table {width:100%}
  82. #main {padding:3px; position:relative}
  83. .main_containers {float:left;min-height:5em}
  84.  
  85. /* Footer Attached to Page Bottom */
  86. #footer {
  87.     position:fixed;
  88.     font-weight:bold;
  89.     bottom:0px;
  90.     width:100%;
  91.     height:2;/*this is how close the bar is to the bottom of the window*/
  92.     padding-right: 5px;
  93.     /*background:#007eaa url(g/footer.jpg) 0 /*16px*/;
  94.     /*text-align:right;*/
  95.     /*padding-left: 13px;*/
  96. }
  97.  
  98. #date {
  99.     position:fixed;
  100.     color:#FFF;
  101.     font-weight:bold;
  102.     bottom:5px;
  103.     width:100%;
  104.     height:2;/*this is how close the bar is to the bottom of the window*/
  105.     padding-left: 10px;
  106.     /*background:#007eaa url(g/footer.jpg) 0 /*16px*/;
  107.     /*text-align:right;*/
  108.     /*padding-left: 13px;*/
  109. }
  110.  
  111.  
  112.  
  113. footer_bar {color:#999; background-color:#fff; border-top:1px solid #ccc; border-bottom:1px solid #ccc; padding:4px 6px; height:1.2em; margin-bottom:10px}
  114. #footer_bar a {color:#999}
  115. #footer_bar a:hover {color:#333}
  116.  
  117.  
  118. /* Module Components */
  119. .module {background:#fff; border:2px solid #000; margin:10px 6px;}
  120. .moduleFrame {border:1px solid #4E8EE2; overflow:hidden;}
  121. .moduleHeader {
  122.     height:1.6em;
  123.     background:#4E8EE2 url(g/module-header.gif) repeat-x;
  124.     border-left:1px solid #A7D0F6;
  125.     border-top:1px solid #A7D0F6;
  126.     color:#007eaa;
  127.     cursor:move;
  128.     overflow:hidden;
  129.  
  130. }
  131. .moduleIcon, .moduleTitle {
  132.     line-height:1.4em;
  133.     float:left;
  134.     padding-left:2px;
  135.     font-weight:600
  136. }
  137. .moduleActions {display:none; float:right; height:16px; padding:0 2px}
  138. .moduleActions img {cursor:pointer;width:16px;height:16px}
  139.     .action_refresh {background:url('g/action-refresh.png')}
  140.     .action_max        {display:none;background:url('g/action-max.png')}
  141.     .action_min        {background:url('g/action-min.png')}
  142.     .action_close    {background:url('g/action-close.png')}
  143. .moduleHeader:hover .moduleActions {display:block}
  144. .moduleContent {border-top:1px solid #ddd; background:#fff url(g/nav_bg.gif) 0 -5px repeat-x; padding:5px}
  145.  
  146. /* Drag-drop placeholder */
  147. .ui-sortable-placeholder { border: 1px dotted red; visibility: visible !important; height: 50px !important; }
  148.  
  149. /* Light Theme Definitoin for Modules */
  150. .red .moduleHeader{background:#e24e61 url(g/module-orange.gif) repeat-x; border-color:#F6A7B8;}
  151. .red .moduleFrame{border-color:#E2584E;}
  152. .orange .moduleHeader{background:#E2584E url(g/module-red.gif) repeat-x; border-color:#F6A7A8}
  153. .orange .moduleFrame{border-color:#E2584E;}
  154. .yellow .moduleHeader{background:#E2904E url(g/module-yellow.gif) repeat-x; border-color:#F6C4A7;}
  155. .yellow .moduleFrame{border-color:#E2904E;}
  156. .green .moduleHeader{background:#66B161 url(g/module-green.gif) repeat-x; border-color:#ABCFA5}
  157. .green .moduleFrame{border-color:#66B161;}
  158. .white .moduleHeader{background:#9E9E9E url(g/module-white.gif) repeat-x; border-color:#D9D9D9}
  159. .white .moduleFrame{border-color:#9E9E9E;}
  160.  
  161. /* For NavIcon */
  162. .navdiv {float:left; margin:2px; border:1px solid #ccc; text-align:center; width:70px; height:90px; overflow:hidden}
  163. .navdiv img {width:64px; height:64px}
  164. .navdiv a {display:block; padding:1px; height:88px}
  165. .navdiv a:hover {text-decoration:none; background:#14f; color:#eee}
  166.  
  167. /* For NavLi */
  168. .navli {cursor:pointer; padding-left:28px; height:24px; line-height:24px; background:url(icon/link.gif) 0 0 no-repeat}
  169. .navli:hover {background-image:url(icon/link1.gif); font-weight:bold}
  170.  
  171. /* For RSSLi */
  172. .rssli a {display:block; height:24px; line-height:24px; padding-left:28px; background:url(icon/rss.gif) 0 0 no-repeat}
  173. .rssli a:hover {background-image:url(icon/rss1.gif); font-weight:bold}
  174.  
  175. /* Tabs Control */
  176. .tabs {border:1px solid #ccc}
  177. .tabsul {overflow:hidden;;padding-top:1px;background:#ccc}
  178. .tabsul li {float:left; font-weight:bold; color:#777; background:#fff; border:1px solid #bbb; text-align:center; margin-left:2px; padding:4px 6px; cursor:pointer; white-space:nowrap}
  179. .tabsul li:hover {background:#f0f0f0;color:#333}
  180. .tabsul li.on {background:#fff url(g/nav_bg.gif) repeat-x; border-bottom-color:#fff; color:#333; padding-bottom:6px}
  181. .tabsdiv {padding:4px}
  182.  
  183. /* Accordion Control */
  184. .accordion {background:#fff}
  185. .accordion dt {font-weight:bold; color:#777; border:1px solid #bbb; padding:4px 6px; cursor:pointer; margin-top:2px}
  186. .accordion dt:hover {background:#f0f0f0;color:#333}
  187. .accordion dt.on {background:url(g/nav_bg.gif) repeat-x; color:#333}
  188. .accordion dd {overflow-x:auto; padding:3px; border-width:0px 1px 1px 1px; border-style:solid; border-color:#bbb; display:none}
Oct 21 '09 #1
3 2289
jrod11
49 New Member
and here is the code for the quick links menu:

Quick links menu css:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" src="ADxMenu.js"></script>
  2.  
  3. <style type="text/css">
  4. .menu, .menu ul {
  5.     margin: 0;
  6.     padding: 0;
  7.     border: 0;
  8.     list-style-type: none;
  9.     display: block;
  10.  
  11. }
  12.  
  13. .menu li {
  14.     margin: 0;
  15.     padding: 0;
  16.     border: 0;
  17.     display: block;
  18.     float: right;    /* move all main list items into one row, by floating them */
  19.     position: relative;    /* position each LI, thus creating potential IE.win overlap problem */
  20.     z-index: 5;        /* thus we need to apply explicit z-index here... */
  21. }
  22.  
  23. .date li {
  24.     float:left;
  25. }
  26.  
  27. .menu li:hover {
  28.     z-index: 10000;    /* ...and here. this makes sure active item is always above anything else in the menu */
  29.     white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
  30.                             see http://www.tanfa.co.uk/css/articles/...popups-bug.asp for other stuff that work */
  31. }
  32.  
  33. .menu li li {
  34.     float: none;/* items of the nested menus are kept on separate lines */
  35. }
  36.  
  37. .menu ul {
  38.     visibility: hidden;    /* initially hide all submenus. */
  39.     position: absolute;
  40.     z-index: 10;
  41.     left: 0;    /* while hidden, always keep them at the bottom left corner, */
  42.     bottom: 0;        /*         to avoid scrollbars as much as possible */
  43. }
  44.  
  45. .menu li:hover>ul {
  46.     visibility: visible;    /* display submenu them on hover */
  47.     bottom: 100%;    /* 1st level go above their parent item */
  48. }
  49.  
  50. .menu li li:hover>ul {    /* 2nd+ levels go on the right side of the parent item */
  51.     bottom: 0;
  52.     left: 100%;
  53. }
  54.  
  55. /* -- float.clear --
  56.     force containment of floated LIs inside of UL */
  57. .menu:after, .menu ul:after {
  58.     content: ".";
  59.     height: 0;
  60.     display: block;
  61.     visibility: hidden;
  62.     overflow: hidden;
  63.     clear: both;
  64. }
  65. .menu, .menu ul {    /* IE7 float clear: */
  66.     min-height: 0px;
  67.     padding-right: 60px;
  68. }
  69. /* -- float.clear.END --  */
  70.  
  71. /* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
  72.     YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
  73.     if you do it, make sure you 110% know what you do */
  74. .menu ul {
  75.     background-image: url(empty.gif);    /* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
  76.     padding: 30px 30px 10px 30px;
  77.     margin: 0 0 -10px -30px;
  78.     /*background: #f00;*/    /* uncomment this if you want to see the "safe" area.
  79.                                 you can also use to adjust the safe area to your requirement */
  80. }
  81. .menu ul ul {
  82.     padding: 30px 30px 30px 10px;
  83.     margin: 0 0 -30px -10px;
  84. }
  85.  
  86.  
  87. /* - - - ADxMenu: DESIGN styles - - - */
  88.  
  89. .menu, {
  90.     background:#6666 /*16px*/;
  91.     background-image: url(http://www.intranet.com/newintranet/...u/footer.jpg);    
  92.  
  93. }
  94.  
  95. .menu ul li {
  96.     background:#999 /*16px*/;
  97.  
  98.     }
  99.  
  100. .menu ul {
  101.     width: 11em;
  102.  
  103. }
  104.  
  105. .menu a {
  106.     text-decoration: none;
  107.     color: #fff;
  108.     padding: .4em 1em;
  109.     display: block;
  110.     position: relative;
  111. }
  112.  
  113. .menu a:hover, .menu li:hover>a {
  114.     color: #fff;
  115. }
  116.  
  117. .menu li li {    /* create borders around each item */
  118.     border: 1px solid #ccc;
  119.  
  120. }
  121. .menu ul>li + li {    /* and remove the top border on all but first item in the list */
  122.     border-top: 0;
  123. }
  124.  
  125. .menu li li:hover>ul {    /* inset 2nd+ submenus, to show off overlapping */
  126.     bottom: 0px;
  127.     left: 90%;
  128. }
  129.  
  130. /* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
  131.     placed here to clarify the terminology I use when referencing submenus in posts */
  132. .menu>li:first-child>a, .menu li + li + li li:first-child>a {
  133.     color: #fff;
  134. }
  135.  
  136. /* - - - ADxMenu: DESIGN styles - - - */
  137.  
  138. .menu ul a {    /* fix clickability-area problem */
  139.     zoom: 1;
  140. }
  141.  
  142. .menu li li {    /* fix white gap problem */
  143.     float: left;
  144.     width: 100%;
  145. }
  146.  
  147. .menu li li {    /* prevent double-line between items */
  148.     margin-top: -1px;
  149. }
  150.  
  151. .menu a:hover, .menu .adxmhoverA {        /* li:hover>a selector */
  152.     color: #fff;
  153. }
  154.  
  155. .menu .adxmhoverUL .adxmhoverUL {    /* inset 2nd+ submenus, to show off overlapping */
  156.     bottom: 0px;
  157.     left: 90%;
  158. }
  159.  
  160.  
  161.  
  162. </style>
Oct 21 '09 #2
drhowarddrfine
7,435 Recognized Expert Expert
None of that does us any good without the html.
Oct 21 '09 #3
jrod11
49 New Member
I just figured it out. I had a typo right before one of my css statements and it was causing the problems. thanks
Oct 21 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

25
1916
by: Daniel P. | last post by:
MS or anyone still claims that C# and VB.NET generate the exact same IL code? http://www.osnews.com/story.php?news_id=5602&page=3
3
2796
by: Nathan Sokalski | last post by:
When I view any page in my application a second time, I recieve the following error: System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize) +313 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +201 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +263
13
1278
by: Jim Madsen | last post by:
OK guys-- I bought a new computer. I am not a professional programmer, I played around with VB5 a little bit, which is the first programming I ever did, learned on my own. I bought a copy of vb.net with my new Dell (didn't realize MS was giving away free software until later). I would like to have both versions installed on my PC, so I can work on
1
1339
by: bikkaran | last post by:
Hi , I have a peculiar situation where the same query is giving different out on th edatabase server and the when the same database is catalogged to another server What I find is the out put on server2 where the database is catalogged is giving out 433. for RECORDCNT filed . there is a . dot succeding the numeric value when the same query is run from server2 where the database is catalogged.
20
2587
by: Alan Silver | last post by:
Hello, I have read about the problems that IE has when using a doctype of HTML 4.01 Transitional. I was advised to use Strict wherever possible. My question is, does the same apply to XHTML 1.0 Transitional? I develop sites using ASP.NET, which emits valid XHTML 1.0 Transitional, but not XHTML 1.0 Strict (for example, it includes a hidden form field with the name of _VIEWSTATE, which isn't valid in Strict, but is in Transitional).
18
2637
by: MajorSetback | last post by:
I am using the Redhat version of Linux and GNU C++. It is not clear to me whether this is a Linux issue or a C++ issue. I do not have this problem running the same program on Windows but tweaking the C++ code appears to fix the problem on Linux. I have a static array that is declared privately in one class and a structure that is declared publicly in another class. The program uses both classes. I was getting core dumps and traced...
5
5366
by: mtgrizzly52 | last post by:
I am running an access 2003 dbase that has been slowly developed for use on a network. (I know, should be sql, but our IT dept won't allow that to happen, so we are stuck) Anyway, because of the extreme turtle's pace of inputting data online, and some other issues concerning liability issues, we have two versions of the same database. The one that is online, and then a version that can be used in the field. Like I said, these two versions are...
4
3348
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi Is there a way to easily tell the version pf .NET a project is compiled using in Visual Studio? I have a solution with a few projects, but I have a feeling some of the projects are compiling in .net 1.1, while some are compiling in 2.0 - can't find the info anywhere. Thanks,
5
5898
by: jehugaleahsa | last post by:
Hello: What is the point of using a DataTable in ASP .NET? We are unsure how you can use them without 1) rebuilding them every postback, or 2) taking up precious memory. We are not sure how to store a DataTable in any other way outside of our servers. In doing so, we leave ourselves open to large memory requirements. Furthermore, most web pages do not really support multiple changes per transaction. In other words, when the user submits...
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10359
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5541
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3843
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.