Re: Absolute positions, Amaya scroll bars and other problems

Irene, I am sorry not to have been clear. When I wrote "scroll bar" I 
meant the scroll bar that Amaya normally opens in the page view if the 
window that Amaya is displaying the page in is too small. (e.g. if you 
split the page horizontally and show the source code). Normally Amaya 
opens scroll bars with no problem (well, at least for me) - but not for 
the example I sent you... I guess that the calculation of the page size 
does not take into account absolute positioning. Please would you try it 
on your reference system.

Yes, I realise that the code in the example is truly awful, that is why 
I am editing it with Amaya to remove this sort of ridiculous HTML. I 
hope to convert it mostly to CSS with DIVS, but that is a lot of work. 
Unfortunately I am stuck with many, many pages with absolute 
co-ordinates which I would prefer to edit with Amaya rather (but be able 
to see what the page contains) than a text editor. That is why I would 
prefer Amaya to be able to display the existing pages to me.


Irene Vatton wrote:
> Le dimanche 23 novembre 2008 à 18:52 +0100, Ray Foulkes a écrit :
>> If I try to edit the following code in Amaya (not including the "CODE" 
>> tags of course):
>> <CODE>
>> <html>
>> <head>
>>    <title>test of visibility</title>
>>    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
>> </head>
>> <body bgcolor="#FFFFCC">
>> <p> test of scroll with fixed positioning </p>
>> <div
>> style="position:absolute; left:355px; top:1016px; width:179px; 
>> height:21px; z-index:32">
>> <a href="#HAUT">You cannot see me</a></div>
>> <div
>> style="position:absolute; left:977px; top:1px; width:38px; height:22px; 
>> z-index:35">
>> <a name="HAUT"></a></div>
>> </body>
>> </html>
>> </CODE>
>> The browser of Amaya does not open up a scroll bar so there is no means 
>> on my computer of seeing "you cannot see me". It is visible in Firefox 
>> and IE6 if you scroll down. Now, I KNOW that this is all bad practice 
>> html, but I have inherited large quantities of absolute positioned code 
>> (yeuk) and need to start editing it.
> Amaya doesn't generate scroll bars (too complex to manage in and editing
> contex).
> I suggest you to change Amaya Preferences. In the section "Browsing",
> you uncheck the entry "Apply CSS".
> It's strange to force the page height with a "top:1016px". A solution
> could be to set a botton padding and set "bottom:22px" intead.
>> Also, if I open the source view, then the source appears fine. BUT the 
>> "source" button in the "views" menu is greyed out. If I uncheck the 
>> "horizontal split" button the source view vanishes and will return ONCE, 
>> but then NONE of menu items of "views" works any more. It is necessary 
>> to shut down Amaya OR open up another file, in which case the "source" 
>> view works ONCE (but only one time) again.
> When the selection is in the source view,  you click in the source view
> "source" button in the "views" menu is greyed out. But it must be reset
> when you click in the formatted view.
> I will check if I'm able to reproduce that bug?
>> I am using Amaya 10.1 pre 5 dated October 17th on Windows XP sp2 on an 
>> aging Pentium IV computer with 1 GB of RAM. Same result on 10.0
>> So, is this a bug or is my computer screwed in some way??

Received on Tuesday, 25 November 2008 18:23:46 UTC