Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Opera doesn't scroll in 2.x
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JazzcatCB
Practical

46 Posts

Posted - 25 Jul 2005 :  01:08:11  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
I downloaded the 2.x trial version. I re-created my Registration Form and the fonts show up correctly in Opera. However, the page won't scroll. I added "scroll='auto'" to the body tag, but it didn't solve the problem. Any ideas?

s.dav
Site Admin

Italy
3364 Posts

Posted - 25 Jul 2005 :  08:38:31  Show Profile  Visit s.dav's Homepage  Reply with Quote
This is because you've used absolute positioning.
When using containers (layer and form) you must use relative positioning to avoid problems with Opera.

Position the form and all its internal widgets in relative mode and retry

Try also to remove the "Center Page" option from the page options.

For compatibility issues see the compatibility topic under the help

Regards, Davide
Go to Top of Page

JazzcatCB
Practical

46 Posts

Posted - 25 Jul 2005 :  18:50:54  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
Davide, I started to rebuild my web pages using relative positioning, and discovered that I couldn't overlap HTML elements -- something that the entire design of my web site is based upon :(

It looked as if I would have to redesign and re-write my entire web site over again to support relative mode, but then I had an idea. I created a relative layer object and positioned it off the screen to the right. I made it one pixel wide and as long as my web page. This tricked Opera into thinking that my page used relative elements, thus enabling the verticle scroll bar :) Now my site looks and scrolls just fine in Opera, despite using absolute positioning.

I'm just hoping there won't be any other unexpected problems with Opera and absolute positioning. If there are, I may just decide not to support Opera :(
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 27 Jul 2005 :  08:36:12  Show Profile  Visit s.dav's Homepage  Reply with Quote
;-) I think you have not to redesign your site using relative mode; you have to use only:

- relative mode in forms and its contained objects
- relative mode in objects contained into a layer
- don't use the "center page" option; simply create a centered frame using HTML (like my site)

The "center page" option is the most compatible one that I've tried and found. Opera seem not to be happy for that solution ;-)

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 27 Jul 2005 :  14:38:39  Show Profile  Reply with Quote
quote:
- don't use the "center page" option; simply create a centered frame using HTML (like my site)


Or use my center page solution that so far works with every browser.
In the head place this:
<style type="text/css">
#centered {
margin: 0px auto; width: 780px; position: relative
}
body {
text-align: center
}
</style>
Just after the opening body tag and right before the closing body tag place these:
<div id="centered">
</div>

Martin

Edited by - Martin1 on 27 Jul 2005 14:39:36
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 28 Jul 2005 :  13:52:49  Show Profile  Visit s.dav's Homepage  Reply with Quote
Hello Martin, how are you?

Your solution works better when using only absolute positioned objects but doesn't work when using relative positioned objects

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 28 Jul 2005 :  15:28:48  Show Profile  Reply with Quote
Hello Davide.
I am fine thank you. Rather busy at the moment with my taxes and so on[2 H:.(]. Taxes aaaarrrgggghhh. Why must I pay them[2 H:)]

You are probably right about the relative positioning but I never use relative positioning so for me it works most excellent.

Martin

Go to Top of Page

toadbee
Novice

5 Posts

Posted - 31 Aug 2005 :  00:10:29  Show Profile  Visit toadbee's Homepage  Reply with Quote
Martin -
Your Tip worked like a charm -
Cheers,

Todd
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 31 Aug 2005 :  01:41:38  Show Profile  Reply with Quote
Your welcome Todd.

[2 H:)]

Martin
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 31 Aug 2005 :  08:43:41  Show Profile  Visit s.dav's Homepage  Reply with Quote
Good Martin!

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000