Solved

CSS: Relative positioning and IE7

Posted on 2010-08-25
7
351 Views
Last Modified: 2012-05-10
I am using relative positioning for the header of http://pnwprop.u59.ssllcweb.com/index.cfm

It is displaying correctly in Firefox and Chrome, naturally IE is wreaking havoc. Haven't used relative position extensively so any help on getting this worked out greatly appreciated.

thanks
0
Comment
Question by:jabronicus
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:firozmusthafa
ID: 33522029
That's because of IE7 compatibility problem, always view your website in compatibility mode...
Your code is OK!
It's just IE7...
0
 
LVL 4

Expert Comment

by:Morrisproject
ID: 33522043
try adding
float:left to #slideshow

and add position:relative; to #header
0
 

Author Comment

by:jabronicus
ID: 33522188
Morrisproject...tried it, still displaying incorrectly in IE7

firoz...IE8 has settings for compatibility mode, not IE7, correct?
0
Independent Software Vendors: 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!

 
LVL 3

Expert Comment

by:firozmusthafa
ID: 33522443
you are absolutely correct
but IE7 do have compatibility problem
refer here:
http://msdn.microsoft.com/en-us/library/bb250496(VS.85).aspx
0
 
LVL 4

Expert Comment

by:Morrisproject
ID: 33522911
It is a position issue which should be able to be resolved testing different methods of floats and relative divs.

Unfortunately it would take some time to download all the appropriate files and put the page into a testing environment.

I would suggest to try changing some of the positioning etc
0
 
LVL 13

Accepted Solution

by:
myderrick earned 500 total points
ID: 33527168
First of all add to header:

1. text-align: left (the default is text-align: center set on the body
2. Give it a higher z-index value (eg 5)

Issue should be ok now:

Good luck

MD
0
 

Author Comment

by:jabronicus
ID: 33531624
myderrick - exactly! Thanks for catching that for me.  IE as always = more work.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Increase the size of the modal in Bootstrap 5 52
Little bit of help styling my heading 3 36
DataTables + iCheck + pagination Issue 2 70
Non-Resizable Pharagraph 2 18
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
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…
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).

749 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