473,320 Members | 2,122 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,320 software developers and data experts.

cross graphic gets shifted down on some firefox browsers

Hello everyone,
I'm working on this css site redesign
http://www.maranathamalta.com/4given/testingmain.php

I've tested on my machine running XP using Firefox 2.0.0.4, IE6 and IE7.
It looks right on those browsers.
However on some other machines running XP, MacOS and Linux, using firefox 2 and
firefox 1.5, the cross graphic gets shifted down. On another Linux machine with
firefox 2, the graphic looks right..
I'm trying to determine what's causing this..
can anyone please help..

Jul 20 '07 #1
6 2131
do**********@invalid.inv wrote:
Hello everyone,
I'm working on this css site redesign
http://www.maranathamalta.com/4given/testingmain.php

I've tested on my machine running XP using Firefox 2.0.0.4, IE6 and IE7.
It looks right on those browsers.
However on some other machines running XP, MacOS and Linux, using firefox 2 and
firefox 1.5, the cross graphic gets shifted down. On another Linux machine with
firefox 2, the graphic looks right..
I'm trying to determine what's causing this..
can anyone please help..
Just a quick look revealed a couple of things, you didn't validate did you?

h2
{

position:absolute;
top: 510px;
/*left: 19%;breaks movement*/
margin-left:-20px;
float:left;
z-index:40;
background: transparent url(/4given/i/centrephoto.jpg) no-repeat top left;
width:106; <--106 what?
height:101; <--101 what?
}

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jul 20 '07 #2
thanks, I had validated it earlier.. though not my latest changes as the w3c css
validator is offline..

I fixed the problem - it was my use of em rather than px's... em's shift the
graphics if you change font size.. that was the difference, font size..
Thanks anyway.

In article <94***************************@NAXS.COM>, Jonathan N. Little says...
>

Just a quick look revealed a couple of things, you didn't validate did you?

h2
{

position:absolute;
top: 510px;
/*left: 19%;breaks movement*/
margin-left:-20px;
float:left;
z-index:40;
background: transparent url(/4given/i/centrephoto.jpg) no-repeat top left;
width:106; <--106 what?
height:101; <--101 what?
}
Jul 20 '07 #3
do**********@invalid.inv wrote:
http://www.maranathamalta.com/4given/testingmain.php

I've tested on my machine running XP using Firefox 2.0.0.4, IE6 and IE7.
It looks right on those browsers.
Maybe for you it does. Positioning looks not so clean with my settings,
in any browser. I think you don't fully understand how positioning
methods are supposed to work.
http://brainjar.com/css/positioning/
However on some other machines running XP, MacOS and Linux, using firefox 2 and
firefox 1.5, the cross graphic gets shifted down.
Your lack of a proper DOCTYPE triggers quirks mode in browsers. Don't
expect any consistency unless you invoke standards mode. Use HTML 4.01
Strict for best compatibility.
http://www.hut.fi/u/hsivonen/doctype.html

And validate your code to eliminate syntax errors as possible causes of
rendering issues:
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/

--
Berg
Jul 20 '07 #4
In article <5g*************@mid.individual.net>, Bergamot says...
>Your lack of a proper DOCTYPE triggers quirks mode in browsers. Don't
expect any consistency unless you invoke standards mode. Use HTML 4.01
Strict for best compatibility.
http://www.hut.fi/u/hsivonen/doctype.html
You are mistaken.
I'm using the (X)HTML5 recommended DOCTYPE actually which triggers standards
mode.
I need to point out to you that I'm not writing HTML 4.01..
>
And validate your code to eliminate syntax errors as possible causes of
rendering issues:
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
I didn't have syntax errors, only a couple of logical errors as per my other
post..

Jul 20 '07 #5
do**********@invalid.inv wrote:
thanks, I had validated it earlier.. though not my latest changes as the w3c css
validator is offline..

I fixed the problem - it was my use of em rather than px's... em's shift the
graphics if you change font size.. that was the difference, font size..
Thanks anyway.
Hopefully those who are in of being *4 GIVEN* are not also visually
impaired! Eh?
[topleft.png] [topcentre1.png]
*

*

[topright.png]
*

*

[centrephoto.jpg]
*

*

[bottomleft.png] [bottomright.png] [bottomcentre.jpg] [maranatha.png]

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jul 20 '07 #6
do**********@invalid.inv wrote:
>
I'm using the (X)HTML5 recommended DOCTYPE
Recommended by who? XHTML is pretty useless, you know. HTML5 isn't
really anything to get excited about, either. That's a discussion for a
different newsgroup, of course.
I need to point out to you that I'm not writing HTML 4.01..
I would point out to you that your trendy (X)HTML5 page is still broken,
but it seems you have already removed it.

--
Berg
Jul 20 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
5
by: lkrubner | last post by:
Go to this page: http://www.publicpen.com/designer/mcControlPanel.php?arrangement=createweblogsForm.php You'll need to login, use these: username: designer password: designer123 This is...
22
by: Trammel | last post by:
Hi, I am here to request support from anyone that has idea's on cross-browser HTML (Mainly Firefox and IE). My personal website http://trammel.no-ip.info works fine on Firefox but IE decides to...
4
by: John Fereira | last post by:
So, one of the limitations of multipart-form handling is that when an <input type="file" ..> tag is used it will bring up a window which allows a user to select a file for upload but won't allow...
2
by: Eric Caron | last post by:
Hi everybody, I was doing some cross-browser tests today and I found out that if you specify the width and height for a button type control, asp.net doesn't output the style information when...
2
by: P2P | last post by:
Hi I am wondering if someone know of a free cross-browsers vertical scrolling script that - is cross cross-browsers - will call the scrolling content from an external html page or from a...
15
by: CMM | last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My superiors have decided that it would be nice if we ensured the site worked on all the major platforms (as they see it: IE,...
4
by: andycain | last post by:
Hello guys. Developing a site using XTHML 1.0 Strict Doctype with CSS and I'm getting problems with getting the site to display properly in Firefox, Opera, Netscape and IE. Thing is it...
3
by: DanWeaver | last post by:
I use visual studio 2008 and am learning to use javascript. I am constructing a javascript heavy website and have tried using the visual studio tools as well as Firebug- an add on for Firefox which...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.