Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Can any one suggest me a good tutorial or book for learning HTML Components (htc) ?
HTC files are driven by the behavior CSS style. This is non-standard and only works in IE, so you won't be able to support users of other browsers using this method.
Because of this, virtually all the HTC behavior files I've seen have been implemented as hacks to make IE support some or other feature which other browsers already have.
For example:
CSS3Pie
WhateverHover
When it comes to developing HTC files, there's not actually that much to it - they're basically standard Javascript, with a small XML wrapper. If you can write Javascript in the browser, then you'll be able to write an HTC behavior file. The downside is that you won't be able to use any external Javascript, so no JQuery or other libraries.
The question is why? As I say, the only use-case that makes sense if you want to write an IE hack. Virtually everything else that you could want to use HTC for would be better implemented as straightforward Javascript, for any number of reasons.
Well here are some resources on them:
http://www.w3.org/TR/NOTE-HTMLComponents
http://msdn.microsoft.com/en-us/library/ms532146(v=vs.85).aspx
I'm not 100% sure what you meant by "learning HTML Components", I assume those are what you are after.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I recently found the Ultimate CSS Gradient Generator site for easily generating CSS gradients across all browser platforms. It's perfect for what I was looking for. However, I've also encountered other aspects of CSS that require multiple declarations to be cross-browser compatible (i.e. anything like -webkit-*). It's a pain in the butt to develop using multiple browser types. I prefer to develop in Firefox with Firebug for initial testing, and then obviously do cross-browser testing as QA.
My question is, does anyone know of sites that will let me plugin my existing CSS (which may be Firefox or Safari or whatever-specific) and have it 'normalize' it with the appropriate browser-specific declarations for other browsers? Say, for example, I have something like this in my CSS:
-moz-border-radius: 2px;
I'd like to be able to plugin a CSS file that has those declarations all over the place, and have the site also add things like...
-webkit-border-radius: 2px;
(and whatever the equivalent is on other browsers)
Anyone know of a tool or site that will accomplish this? It obviously doesn't eliminate the need to do extensive cross-browser testing before shipping, but I would imagine it would reduce development time significantly.
Prefixr is what you're looking for
You can try this super-useful javascript plugin by Lea Verou: Prefix Free
-prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any
CSS code, only when it’s needed.
It probably needs an update, because sometimes radial gradients won't display without vendor prefixes. But for most common properties, like border-radius, box-sizing, box-shadow etc. is great.
Are you looking for http://prefixmycss.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
jQuery is cross browser, so it abstract JavaScript.
Is there any library for CSS that cross browser, so if I write for Mozilla Firefox, it will show nicely on any other browser, even older version of ie5, 6 ?
Maybe these two will help:
CSS Reset
Blueprint (demos)
EDIT: Your question is duplicate of: Cross-browser CSS
Check out Frame, a pretty damn good cross-browser CSS framework:
http://frame.serverboy.net/
I have used the 960 Grid system for my last few projects. I highly recommend.
I don't think it's technically feasible to create a (javascript) library that can analyze an entire CSS file and modifies it on the fly to make it work in other browsers, because it would have to:
simulate Firefox' rendering to know what the page should look like,
know about all the rendering quirks of other browsers,
know which change to apply to which style rule to fix the design, which implies it should also have to simulate the rendering of other browsers to validate the fix.
jQuery 'only' has to deal with small aspects of a page's rendering. But making an entire design cross-browser compatible is in a league of its own.
Using CSS resets and frameworks, as the other answers suggested, will help a lot in realizing a cross-browser design. But there's no magic library that will fix your entire design in all browsers. And if there is, I'd love to know about it!
I usually use 960, but a lot of times, like with Wordpress it's too time consuming to implement. A lot of times I'll use a javascript browser hack:
http://rafael.adm.br/css_browser_selector/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've found wkhtmltopdf, which looks good on the surface and works fine in very small cases, but it doesn't provide any real css control over the rendering.
By that I mean it doesn't use the print media type and page breaks are not respected, as well, on windows you can't control the names of some header/footer variables, or generate a TOC off of teh h1 tags.
Are there any real open source alternatives, I've tried xhtml2pdf which is a python library actually called pisa, but it requires reportlab which doesn't play nice windows.
I'm actually programming in .net but if its good and open source, the language isn't a huge issue.
This is an old stackoverflow question, but because google took me here, it could be helpful for somebody else.
Weasyprint should support what the author was looking for.
It supports print css features like page break.
Try weasyprint
It turns out there was no open source alternative that was simpler, but on windows wkhtmltopdf is just not the best thing, so we paid for a better solution.
Winnovative's PDF library is what we used
While it is not open-source, I use ABCPDF. I have a template page in .NET that I use for a wrapper to set up a custom stylesheet for generating PDFs only.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a library or a collection of libraries that work together with the following requirements:
HAML and SASS can be used.
Have a small server capability to see HAML/SASS compiled every time I refresh my browser. (I don't want to start a fresh Rails app, though.)
Works with popular CSS frameworks. (Doesn't have to be all, but major ones like 960gs and Blueprint)
Compass seems to be promissing, but it doesn't seem to support HAML. At least I'm looking for information that make Compass and HAML together.
Edit chriseppstein gave the list of cool stuff. I'll make a link to each one.
http://staticmatic.rubyforge.org/
http://github.com/tdreyno/middleman
http://nanoc.stoneship.org/
http://webby.rubyforge.org/user-manual/
http://github.com/jlong/serve
There are several of these:
staticmatic
middleman
nanoc
webby
All of these support haml and sass and can be easily configured to work with compass too.
Additionally, there is "serve", which is just a simple webserver.
I use Prepros, and I'm satisfied with it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know about html, css validation and some rules in pagespeed about css performance.
Is there any all in one tool for checking?
May be it can check some best practice for html markup.
For HTML, consider using HTML Tidy
Use this Html Validator 0.8.5.8 with firefox .
https://addons.mozilla.org/en-US/firefox/addon/249
It will show error and will give best suggestion
And this CodeBurner for Firefox 1.0
https://addons.mozilla.org/en-US/firefox/addon/13048
And if you need software, then use this http://www.freehtmlvalidator.com/
And if you need online tool, then go for this http://www.onlinewebcheck.com/
Consider YSlow firefox extension from yahoo.
Web Page Analyzer
Google SpeedTracer
Safari/Webkit Web Inspector
Have a look at The W3C QA Toolbox (for Markup, Links, CSS validation) and the popular YSlow Firefox extension, PageSpeed (another Firefox extension) and SpeedTracer (sort of like YSlow!, but for Google Chrome) which are more performance oriented.