472,985 Members | 2,265 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

z-index+mozilla+opera

I am attempting to have a floating image below page content, but above
<body>

In order to get this to work with mozilla+opera, am I required to have all
page content set at z-index>(some number).??
When I started, I used negative z-index for my floating image, all worked in
opera, not mozilla. Google indicated must set <body>
position:relative;top:0;left:0;float:left; but then that broke opera.. image
didn't come more than 1/3 of page, regardless of style applied.
Is there a way to make opera not see mozilla style (or other way round)??

regards.
Jul 21 '05 #1
5 4345
On Tue, 26 Oct 2004 11:13:56 +0930, PhilM <ph***@nospam.com.am> wrote:
I am attempting to have a floating image below page content, but above
<body>
Huh?
In order to get this to work with mozilla+opera, am I required to have
all
page content set at z-index>(some number).??
When I started, I used negative z-index for my floating image, all
worked in
opera, not mozilla. Google indicated must set <body>
position:relative;top:0;left:0;float:left; but then that broke opera..
image
didn't come more than 1/3 of page, regardless of style applied.
Is there a way to make opera not see mozilla style (or other way round)??


Redefine the problem. I'm only a little intoxicated, but I can't
understand this at all.

Might you be trying to do a background image?
Jul 21 '05 #2
PhilM wrote;
I am attempting to have a floating image below page content, but above
<body>
URL? Sound strange.

Maybe you are after image under content but above background?

Flaoting image under content doesn't sound very sensible design aproach.
But you can float div and make it's width 0 so image overflows under
text...
In order to get this to work with mozilla+opera, am I required to have all
page content set at z-index>(some number).??
Not necessarily.
When I started, I used negative z-index for my floating image, all worked in
opera, not mozilla. Google indicated must set <body>
position:relative;top:0;left:0;float:left; but then that broke opera.. image
didn't come more than 1/3 of page, regardless of style applied.
Is there a way to make opera not see mozilla style (or other way round)??


URL?

Why above body? Why not above html? Is IE involved?

html {position:absolute;z-index:1}
div#stuff {position:absolute;z-index:2}
body {position:absolute:z-index:3}
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 21 '05 #3
"PhilM" <ph***@nospam.com.am> wrote in message
news:41***********************@news.optusnet.com.a u...
I am attempting to have a floating image below page content, but above
<body>

In order to get this to work with mozilla+opera, am I required to have all
page content set at z-index>(some number).??
When I started, I used negative z-index for my floating image, all worked
in
opera, not mozilla. Google indicated must set <body>
position:relative;top:0;left:0;float:left; but then that broke opera..
image
didn't come more than 1/3 of page, regardless of style applied.
Is there a way to make opera not see mozilla style (or other way round)??


This might help: http://www.aplus.co.yu/CSSdesign/z-pos/

Jul 21 '05 #4

"PhilM" <ph***@nospam.com.am> wrote in message
news:41***********************@news.optusnet.com.a u...
I am attempting to have a floating image below page content, but above
<body> When I started, I used negative z-index for my floating image, all worked in opera, not mozilla. Google indicated must set <body>
position:relative;top:0;left:0;float:left; but then that broke opera.. image didn't come more than 1/3 of page, regardless of style applied.
Is there a way to make opera not see mozilla style (or other way round)??

... and no, not a "background-image", it must be above the background

no url available... yet.
The site is not hosted, but in design stages...

Am testing on ie6, Mozilla 1.8a4, opera7.53

just realized, mentioning a floating image here has a different meaning.
what I meant was an image (actually different instances of image) randomly
"positioned" behind the text etc, but to work in mozilla, to make neg
z-index viewable, it requires the above code.

The Why
The following is replicated between 5 and 15 times randomly for each page
position top and left generated randomly
the choice of image/s is generated randomly (images are faint,
non-intrusive)
<img style="position:absolute; left:$left; top:$top; z-index:-$index;"
src="templates/images/$img" alt="decoration" width="$size" height="$size">

this results in no 2 page views having the "exact" same appearance... part
of the designers "vision" (not me)

with the mozilla fix, all opera images are stuck in the top 1/3 of screen.
without the mozilla fix, mozilla doesn't display any instances of those
images.

will look into that already supplied, just posted this to, hopefully clarify
why...

PhilM


Jul 21 '05 #5
PhilM wrote;

"PhilM" <ph***@nospam.com.am> wrote in message
news:41***********************@news.optusnet.com.a u...
I am attempting to have a floating image below page content, but above
no url available... yet.
No answer available either. You failed twice about telling what you want,
and what you tried.
The site is not hosted, but in design stages...
So, get temporary hosting. Many ISPšs have some homepage space, and there
is free services too.
just realized, mentioning a floating image here has a different meaning.
Exactly why you should have used URL. If you can't do that, then you need
to figure it out yourself, or hire someone to look at it. (I promise to
look at it privately for 10euros...)
what I meant was an image (actually different instances of image) randomly
"positioned" behind the text etc, but to work in mozilla, to make neg
z-index viewable, it requires the above code.
Hm, most likey it should not work. as you have done something stupidly
The Why
The following is replicated between 5 and 15 times randomly for each page
position top and left generated randomly
the choice of image/s is generated randomly (images are faint,
non-intrusive)
<img style="position:absolute; left:$left; top:$top; z-index:-$index;"
src="templates/images/$img" alt="decoration" width="$size" height="$size">

this results in no 2 page views having the "exact" same appearance... part
of the designers "vision" (not me)


Well, that if 100% proof consept of making site impossible to read on
most cases. Why don't you ask the designer to show how it works, when 2
browsers are tiled in screen. Surely it will look the same on both, but
is usable in neither.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 21 '05 #6

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

Similar topics

2
by: Peter | last post by:
Hello, First of all, sorry for all the code. I don't know how to explain my problem without it. I have a javascript function which can build a webpage dynamically. A striped down version of...
2
by: Gabe Moothart | last post by:
I would like to be able to dynamically change the attributes of an <area> element in an image map. The following works in IE 6 and Opera 7: <map name="Map1"> <area shape="rect"...
19
by: MasonC | last post by:
I like Opera but it doesn't like Democrats. This page validates as XHTML and is OK in MSIE 6 but is a disaster in Opera 7.23. http://www.democrats.org/specialreports/condoliesa/page3.html ...
36
by: Unknown User | last post by:
Opera 8 has just been released earlier this week and has had an amazing return with over 600,000 downloads the first day. Opera Internet Suite's CEO says he will swim from Norway to the USA if in...
1
by: Charles Crume | last post by:
Hello; I am trying to test changes to my site (made only on my local machine so far) in IE v6, Mozilla 1.6, and Opera 7.5. When I test "navigator.javaEnabled in IE it corretly reports...
4
by: tech_learn | last post by:
HI, Can any one tell me how to findout Client is using IE or Mozilla or Netscafe Opera. I need Javascript Code. My site is not aligning properly in Mozilla and netscafe. So I decided to...
4
by: PCH | last post by:
I've run into a big problem with Opera 7x users. It appears that most pages do not render the panels correctly, and form validation does not fire at all. I tracked down some threads about the...
0
by: wycareer | last post by:
www.goodugle.com
2
by: Bartosz | last post by:
Hi Do any of you know why mozilla might not detect website hight properly and therefore not display scrollbars? Even if forced to display the slider doesn't show up. Do you know what might be...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.