Solved

background images not showing in ie, works fine in ff

Posted on 2011-03-13
8
236 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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
 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
This article discusses four methods for overlaying images in a container on a web page
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

803 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