Comments (14)
sounds awesome to me. do you want to take a stab at the content?
from html5please.
Sure! I should have some time tonight or tomorrow to do it, if I can't squeak it in before then
from html5please.
Not quite targetting IE6 and 7 so I am okay not having it. inline-block is also pretty old-school >_> But it is a good thing to mention in html5boilerplate documentation.
from html5please.
seemed worth mentioning for consistency if there is an entry for min/max height/width. Didn't realize it was old-school
from html5please.
If inline-block is worth a mention, then we end up mentioning all the new display properties like inline-table, table-header ...
On the one hand we may can summarize them all in a way but on the other hand this can end up easily in long descriptions as there is inconsistent browser support and there are accessibility problems when using display: table for example.
from html5please.
There is an existing hack for inline-block
-like on block-level-by-default elements in IE6/7 - *display:inline; *zoom:1
.
from html5please.
+1 to necolas, that hack works great in all production work I've ever done. I've wondered though if we reset the display back to inline-block in IE6/7 if the hack still works (so then currentStyle would report more accurately).
from html5please.
selector
{
display:-moz-inline-stack;/* FF2 does not support inline-block, use proprietary XUL element. */
display:inline-block;
*zoom:1;/* Trigger hasLayout in IE7 and lower. */
*display:inline;/* IE7 and lower do not support inline-block. Star hack to target IE7 and lower. */
}
from html5please.
I don't have write access to this repo. Who is gonna add in the hack (as mentioned by @necolas )?
from html5please.
@jonathantneal could always do a pull request :) Do we need inline-block documentation?
from html5please.
we do!
from html5please.
Happy to have a PR from anyone on this (though I do think it is unnecessary).
from html5please.
What about a tiny note and an external link?
Usually on #css@Freenode we point users to this article: “inline-block” and you
from html5please.
IE6 and 7 are widely unsupported at this point. Since HTML5 Please is more about polyfilling modern HTML5 features than fixing xHTML features into older browsers, I'm closing. There are other good resources for legacy browser CSS hacks.
from html5please.
Related Issues (20)
- Polyfills for @supports
- HTTPS please HOT 2
- Mid 2019 refreshment HOT 5
- Update @font-face
- Enable building PRs via netlify to preview Changes in the browser HOT 2
- Update box-shadow
- Update border-radius
- Update background-image options
- Update iframe-seamless
- Add fit-content
- Replace favicon
- Favicon is not loading: HOT 2
- update google analytics script HOT 3
- Remove IE6 and IE7 info HOT 7
- Fix/remove broken links
- Add a canonical URL
- Remove minmaxwh ? HOT 3
- Show moreurl and caniuse link together HOT 1
- The CSS for the site isn't minified
- The JS for the site isn't minified HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html5please.