Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

background images not showing in ie, works fine in ff

Posted on 2011-03-13
8
Medium Priority
?
243 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Suggested Courses
Course of the Month14 days, 23 hours left to enroll

578 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