Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opera Browser Help

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
1. How do I make things 100% the height of the screen, ive tried everything style in the TD, in the DIV in the BODY even the HTML tags via CSS and still it won't stretch to 100%.

2. When i hard code the height I want, the menu on the left is displayed behind the iframe to the right. How on earth do i tell the browser what frame should be in the "foreground" so to speak.

the test link is here
thanks.

1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
I can't make it work?

I've put the iframe as z-index:1; and the menu z-index:2; but the iframe still overlays the menu.

a bit like the height:100% doesn't work in Opera either!

Does anyone actually use this browser?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
iframes are a special beast when it comes to z-indexes. This has been covered many times in the HTML / CSS forum (forum215) - maybe it would be a better place for this question?

Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
lol - very funny.

any insight into why the z-index doesn't work?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
iframes are a special beast when it comes to z-indexes. This has been covered many times in the HTML / CSS forum (forum215) - maybe it would be a better place for this question?

sorry missed this post, must have been posting the same time as you

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Right, I spent all lastnight re-writing the code just so I could put the menu in an iframe on the SSL web hosting.

That solution doesn't work in ANY browser it's worse!

here is screen shot to show you.


the first is how it behaves when the menu is in the main document and there is just the iframe to the right.

the second is when the menu is also in an iframe.

I set the iframe z-index of the menu to be higher than the right hand iframe but it makes no difference, ALL browsers (IE,FF,NS,O) show the menu only within the iframe, which isn't big enough to view the full expanded menu.

It does not float over the top of the right hand iframe as was suggested if both were in an iframe and z-index was used.

I'm a bit confused as to why this was thought to be a solution to fix a display issue in Opera , when it doesn't work in ANY of the main browsers?

but at least I can now change the inner.HTML from the iframe, having converted the page to all be on the SSL domain, so no longer get that cross domain security issue - so it wasn't all bad ;-)

Any other ideas anyone on how to get Opera do display data over an iframe?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
well i guess it could be a normal frame, do you think this Opera behaviour is only peculiar to iframes NOT frames ?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
because why keep re-loading the whole page when all that needs to change is the right hand viewing window, which shows the statement.

Although i could use remote scripting using a hidden iframe and keep updating the inner.HTML with the returned data, it looks like a lot of work to implement Remote Scripting utilising RPC, but it might be a neat solution to this issue.

here is the info where i read up on it, any thoughts on this as a possibility.




"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
because why keep re-loading the whole page when all that needs to change is the right hand viewing window, which shows the statement.

That's not a reason why you have to use frames - it's only your justification for doing so.

If you don't NEED to use frames - and in this case you don't (and they're causing you grief), then why not accept that you might be better off without them?

IMHO, most people who use the web accept that most of the time when you click a link, the page will reload - so why try to stop that if it's proving difficult?

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
it's to do with bandwidth, resources, response times and end user experience plus functionality.

hmm, just had a re-think aswell, this remote scripting RPC won't work either, they need to be able to easily print the statement and don't want the menu and other page stuff printing out as well. (which would be a problem if i had a single page with no frames)

Hence once again the frame/iframe usage solves this problem, and a single page would NOT!.

I think , begrudginly, I will have to accept that in the unlikely event one of our members is using Opera, they will have to use a different browser if they want to view their statements.

the iframe/SSL solution i have in place at present works like a dream in every other browser, so I have to conclude that there is a problem with Opera rather than my solution.



"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
it's to do with bandwidth, resources, response times and end user experience plus functionality.
What about using a single page that only updates the relevant sections when necessary (i.e. AJAX).

hmm, just had a re-think aswell, this remote scripting RPC won't work either, they need to be able to easily print the statement and don't want the menu and other page stuff printing out as well. (which would be a problem if i had a single page with no frames)
A single page would work fine in this scenario (probably better in fact). You would just set up a different style for printing.

I think , begrudginly, I will have to accept that in the unlikely event one of our members is using Opera, they will have to use a different browser if they want to view their statements.

the iframe/SSL solution i have in place at present works like a dream in every other browser, so I have to conclude that there is a problem with Opera rather than my solution.
That's a fairly strange way to look at it (I wouldn't be happy if I was your user and was using Opera, which by the way I'm not and I'm not!). It isn't really a "solution" if it doesn't work in certain scenarios. Wouldn't it be better to look at alternative methods that would work no matter how the user looks at the page?



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
you what - you can put code in a DIV with a class that is specific to printing?

you see this is where my lacking CSS knowledge lets me down.

can you point me in the right direction please.


the iframe/SSL solution i have in place at present works like a dream in every other browser, so I have to conclude that there is a problem with Opera rather than my solution.

I don't see this as an unfair conclusion. If it had been a case of me saying "well it works in IE", then i could accept that the solution is a poor one rather than blaming the other browser.

But when my solution works in I.E, FireFox, Netscape & AOL, then the analogy "You can't please all the people all the time", is a fair one to make!

however, if a viable solution IS available to me then I am more than willing to look at it and attempt to implement it.

If i didn't care if it worked in Opera, I wouldn't have downloaded it, installed and tested with it!


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
you what - you can put code in a DIV with a class that is specific to printing?
You can apply different style sheets so that when a user wants to print a page (for example) then a different style sheet is applied so that only the relevant sections are displayed and therefore printed. See the following article for a simple introduction:


If i didn't care if it worked in Opera, I wouldn't have downloaded it, installed and tested with it!
Maybe, but I just thought it was rather perculiar that you cared enough to download it, install and test it and when it didn't work all the caring went out the window and you said the user would have to use another browser!


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
purely because at that time, i didn't see how the printing would work in a single page.

So if a frame to enable correct printing was the only option, Opera was out of the question because of its unusual behaviour when dealing with iframes.

However, i'm now eagerly reading up on this AJAX thing, looks very interesting and exciting, those Google Beta sites look very impressive.

So I may completely re-develop the whole site again (This current revamp makes it V5, you should have seen V1 - lol).

I could still use my PERL code to process backend, but use XML possibly to provide the data for the AJAX type environment displayed to the user.

Have you any experience with the AJAX concept, is it easy to pick up?



"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
1DMF said:
you what - you can put code in a DIV with a class that is specific to printing?

you see this is where my lacking CSS knowledge lets me down.

can you point me in the right direction please.

I have - twice already. Third time lucky?

HTML / CSS forum: forum215

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top