I have two pages which use the same stylesheet, but only one produces
the intended result. The inconsistency only happens in Explorer for
Windows. All the Mac browsers I've tried, including Explorer 5 for
Mac, work correctly.
I've pasted the stylesheet below. The problem is to center elements of
class "warning." The centering happens properly in this page: http://homepage.mac.com/bsharvy/index.html
but not this one (or others like it): http://homepage.mac.com/bsharvy/mirage.html
It makes absolutely no sense, since both use the same stylesheet
(mmedia.css). Again, the problem only happens with Explorer for
Windows.
--
body {color: #33aa33; background: black;}
a {padding: 1px;}
a.bright {color: #aabb55;}
a:hover { color: #aaaaff; } /* when mouse is over link */
..warning {
background: #333333;
padding: 0.5em;
border: none;
width: 60%;
margin-left: auto;
margin-right: auto;
}
h1.neutral {color: #aaaaaa;
margin-left:20%;
}
.done {
padding: 0.5em;
font-size: 95%;
background: #121212;
width:auto;
text-align: right;
}
.done a:hover {background: #aaaaff; color: #121212;} 24 1884
On 7 Apr 2004 14:18:43 -0700, Ben Sharvy <bs*****@mac.com> wrote: I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
Add a doctype to the erroneous document. Problem solved.
On 7 Apr 2004 14:18:43 -0700, Ben Sharvy <bs*****@mac.com> wrote: I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
Add a doctype to the erroneous document. Problem solved. bs*****@mac.com (Ben Sharvy) wrote: I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
I've pasted the stylesheet below. The problem is to center elements of class "warning." The centering happens properly in this page: http://homepage.mac.com/bsharvy/index.html
but not this one (or others like it): http://homepage.mac.com/bsharvy/mirage.html
It makes absolutely no sense, since both use the same stylesheet (mmedia.css). Again, the problem only happens with Explorer for Windows.
Different doctypes, (or rather one doctype and one lack of doctype).
This causes one page to go into Standards mode and one to go into
Quirks mode. IE6 only supports centering via margin: auto; in
Standards mode.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/> bs*****@mac.com (Ben Sharvy) wrote: I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
I've pasted the stylesheet below. The problem is to center elements of class "warning." The centering happens properly in this page: http://homepage.mac.com/bsharvy/index.html
but not this one (or others like it): http://homepage.mac.com/bsharvy/mirage.html
It makes absolutely no sense, since both use the same stylesheet (mmedia.css). Again, the problem only happens with Explorer for Windows.
Different doctypes, (or rather one doctype and one lack of doctype).
This causes one page to go into Standards mode and one to go into
Quirks mode. IE6 only supports centering via margin: auto; in
Standards mode.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
On Wed, 07 Apr 2004 17:29:02 -0400, Neal <ne*****@spamrcn.com> wrote: On 7 Apr 2004 14:18:43 -0700, Ben Sharvy <bs*****@mac.com> wrote:
I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
Add a doctype to the erroneous document. Problem solved.
Let me specify. Add the same doctype you used on the correctly working
document.
On Wed, 07 Apr 2004 17:29:02 -0400, Neal <ne*****@spamrcn.com> wrote: On 7 Apr 2004 14:18:43 -0700, Ben Sharvy <bs*****@mac.com> wrote:
I have two pages which use the same stylesheet, but only one produces the intended result. The inconsistency only happens in Explorer for Windows. All the Mac browsers I've tried, including Explorer 5 for Mac, work correctly.
Add a doctype to the erroneous document. Problem solved.
Let me specify. Add the same doctype you used on the correctly working
document.
Hm. OK, I'll try that. There is a reason there is no DOCTYPE on the
pages with an embedded Quicktime movie. When I added the declaration,
and verified the HTML, I was told EMBED is not supported in HTML 4.0.
I thought it would be worse to declare a non-HTML 4-compliant page as
HTML 4, than to declare nothing at all.
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML
document?
Hm. OK, I'll try that. There is a reason there is no DOCTYPE on the
pages with an embedded Quicktime movie. When I added the declaration,
and verified the HTML, I was told EMBED is not supported in HTML 4.0.
I thought it would be worse to declare a non-HTML 4-compliant page as
HTML 4, than to declare nothing at all.
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML
document?
"Ben Sharvy" <bs*****@mac.com> a écrit dans le message de
news:d1**************************@posting.google.c om Hm. OK, I'll try that. There is a reason there is no DOCTYPE on the pages with an embedded Quicktime movie. When I added the declaration, and verified the HTML, I was told EMBED is not supported in HTML 4.0. I thought it would be worse to declare a non-HTML 4-compliant page as HTML 4, than to declare nothing at all.
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML document?
Use Object instead of Embed : http://www.w3.org/TR/html401/struct/...ml#edef-OBJECT
"Ben Sharvy" <bs*****@mac.com> a écrit dans le message de
news:d1**************************@posting.google.c om Hm. OK, I'll try that. There is a reason there is no DOCTYPE on the pages with an embedded Quicktime movie. When I added the declaration, and verified the HTML, I was told EMBED is not supported in HTML 4.0. I thought it would be worse to declare a non-HTML 4-compliant page as HTML 4, than to declare nothing at all.
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML document?
Use Object instead of Embed : http://www.w3.org/TR/html401/struct/...ml#edef-OBJECT
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav">
<a href="audio.wav">Play audio</a>
</object>
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"
HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="sample.mov">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="false">
<EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true"
CONTROLLER="false"
PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>
Document URL: http://developer.apple.com/quicktime/compatibility.html
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Spartanicus <me@privacy.net> wrote in message news:<52********************************@news.spar tanicus.utvinternet.ie>... bs*****@mac.com (Ben Sharvy) wrote:
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML document?
Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav">
<a href="audio.wav">Play audio</a>
</object>
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"
HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="sample.mov">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="false">
<EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true"
CONTROLLER="false"
PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>
Document URL: http://developer.apple.com/quicktime/compatibility.html
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Spartanicus <me@privacy.net> wrote in message news:<52********************************@news.spar tanicus.utvinternet.ie>... bs*****@mac.com (Ben Sharvy) wrote:
Is there an HTML 4.0-compliant way to put a Quicktime movie in an HTML document?
Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm bs*****@mac.com (Ben Sharvy) wrote: Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
Maybe, note that the example code you quoted above is only intended to
show how it should be done in theory, the page argues against using it.
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160" HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="sample.mov"> <PARAM name="AUTOPLAY" VALUE="true"> <PARAM name="CONTROLLER" VALUE="false"> <EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </EMBED> </OBJECT>
Look again at the url I supplied, this method of coding is described
(and condemned) on the page.
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents
to many problems, use links. bs*****@mac.com (Ben Sharvy) wrote: Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
Maybe, note that the example code you quoted above is only intended to
show how it should be done in theory, the page argues against using it.
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160" HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="sample.mov"> <PARAM name="AUTOPLAY" VALUE="true"> <PARAM name="CONTROLLER" VALUE="false"> <EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </EMBED> </OBJECT>
Look again at the url I supplied, this method of coding is described
(and condemned) on the page.
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents
to many problems, use links.
Spartanicus <me@privacy.net> wrote in message news:<2d********************************@news.spar tanicus.utvinternet.ie>... bs*****@mac.com (Ben Sharvy) wrote:
Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
Maybe, note that the example code you quoted above is only intended to show how it should be done in theory, the page argues against using it.
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160" HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="sample.mov"> <PARAM name="AUTOPLAY" VALUE="true"> <PARAM name="CONTROLLER" VALUE="false"> <EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </EMBED> </OBJECT>
Look again at the url I supplied, this method of coding is described (and condemned) on the page.
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents to many problems, use links.
The example of yours I gave above uses links. Again, do you think this
is better FOR Quicktime movies:
<object data="http://example.com/audio.wav" type="audio/wav">
<a href="audio.wav">Play audio</a>
</object>
Also, do you know the type for Quicktime movies?
Spartanicus <me@privacy.net> wrote in message news:<2d********************************@news.spar tanicus.utvinternet.ie>... bs*****@mac.com (Ben Sharvy) wrote:
Link, don't embed: http://www.spartanicus.utvinternet.ie/embed.htm
Does this method work with a Quicktime movie...
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
Maybe, note that the example code you quoted above is only intended to show how it should be done in theory, the page argues against using it.
Apple has a technical note about the whole thing which recommends:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160" HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="sample.mov"> <PARAM name="AUTOPLAY" VALUE="true"> <PARAM name="CONTROLLER" VALUE="false"> <EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </EMBED> </OBJECT>
Look again at the url I supplied, this method of coding is described (and condemned) on the page.
Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents to many problems, use links.
The example of yours I gave above uses links. Again, do you think this
is better FOR Quicktime movies:
<object data="http://example.com/audio.wav" type="audio/wav">
<a href="audio.wav">Play audio</a>
</object>
Also, do you know the type for Quicktime movies? bs*****@mac.com (Ben Sharvy) wrote: >Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents to many problems, use links.
The example of yours I gave above uses links. Again, do you think this is better FOR Quicktime movies:
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
The example attempts to embed content, don't, use a link. bs*****@mac.com (Ben Sharvy) wrote: >Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents to many problems, use links.
The example of yours I gave above uses links. Again, do you think this is better FOR Quicktime movies:
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
The example attempts to embed content, don't, use a link.
Spartanicus <me@privacy.net> wrote in message news:<6j********************************@news.spar tanicus.utvinternet.ie>... bs*****@mac.com (Ben Sharvy) wrote:
>Should I keep the OBJECT code, but replace the EMBED code with what you recommend?
Neither, embedding of content that UAs cannot handle natively presents to many problems, use links.
The example of yours I gave above uses links. Again, do you think this is better FOR Quicktime movies:
<object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
The example attempts to embed content, don't, use a link.
I don't understand: <a href="audio.wav">Play audio</a> is a link.
Ben Sharvy wrote: Spartanicus <me@privacy.net> wrote
bs*****@mac.com (Ben Sharvy) wrote: <object data="http://example.com/audio.wav" type="audio/wav"> <a href="audio.wav">Play audio</a> </object>
The example attempts to embed content, don't, use a link.
I don't understand: <a href="audio.wav">Play audio</a> is a link.
....within object tags. You have
<object data="http://example.com/audio.wav" type="audio/wav">
<a href="audio.wav">Play audio</a>
</object>
Don't do that. Instead do this
<a href="audio.wav">Play audio</a>
<!-- look ma, no object tags -->
--
Brian (remove "invalid" from my address to email me) http://www.tsmchughs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Philipp Lenssen |
last post by:
Google With Your Stylesheet
<http://blog.outer-court.com/archive/2003_12_22_index.html#1072120815601
84833>
Search.CSS is a search engine which grabs Google results and displays
them using...
|
by: David Blickstein |
last post by:
Hi,
I have a Schema and a number of different XSLT stylesheets to translate to
different things. One stylesheet translates it to HTML.
I'd like to generate the XML files such that when loaded...
|
by: David Blickstein |
last post by:
I have some XML documents that I want to open in a web browser and be
automatically translated to HTML via XSLT. I'm using an xml-stylesheet
processing command in a file called "girml.xml".
...
|
by: Holden |
last post by:
Here is
I have 3 frames which load files from different locations say:
frame1: dir1/test1.htm
frame2: dir2/test.aspx
frame3: dir4/dir5/test.html
Is there a simple way to specify the global...
|
by: Doug Laidlaw |
last post by:
I am in the process of converting a page with nested tables to CSS. The
current page is at http://www.douglaidlaw.net./boykett/history.html. So
far, it is using a page-wide stylesheet to set fonts...
|
by: genc_ymeri |
last post by:
Hi over there,
Propably this subject is discussed over and over several times. I did google
it too but I was a little bit surprised what I read on internet when it
comes 'when to use what'.
Most...
|
by: Gary |
last post by:
Hi i'm exploring a tutorial stylesheet which uses the following code
#header ul li a {
....
line-height: 0.8em !important;
line-height: 1em;
....
}
|
by: Sarita |
last post by:
Hello,
this might sound stupid, but I got a really nice homepage template
which unfortunately is a 3-Column Fixed Width CSS format. Now I don't
have any content for the right column and would...
|
by: Christopher Brewster |
last post by:
I am running the same script on the same data on two different
machines (the folder is synchronised with Dropbox).
I get two different results. All the script does is count words in
different...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
| | |