See <http://santek.no-ip.org/~st/tests/CSS/Opera/align.php>.
Would appreciate confirmation that this is a bug in Opera, not my
mistake.
--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/> 7 1769
Sander Tekelenburg wrote: See <http://santek.no-ip.org/~st/tests/CSS/Opera/align.php>.
Would appreciate confirmation that this is a bug in Opera, not my mistake.
If you make your code standards compliant (get rid of vspace, hspace,
put a div between the <body> element and the images, add the type
attribute to the <style> element and get rid of the align attribute on
the first image), Opera doesn't show the image twice.
The CSS equivalent of align="right", is float:right.
And yes, if you add style="float:ri ght;" to that first image, you get
to see it twice again. I find that logical though, as a floated image
can't at the same time be positioned (fixed, relative or absolute).
Trying this code in Opera, Firefox and IE, shows 3 different results.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Sander Tekelenburg <us**@domain.in valid> wrote: See <http://santek.no-ip.org/~st/tests/CSS/Opera/align.php>.
Would appreciate confirmation that this is a bug in Opera, not my mistake.
This is a ridiculous hodgepodge of invalid presentational HTML under a
Strict doctype.
Under CSS 2.x there are 3 mutually exclusive positioning schemes http://www.w3.org/TR/CSS21/visuren.h...tioning-scheme
Under the current rules attempting to float *and* absolutely position an
element is daft, browser behaviour in such a case is undefined.
--
Spartanicus
In article <41************ *************** @40tude.net>,
Els <el*********@ti scali.nl> wrote: Sander Tekelenburg wrote:
See <http://santek.no-ip.org/~st/tests/CSS/Opera/align.php>.
[...]
The CSS equivalent of align="right", is float:right.
Ah! Of course. *That* was my mistake. I mixed up float with position. I
just need to set float to none to then be able to fixed position the
image. Thanks!
And yes, if you add style="float:ri ght;" to that first image, you get to see it twice again. I find that logical though, as a floated image can't at the same time be positioned (fixed, relative or absolute).
Right.
--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
In article
<du************ *************** *****@news.spar tanicus.utvinte rnet.ie>,
Spartanicus <in*****@invali d.invalid> wrote: Sander Tekelenburg <us**@domain.in valid> wrote:
See <http://santek.no-ip.org/~st/tests/CSS/Opera/align.php>.
Would appreciate confirmation that this is a bug in Opera, not my mistake.
This is a ridiculous hodgepodge of invalid presentational HTML under a Strict doctype.
Ah, yes. You're right. Sorry about that. I'm building a site. Things
behaved as they should in iCab, Opera, Mozilla and Safari. But Explorer
(both Win and Mac actually) screwed up big time. So I changed some
things to make Explorer at least display the site in a *useable* manner,
which required giving up competely on some fixed positionionig in IE and
then using the ALIGN and V/-HSPACE attributes to a specific image. I
then forgot to change the doctype declaration to Transitional and mixed
up float and fixed positioning. For the site I use external CSS of
course - when setting up examples like this I find it more comfortable
to use inline CSS, but I simply forgot the TYPE attribute to STYLE.
So, sorry about the mess. Blame Microsoft ;(
Corrected code at
<http://santek.no-ip.org/~st/tests/CSS/Opera/align3.php>. And
<http://santek.no-ip.org/~st/tests/CSS/Opera/align2.php> to show what i
was after.
Opera indeed behaves as it should. iCab Mozilla and Safari apparently
were trying to be too helpful...
--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
Sander Tekelenburg <us**@domain.in valid> wrote: For the site I use external CSS of course - when setting up examples like this I find it more comfortable to use inline CSS
In-document CSS is preferred for posting examples here, it saves us from
having to open and look at 2 or more files.
<http://santek.no-ip.org/~st/tests/CSS/Opera/align2.php> to show what i was after.
You don't need the presentational hodgepodge or a transitional doctype: http://homepage.ntlworld.com/spartanicus/sander.htm
Note that I've also changed the positioning of the image since your
original positioning relative to the right viewport edge didn't scale
properly when the viewport width was narrowed.
Opera indeed behaves as it should. iCab Mozilla and Safari apparently were trying to be too helpful...
Again: browser behaviour for your original code is undefined as per the
spec, thus the browsers are neither wrong nor right.
--
Spartanicus
In article
<i7************ *************** *****@news.spar tanicus.utvinte rnet.ie>,
Spartanicus <in*****@invali d.invalid> wrote: Sander Tekelenburg <us**@domain.in valid> wrote:
[...]
In-document CSS is preferred for posting examples here, it saves us from having to open and look at 2 or more files.
Exactly. <http://santek.no-ip.org/~st/tests/CSS/Opera/align2.php> to show what i was after.
You don't need the presentational hodgepodge or a transitional doctype: http://homepage.ntlworld.com/spartanicus/sander.htm
Ah, right. Good to know.
(Doesn't 'work' for the actual site though, where this structure is
itself within a float. Looks like I narrowed it down too much in my
example. I'll see if I can change the approach on the site. Would be
nice to not have to use presentational mark-up.)
Thanks for your help!
--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
Sander Tekelenburg <us**@domain.in valid> wrote: You don't need the presentational hodgepodge or a transitional doctype: http://homepage.ntlworld.com/spartanicus/sander.htm
Ah, right. Good to know.
(Doesn't 'work' for the actual site though, where this structure is itself within a float.
Shouldn't be a problem, specify "position:relat ive" on the float to make
it the containing block.
--
Spartanicus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sean Burns |
last post by:
Hello, does anybody know how to open a dialog window in opera?
I use window.showModalDialog(....) for IE but Opera says "Expression did not
evaluate to a function object: window.showModalDialog"
Thanks.
Sean.
|
by: tony kulik |
last post by:
This code works fine in ie and opera but not at all in Mozilla.
Anybody got a clue as to how to get it right?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script language="JavaScript" type="text/javascript">
function show(that)
{
if (box.style.visibility=='hidden') { that.style.visibility =
'visible'};
}
|
by: Dr.Bob |
last post by:
Dear group,
I made a 3 column design, centered in the middle, and #1 overlaps #2. To
start, it was so much a hell to get this combination (3 columns, centering
and stacking) right in IE + FF + OP + NN that I sold my soul to the devil
and used 1 table to define the 3 columns. BUT: Still have a problem with
Opera: It won't let me stack #1 partly on #2, it goes underneath it all the
time.
URL: http://www.drbobco.com/designs/synquad/
CSS:...
|
by: K. S. |
last post by:
hi guys,
this code works fine in IE but doesnot work in opera. the page just
reloads to test.html# in opera.
can anyone help? thanks.
-----------------------------------------------------------------------
<html>
|
by: Howard Jess |
last post by:
In Opera 8.01 (Linux; Build 1204) and in Opera 7.54 (Windows XP; Build 3865),
my form disappears from the HTML markup (below). To summarize:
1) In a <script> block in the <head> I create a form element (part of
object/feature/bug detection).
2) There's a <form> element defined in the <body>, with the id 'theForm'.
3) The onload function tries to access that form, and also counts the
total number of forms in the document. It fails to...
| |
by: Tigger |
last post by:
Dear Experts,
I am working on ASP.NET. I have got a problem related to the usage of
Javascript in ASP.NET. Please help. The story is the following:
1) I am developing an ASP.NET application. I need to prompt the users with a
modal box (with "Yes" and "Cancel" button on it);
2) When the user clicks "Yes" button, I need to do some further processing.
If "Cancel" is clicked, of course, stops doing anything;
3) Now the problems are:
-...
|
by: wonderu |
last post by:
Hi! I have the AJAX-script. It eats memory about 4Kb per one callback.
Script reflects messages from server application in real-time. I form
messages, and put them into the iframe. If mesages more than 40 last
message delete. Can you check the script and say about my mistakes?
thank you :)
function EventsCallback(response, args){
var result = response.text.split("^");
var elemobj = document.eframe.document.getElementById("div1");
|
by: Dr J R Stockton |
last post by:
Computed at <URL:http://www.merlyn.demon.co.uk/js-datex.htm#OSTby the
code shown above it when using Opera 9.24 :
Test exact dates in two 11-year ranges; IE & FF are OK.
Opera 9.24 shows errors near most/all EU Summer Time steps
outside 1970-2037.
1966-03-27 - Sat, 26 Mar 1966 23:00:00 GMT+0000
1966-10-28 - Thu, 27 Oct 1966 23:00:00 GMT+0000
|
by: koruyucu |
last post by:
we'd like to make smth like google implemented in gmail: when user
compose mail and then wants to leave page without actually sending it,
gmail notifies user about mail was not sent. this should happens when
user clicks link or press browser back button.
So the problem is that Opera does not support "beforeunload" event and
thus it is not possible to inform user that hes about to lose his
work. is there a way another then adding scripts to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |