473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Positioning in IE7 messed up

Hi there,

my webpage is not completely done yet, but as I was testing it in Firefox, Opera, Safari and IE7, I ran into a problem.

The page looks fine in all Browsers except IE7 where the positioning of the first part of the picture is too high.

Since IE7 is one of the most used browser, I need this page to be compatible with it - as well as with the other Browsers.

The Page is
www.floridaliveonline.com

I'm still in the learning stages, so please tell me also other problems you se with my page.


Thanks in advance,

Matt
Jul 17 '07 #1
1 1162
tburger
58
By default, every modern browser has its own style sheets for the basic html elements. This means that your picture may look different in a certain browser if you aren't accounting for these differences. Firefox might have a margin of 1px while another browser might have no margin at all. This can throw off alignment.

At the beginning of your style sheet, you can over-rule these preset browser styles by using a "global reset".

The syntax is :

*{
margin: 0;
padding: 0;
}

The " * " character means that these rules will apply to ALL element in your HTML. This should give you uniform positioning in these browsers.

Be careful in using this, however. It should work with your page because you have no drop down menus or forms. But this global reset might affect those elements in more complex pages.

Hope this helps,

Tom
Jul 17 '07 #2

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

Similar topics

3
by: Mike Anderson | last post by:
I'm having a problem with the positioning of a div block in IE6. http://www.uah.edu/Athletics/index.shtml When the window is resized to a width smaller than the width of the "body" div (that...
4
by: Els | last post by:
Hi all, Whilst testing other things on www.browsercam.com, I found that some pages with absolute positioned pictures were all messed up in Mac's Opera 6.0 and even worse on Safari 1.0, and...
8
by: Asad | last post by:
Hi, I am basically trying to accomplish drop down menus for navigation on a site. And I'm pretty much done except I am having one problem. The z-index is not working with relative positioning! ...
11
by: NS | last post by:
I am relativly new to css positioning and have a question regarding the display of a DHTML pop-up Here is the basic HTML I am using: <html> <head> <script language="JavaScript"> <!--
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
3
by: littleloopy | last post by:
Hello, I am working on a site that uses basic css (I am definitely a beginner at this). It is a horizontally-oriented site, and the client wants the title bar and the nav bar to stay put while the...
1
by: rhino | last post by:
I've got some positioning problems that I can't figure out. Can anyone help? My website was working fine in IE7 and the current releases of Firefox and Opera so I had a look at it in IE6 and...
3
by: LayneMitch | last post by:
Hello everyone. I'm designing a site for a friend of mine and I'm having a few issues. First off, I'm noticing that there is a difference between the default line- heights of IE and...
1
by: metropolisiii | last post by:
Hi all, I'm having a problem with positioning with CSS in IE. If you look at the first photo, everything looks the way it should, but when I change the font size, the positioning gets messed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.