Comments on: display https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Fri, 15 Oct 2021 18:50:23 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Linux User https://css-tricks.com/almanac/properties/d/display/#comment-1761648 Mon, 17 Aug 2020 19:18:20 +0000 http://css-tricks.com/?page_id=14045#comment-1761648 A word of advice check with caniuse.com to see how well it is supported before even starting! Another thought how old of browsers for desktop/mobile are you going to support?

For Grids I like blocks, inline-blocks, tables, table-cells; just keep it simple folks — Don’t make it complex. I also prefer div/span elements to article/section order confusion and the SEO Snake-Oil Gimmicks that don’t improve your rankings one bit!!! I was suckered into it… Now — I know better!

It’s just simpler to div-in and start spanning around 8} All puns intended

As always my the % be w/ u always.
Hey fellow graphic designers… did u know “Points & Picas” are still supported? Think of all the phun we can have w/ web developers ;}

]]>
By: Ari Leo Frankel https://css-tricks.com/almanac/properties/d/display/#comment-1757965 Mon, 22 Jun 2020 13:20:21 +0000 http://css-tricks.com/?page_id=14045#comment-1757965 Thanks for this lovely resource! I used it as a quick reference before a coding interview

]]>
By: Ravi Solanki https://css-tricks.com/almanac/properties/d/display/#comment-1693400 Thu, 18 Apr 2019 05:04:53 +0000 http://css-tricks.com/?page_id=14045#comment-1693400 In reply to Lena.

i have thought in my mind that people who work(doing job) don’t need any reference(they know all the things very well) but i think i am wrong. plz tell me about how do you use this reference at work and solve problems.
it will be helpful for beginners like me.
thank you…

]]>
By: David Mead https://css-tricks.com/almanac/properties/d/display/#comment-1618665 Wed, 04 Apr 2018 01:30:44 +0000 http://css-tricks.com/?page_id=14045#comment-1618665 In reply to Mitra mirshafiee.

You have a space between ‘280’ and ‘px’. Get rid of that and all your paragraphs will only by 280px wide :-)

]]>
By: Mitra mirshafiee https://css-tricks.com/almanac/properties/d/display/#comment-1610700 Thu, 27 Jul 2017 05:13:48 +0000 http://css-tricks.com/?page_id=14045#comment-1610700 Hi! I have a little question in display values.
Why doesn’t my paragraph get the total space and width of a page when i write it like this in CSS?

p
{Display:block;
Width:280 px;
}

Although when i write a div like this it will get the whole width of the page.
Please hepl me if u can!tnx in advance

]]>
By: Tony Brix https://css-tricks.com/almanac/properties/d/display/#comment-1608603 Mon, 15 May 2017 20:45:04 +0000 http://css-tricks.com/?page_id=14045#comment-1608603 You don’t mention being able to use two keywords as in display: inline flex; instead of display: inline-flex;

https://drafts.csswg.org/css-display/#legacy-display

]]>
By: Gowtham https://css-tricks.com/almanac/properties/d/display/#comment-1601838 Sat, 28 May 2016 19:11:22 +0000 http://css-tricks.com/?page_id=14045#comment-1601838 Great article!,CSS-tricks is the first site I look for help and It does not disappoint.

]]>
By: Amin Yusuf https://css-tricks.com/almanac/properties/d/display/#comment-1601797 Fri, 27 May 2016 07:00:37 +0000 http://css-tricks.com/?page_id=14045#comment-1601797 Thanksfull CSS-TRICK

]]>
By: ParmesanPangolin https://css-tricks.com/almanac/properties/d/display/#comment-1600075 Mon, 07 Mar 2016 09:57:33 +0000 http://css-tricks.com/?page_id=14045#comment-1600075 In reply to Nitin Gautam.

You have to set specifically set the word-wrap property for the table (doesn’t matter where as long as it’s above the element you want to wrap)

]]>
By: mehdi https://css-tricks.com/almanac/properties/d/display/#comment-1598027 Mon, 16 Nov 2015 11:30:15 +0000 http://css-tricks.com/?page_id=14045#comment-1598027 that was excellent, thank you very much

]]>
By: block https://css-tricks.com/almanac/properties/d/display/#comment-1597830 Thu, 05 Nov 2015 04:22:20 +0000 http://css-tricks.com/?page_id=14045#comment-1597830 it is very help bull

]]>
By: parveen https://css-tricks.com/almanac/properties/d/display/#comment-1597371 Wed, 07 Oct 2015 11:07:08 +0000 http://css-tricks.com/?page_id=14045#comment-1597371 funny

]]>
By: parveen https://css-tricks.com/almanac/properties/d/display/#comment-1597370 Wed, 07 Oct 2015 11:06:20 +0000 http://css-tricks.com/?page_id=14045#comment-1597370 good after noon

]]>
By: Fadu https://css-tricks.com/almanac/properties/d/display/#comment-1596539 Sun, 23 Aug 2015 16:45:39 +0000 http://css-tricks.com/?page_id=14045#comment-1596539 Hi there! lets go deeper… when trying to mix the Display property whith for example, Position or Float. are there some tricks to have in mind? Thank you guys!

]]>
By: daGo https://css-tricks.com/almanac/properties/d/display/#comment-1594814 Thu, 21 May 2015 17:56:50 +0000 http://css-tricks.com/?page_id=14045#comment-1594814 Hi Geeks! Anybody know where I can found clear explanation about exact behavior (I know that isn’t margin collapse but very similar and I know how it works, but only by practice) inline-blocks elements in my simple example? http://codepen.io/dagolinuxoid/pen/yNazKM

]]>