Solved

background images not showing in ie, works fine in ff

Posted on 2011-03-13
8
235 Views
Last Modified: 2012-05-11
Here's my page:

http://www.nethealthinc.com/aad_dev/new2/feedbackpage.asp

If you view this in FF, the header nav works great! When viewed in IE 8, the background images on the top nav (complete info, gather charts, review & submit) don't show.  also, the centering of the page and the nav is gone.  I cannot figure out why.

The style sheets are accessible through the page, I think.

thanks for any help...
0
Comment
Question by:d2fox
  • 5
  • 3
8 Comments
 
LVL 4

Expert Comment

by:dwkd
ID: 35125098
#q-tab1 a{
      width:263px;

thats your problem .. try

#q-tab1 a{
      width:100%;;


and the same for all qtabs anchor styles
0
 

Author Comment

by:d2fox
ID: 35125140
dwkd,  YOU ARE AWESOME!  How did you know that?

Can you tell me how to center the nav section on the page and center the page in the window (they are both skewed to the left in IE 8)

THANK YOU!!!
0
 
LVL 4

Expert Comment

by:dwkd
ID: 35125161
body{
text-align:center;
... }

will center your container in IE --but watch out for all children of "container" aligning center -- so add:
#container { text:align-left; ... }
as you probably know it is all aligning thanks to this line in your css #container { margin:0 auto;.. }

see what that does and we'll go from there..
0
 

Author Comment

by:d2fox
ID: 35125217
so that worked as well.  You are great!  

I'm going to push my luck and ask one more thing.   The text on the top arrows (complete info, gather charts, review & submit)  used to be further to the left.  Somehow as I have updated the pages, it has shifted to the right 30px or so.  Do you know how I could correct that?  

0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 4

Accepted Solution

by:
dwkd earned 500 total points
ID: 35125241
well it does it in FF and IE now so its just a result of aligning everything inside the body "center"
try adding a #quality-tabs { text-align:left; } and see how that goes
0
 

Author Closing Comment

by:d2fox
ID: 35125275
Responsive, great answers!
0
 
LVL 4

Expert Comment

by:dwkd
ID: 35125357
glad i could help

also, now that you know how to successfully align stuff around you can stop using the <center> tag which is deprecated  and search engines give you less rank when they find deprecated old techniques.
also
so that means also getting rid of the <table>'s and moving to divs only .. like the bottom footer with the links and the copyright
<divs> are fun and use less code than tables

all this: "<table width="800" border="0">
      <tr><td><center>"
can be written as <div class="footer">
and then you work from inside the css file on the .footer with text-align:center and what not :)

0
 
LVL 4

Expert Comment

by:dwkd
ID: 35125386
ok i felt like i should add that you shouldn't get the wrong idea about <table> tags .. they're not deprecated, as a matter of fact google and other major players in the web business uses them a lot in the development of their sites.. but what you have is not an efficient way to use them... it just makes the code ugly :) .. i say use table when you want to display info in an organized, spreadsheet type of way with the nice arrangements,borders..pretty much the Excell look :)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now