Hi all,
I am currently fooling around trying to produce a very basic webpage
that can be shown on both computer screens and Nokia series 60 GSM cell
phones featuring an XHTML browser. (XHTML-MP | XHTML Mobile Profile)
I found XHTML-MP to be the W3C XHTML-Basic + WML extensions, that is why
I have chosen to base a web page on XHTML Basic 1.0
Doing that I am running into the following problem: Nokia phones do not
support the media attribute in the link element and XHTML Basic does not
support the style element.
My clues to having separate stylesheets were to either have link
elements pointing to different stylesheets for different media, or to
use a style element in combination with an imported stylesheet for
computer screens and a link element for linking a handheld targeted
stylesheet to handheld media showing.
The latter works on IE, Netscape 7 and Opera 7 allthough not valid
according to the dtd the doctype declaration is pointing to. (as an
effect the W3C browser/editor Amaya 8.3 will not show the page
[ http://meeuw.zeepost.nl/meeuw_homepage_xhtml_basic.htm] correctly)
Should I care? And if so, does anybody have a suggestion to do this some
other way and have the page show correctly on both Nokia series 60 cell
phones and computer screens?
Thanks,
Jaap 8 1652
"JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de
news:c5******** **@reader08.wxs .nl does anybody have a suggestion to do this some other way and have the page show correctly on both Nokia series 60 cell phones and computer screens?
I think thi is just stupid to try it. Computer and cells phones are just to
different from their use to their caracteristics, so you should make a web
site for gsm, another for the web, etc.
It's ok, you can technically make web pages that can display on both but you
don't have to think technics, but end user.
"JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de
news:c5******** **@reader08.wxs .nl does anybody have a suggestion to do this some other way and have the page show correctly on both Nokia series 60 cell phones and computer screens?
I think thi is just stupid to try it. Computer and cells phones are just to
different from their use to their caracteristics, so you should make a web
site for gsm, another for the web, etc.
It's ok, you can technically make web pages that can display on both but you
don't have to think technics, but end user.
Pierre Goiffon wrote: "JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de news:c5******** **@reader08.wxs .nl
does anybody have a suggestion to do this some other way and have the page show correctly on both Nokia series 60 cell phones and computer screens? [link snapped]
I think thi is just stupid to try it. Computer and cells phones are just to different from their use to their caracteristics, so you should make a web site for gsm, another for the web, etc.
Dear Pierre, did you care following the link? Is your knowledge of Dutch
and CSS sufficient to notice that allmost all div's and/or paragraphs
are either member of a class or have an id? And so can be turned on or
off with the "display: none"-statement to achieve specific cummunication
aimed at specific media.
For me this puzzle is part of the fun. In what _functional_ chunks to
devide the contents into, so a CSS aimed at either "screen", "handheld"
or "print" media will result in something comprehensive yet _pretty_ .
Sure, this can be done by defining all the content in XML and have XSLT
produce a specific (X)HTML page for a specific medium, but I am fooling
around trying to do this within a single XHTML page calling specific
CSS's. That is where I ran into trouble as I encountered partial
implementations of the W3C recommendation. As creating website is not my
job but merely a hobby, no sweat. But I am curious if someone else sees
an opening here I do not.
And as for your opening remark: having worked in R&D for over a decade,
I do not agree that trying something new where long known solutions are
available is "just stupid" even if it looks futile. You never know what
might come from it.
It's ok, you can technically make web pages that can display on both ...[rest snapped].
Please do enlighten me. Because this is just my problem.
Pierre Goiffon wrote: "JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de news:c5******** **@reader08.wxs .nl
does anybody have a suggestion to do this some other way and have the page show correctly on both Nokia series 60 cell phones and computer screens? [link snapped]
I think thi is just stupid to try it. Computer and cells phones are just to different from their use to their caracteristics, so you should make a web site for gsm, another for the web, etc.
Dear Pierre, did you care following the link? Is your knowledge of Dutch
and CSS sufficient to notice that allmost all div's and/or paragraphs
are either member of a class or have an id? And so can be turned on or
off with the "display: none"-statement to achieve specific cummunication
aimed at specific media.
For me this puzzle is part of the fun. In what _functional_ chunks to
devide the contents into, so a CSS aimed at either "screen", "handheld"
or "print" media will result in something comprehensive yet _pretty_ .
Sure, this can be done by defining all the content in XML and have XSLT
produce a specific (X)HTML page for a specific medium, but I am fooling
around trying to do this within a single XHTML page calling specific
CSS's. That is where I ran into trouble as I encountered partial
implementations of the W3C recommendation. As creating website is not my
job but merely a hobby, no sweat. But I am curious if someone else sees
an opening here I do not.
And as for your opening remark: having worked in R&D for over a decade,
I do not agree that trying something new where long known solutions are
available is "just stupid" even if it looks futile. You never know what
might come from it.
It's ok, you can technically make web pages that can display on both ...[rest snapped].
Please do enlighten me. Because this is just my problem.
"JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de
news:c5******** **@reader10.wxs .nl And as for your opening remark: having worked in R&D for over a decade, I do not agree that trying something new where long known solutions are available is "just stupid" even if it looks futile. You never know what might come from it.
Web content is available for cell phones since more than 5 years now, so
some people like... me have try it before and I think you will get the same
conclusion as me really soon. For a lot of reasons, maintening 2 different
sites are the good choice - you see, there are now a lot of templates
engine, and it's always better to do all the presentation stuff server side.
So you've got a layer for extracting data from your database, another one to
transform and adapt datas, another to make the markup & css - that's just
that last that could be impacted by inserting new templates.
I just wanted to prevent you for this, though I don't have any solution for
your particular problem.
At last, I wish you good luck and you're true, it's courageous and good to
try something new. But if I can give you an advice : just see how it is done
on big websites since years.
"JotM" <ja*****@12move .netherlands_nl > a écrit dans le message de
news:c5******** **@reader10.wxs .nl And as for your opening remark: having worked in R&D for over a decade, I do not agree that trying something new where long known solutions are available is "just stupid" even if it looks futile. You never know what might come from it.
Web content is available for cell phones since more than 5 years now, so
some people like... me have try it before and I think you will get the same
conclusion as me really soon. For a lot of reasons, maintening 2 different
sites are the good choice - you see, there are now a lot of templates
engine, and it's always better to do all the presentation stuff server side.
So you've got a layer for extracting data from your database, another one to
transform and adapt datas, another to make the markup & css - that's just
that last that could be impacted by inserting new templates.
I just wanted to prevent you for this, though I don't have any solution for
your particular problem.
At last, I wish you good luck and you're true, it's courageous and good to
try something new. But if I can give you an advice : just see how it is done
on big websites since years.
Pierre Goiffon wrote: [snap]... and it's always better to do all the presentation stuff
server side. So you've got a layer for extracting data from your database, another one to transform and adapt datas, another to make the markup & css - that's just that last that could be impacted by inserting new templates.
I just wanted to prevent you for this, though I don't have any solution for your particular problem.
Thx for the protection. You're probably right. Which means I will now
have to endulge myself in server-side coding. Mmm. That should keep me
busy for many long nights to come. ;-)
/*************** *************** *************** *************** *************** *
JotM aka Jaap van der Heide
Remove ".XXXnospam XXX" for a valid return address
Please reply to a news message in the group where the message was posted
*************** *************** *************** *************** *************** */
Pierre Goiffon wrote: [snap]... and it's always better to do all the presentation stuff
server side. So you've got a layer for extracting data from your database, another one to transform and adapt datas, another to make the markup & css - that's just that last that could be impacted by inserting new templates.
I just wanted to prevent you for this, though I don't have any solution for your particular problem.
Thx for the protection. You're probably right. Which means I will now
have to endulge myself in server-side coding. Mmm. That should keep me
busy for many long nights to come. ;-)
/*************** *************** *************** *************** *************** *
JotM aka Jaap van der Heide
Remove ".XXXnospam XXX" for a valid return address
Please reply to a news message in the group where the message was posted
*************** *************** *************** *************** *************** */ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nobody |
last post by:
Okay, you are all so smart in here. Answer me this:
IE6 in standards mode doesn't seem to hide scrollbars on the body element
(overflow:hide) Ain't this a quandary. I have it in my head that I need to
specify html instead. The scrollbars do hide on Gecko browsers though, so
there is definitely a disagreement among browser developers on how to
implement scrollbars (as a side note, Gecko browsers with their notoriously
bug-ridden...
|
by: Philipp Lenssen |
last post by:
I've tested some of the new Nokia 6600 functionality. It ships with
WAP2 and XHTML Support (it says). What it does is check the Doctype --
if it's not the XHTML Mobile Profile Doctype, but a XHTML1.0 Strict
one, the media-handheld CSS is _ignored_. Only with the Nokia Doctype,
the CSS is used. I find this really annoying as it goes against the
whole idea of media-independent XHTML Strict along with stylesheets.
On the good side, WML...
|
by: Sector024 Media |
last post by:
My question is why netscape doesn't seem to support a style definition in a
table?
I have my pages as valid xhtml1.0, and still netscape is not folowing
orders..
<table style="text-align:center;">
<tr>
<td> </td>
</tr>
|
by: Jean Pierre Daviau |
last post by:
Hi,
<script language="javascript" type="text/javascript">
if(navigator.appName.indexOf("Netscape") != -1){
document.writeln('<link rel="stylesheet" href="~styles/aquarelle_ns.css"
type="text/css" media="screen" title="base" />');
}else{
document.write('<link rel="stylesheet" href="~styles/aquarelle.css"
type="text/css" media="screen" title="base" />');
}
|
by: hawat.thufir |
last post by:
I'm trying do some "screen scraping", and am using
<http://www.oreilly.com/catalog/xmlhks/> for inspiration.
First I'd like to convert XHTML to XML, or extract XML from XHTML, I'm
not sure how to phrase that.
"Use Cocoon to Create a Well-Formed View of a Web Page, Then Scrape It
for Data"
<http://hacks.oreilly.com/pub/h/2125>
| |
by: cwdjrxyz |
last post by:
I am now writing many new pages in xhtml 1.1. They are served as true
xhtml by setting the mime type of the server to application/xhtml+xml
for the .xhtml extension. Since IE6 and some earlier browsers can not
handle this mime type, a simple php include is at the very top of such
pages. If the mentioned mime type support for the viewing browser is
detected, everything above the head tag of the page is written in xhtml
1.1 code. If the...
|
by: Buford Early |
last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes
"A common misconception is that XHTML 1.1 is the latest version
of the XHTML series. And although it was released a bit more
than a year later then the first version of XHTML 1.0, the second
edition is actually newer. Furthermore, XHTML 1.1 is not really
the follow-up of XHTML 1.0"
I thought that XHTML 1.1 was the follow-up to XHTML 1.0 and that
XHTML 2.0 will someday be the...
|
by: pacs34 |
last post by:
I just read some stuff about XHTML 2.0 and it sounds fascinating so I
have been trying to create a small test doc which has a few graphics
files but whenever I submit it to the W3 validator I get this
foolishness about mime type="text/html" and then it tries to validate
it using SGML (in liew of XHTML 2.0) rules. Obviously this all fails.
Is there anything I can do?
= = = = = = = Here's my doc: = = = = = = =
|
by: Bert Lancaster |
last post by:
I'm not actually using it on the web but can anyone tell me why the ID
attribute on a <style> tag causes an error in the W3C validator for an
XHTML 1.1 document? It doesn't have a problem for a XHTML 1.0 or HTML
document.
I was just playing around with some test code that contained an embedded
stylesheet and used <?xml-stylesheet type="text/css" href="#styles"?>
before the DOCTYPE (which I think is what you're technically supposed to
do...
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: 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...
| |