Is #page:last really something? - html

I am currently working with pdf generation, and it looks like #page:last is what I need. Unfortunately, it doesn't work, and I can't find it in any doc I have found (eg. https://www.w3.org/TR/css3-page/)
But, and here is the question, I found several answers in SO talking about that mystery #page:last (eg. https://stackoverflow.com/a/27448329/4525068 https://stackoverflow.com/a/1176839/4525068)
So, what about it? Is that been removed? Has it already existed? If not, why those answers are accepted? Any workaround?

Yes and no. Paged media is only supported by certain PDF generation tools, such as PrinceXML. It is not supported by any web browsers. So you can use it to make documents, and it's really handy, but not for making web sites.

Related

How to embed PDF in a web page without javascript [duplicate]

This question already has answers here:
Recommended way to embed PDF in HTML?
(30 answers)
Closed 9 years ago.
I want to show pdfs in certain pages on my site. I've experimented with google's viewer api and it works great but I dont want to depend on a third party api call. I also want it to be as robust and reliable as possible, so I'm trying to avoid javascript. I see some indication that it can be done with just HTML using either or tags, but there appears to be disagreement as to the browser support: Recommended way to embed PDF in HTML?
Is there a definitive way to do this?
I need to support IE8+ and the site will be responsive, so the solution has to be able to accommodate smaller screen sizes.
Attention duplicate police: The entire basis for this question is to figure out what is specifically NOT answered in the other question. I even linked to that question in my ow
If you don't want to use JavaScript -- no, there is not.
Even if there is a good enough solution for some OS with something like Acrobat Reader installed (maybe you get lucky with Windows), all the other OSes still don't support it.
So, if you want your site to be seen more or less the same way by everybody, you'll have to go with Javascript base things and their not so robust and reliable support -- they are pretty portable, that's a great thing on the web.
Related:
Open Source Javascript PDF viewer
Why Use a Javascript PDF Viewer

Is there a browser-compatibility database with support for multiple feature search?

I'm looking/hoping for a tool similar to caniuse that supports searching for multiple features in one go.
Instead of searching for a single feature (like "border-radius"), I'd like to input all the HTML/CSS/JS APIs/etc that a given site uses, and be presented with a single table of browser support levels for all the features, in aggregate.
Example search: border-radius, FileAPI, canvas, video, audio
The idea is that you could provide a list of all the features of a given site and get a pretty accurate list of which browsers will support every bit of that site's functionality. It would answer the question of "Is browser X compatible with my site?", whereas caniuse answers the question "Is browser X compatible with feature Y?"
Does something like this exist?
Not that I know of.
caniuse has a link at the top of the page for Suggestions. You should suggest this.
It may be difficult to aggregate support information for multiple features particularly in cases where features have limited browser support, are available only by vendor-prefixes, or have known issues in particular cases.
What about this site? It's not exactly what you requested but more convenient than searching for one thing at a time.

HTML 5 - Using it in Production

Can I start using Html 5 on our websites? Or is it too early to use it?
I see that Google is using Html 5 for their images site. If google can use it, I guess, we too can.
HTML5 is many things. If you're asking, "Is every feature of HTML5 ready for the web?" then the answer is and will be no for a long time.
Instead, if you're asking "Can I use these cool HTML5 things like <section> elements, canvas, CSS3, custom fonts, and local storage?" then the answer is yes. The best source to guage support of HTML5 features is caniuse.com, which also includes links to shims or polyfills for browsers which don't support the feature.
The answer is: yes, you should.
Please read here, and here.
"Depending on who you ask, HTML5 is already ready, or it won't be ready until 2022" this was quoted from Google developer advocate Mark Pilgrim at the WWW2010 conference..
you can have a look at this post also this post and read some info about HTML5 whether ready or not

How can you find out if a specific HTML 5 feature is implemented in a specific browser version?

I imagine there must be out there a website that collects information about HTML 5 feature and what browsers version started to support them.
This might be a good way to decide based on your website profile, if you can apply that HTML 5 feature without a fallback for your visitors.
Do you know such a site/resource ?
For example I want to know what browsers support the multiple upload feature for inputs and what browser version was the first.
Update
I'm not pleased with the sites suggested so I'm opening a bounty.
Suggestions so far: Html5Test, Caniuse, modernizr.com, QuirksMode
Update 2
Some people don't understand the question. I need to implement the multiple upload feature. I know from analytics what browser are they using ( I know this is not 100% correct ).
I'm willing to sacrifice some of the visitors by not offering some advance features but I need to understand how big is this procent. I'm NOT trying to DETECT in anyway the browser. It's a similar approach with other sites that dropped IE 6 support.
So please don't talk about bad practice.
Try to look at Html5Test or caniuse.
If it's server side, you can analyze user agent to find out if client's version supports HTML5. Wikipedia is your friend.
If it's client side, there's Modernizr library.
A quick search gave me this interesting result (reproduced in several blogs): http://www.findmebyip.com/litmus/
And you can may also want to take a look at this list of how to detect each feature: http://diveintohtml5.ep.io/everything.html
Here is another website, quite incomplete but verbose and "work in progress" as of March 2011, so it might be worth keeping an eye on: http://html5accessibility.com/
This one is off topic, but since I found it, I add it. CSS compatibility in IE browsers (very extensive): http://msdn.microsoft.com/en-us/library/cc351024(VS.85).aspx
And here you can find info specific to the gecko engine: https://developer.mozilla.org/en/HTML/HTML5
And, of course, MDC has compatibility tables for each feature, but separated in different pages, not as a table, e.g.: https://developer.mozilla.org/en/HTML/Element/input
http://www.modernizr.com/
HTML5Test.com collects the information but they don't give detailed reports for perusal.
A good reference site for some stuff is http://www.browserscope.org/ but that doesn't go into a lot of detail with HTML5 specific support
Another source of related stuff is http://w3c-test.org/html/tests/reporting/report.htm which is creating a set of HTML testing tools that can be run.
You or someone who wanted to create this information could use these tests and then store the UA String of each browser that hit the site with the results of each test.
Then you could just find the earliest version of each browser type that a feature successfully run on.
I think this information is stored in the databases of the sites mentioned but they just don't display it which sort of sucks. Maybe try emailing them and suggesting they add these reports.
Take a look at caniuse.com, it’s exactly what you are searching for.
QuirksMode is also a great resource, and there is an entry for multiple files input.
My vote is for:
http://www.findmebyip.com/litmus
Which i found via this blog:
http://www.deepbluesky.com/blog/-/browser-support-for-css3-and-html5_72/
You should try this website. I hope this is what you were looking for.

has anyone tried designing a webpage for psp?

I'm trying to make a personal bible for my psp
(I tried googling but the only bible version I've seen on my skimming is on KJV and I'm trying to make mine have 3 versions namely TNIV, NLT and Amplified Bible)
So my only solution was to make on for myself and my approach was to save an html file on my mem-stick and open it up through the console's browser
My concerns are:
How does the psp browser handle css and javascript?
Is there a doctype declaration specifically designed for the psp browser?
Can I use any local database to store my texts for easier query or do I have no choice but rely on static text files?
Is there anyone in SO who have experienced developing a page for this console and can he/she give me some tips and advice?
Thanks much in advance for your responses. :)
Well the best way would be to make an HTML document file to create an off-line web page.
The PSP has good (but not great) CSS support and weak Javascript support (compared to a desktop browser).
The best Doctype to stick to would be XHTML Strict 1.0.
Not unless you find another way to do it.
Not for the PSP, but I would recommend this: Just keep your markup and CSS as simple as possible. Don't set font-sizes or widths, let the PSP browser do that for you. If you need to generate a bunch of static files, it might be worth building a short script that will do it for you. Don't overcomplicate.
Hope that helps.
Regarding my concern #1, I found only this as reference for all script objects that the psp browser supports as of their latest release.. I'm not sure if SCE would add more support for other objects in the future though
Anyhow here's the link
To answer your issue (not your question), have you thought about using http://www.biblegateway.com/ which can show verses in different Bible translations - instead of writing your code to try to do the same thing?
Granted, this only works if you are connected to the Internet.