Log message #4101784

# At Username Text
# Dec 7th 2017, 11:44 cakephp404 but now when I browse I cant acces to all my css js ecc
# Dec 7th 2017, 11:44 cakephp404 clear tmp ecc..
# Dec 7th 2017, 11:44 cakephp404 give permissions ecc..
# Dec 7th 2017, 11:44 cakephp404 Ive copyed a cakephp project in another folder
# Dec 7th 2017, 11:43 cakephp404 sorry probably a real stupid question... :/
# Dec 7th 2017, 11:37 dereuromark ;) All righty
# Dec 7th 2017, 11:08 neon1024 Just the first link I found
# Dec 7th 2017, 11:08 hmic html5 is more relaxed and sane about things like that, so who does xhtml still? :O
# Dec 7th 2017, 11:07 neon1024 `.hmic{ display: none }`
# Dec 7th 2017, 11:07 hmic no, the xhtml spec is bad. as a div is a block element however you style it
# Dec 7th 2017, 11:07 neon1024 The point is not about finding a loophole
# Dec 7th 2017, 11:07 hmic neon1024: what about display: table-*?
# Dec 7th 2017, 11:07 neon1024 There is a way around everything
# Dec 7th 2017, 11:06 hmic and whats in xthml if i style my div as inline :P
# Dec 7th 2017, 11:06 neon1024 Things which are not inline
# Dec 7th 2017, 11:06 hmic besides, what elements are block level in html5 at all? :D
# Dec 7th 2017, 11:05 hmic makes sense, as it's an arbitrary limitation and html5 is way more relaxed than the strict xhtml...
# Dec 7th 2017, 11:05 neon1024 Well it seems that putting block level elements into an a tag is invalid in XHTML, but is valid in HTML5
# Dec 7th 2017, 11:04 neon1024 http://html5doctor.com/block-level-links-in-html-5/
# Dec 7th 2017, 11:03 saeideng good by
# Dec 7th 2017, 11:03 saeideng lunch time :slightly_smiling_face:
# Dec 7th 2017, 11:02 saeideng what this say?
# Dec 7th 2017, 11:01 neon1024 https://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_a.content
# Dec 7th 2017, 11:00 saeideng I'll try to use span here at this time
# Dec 7th 2017, 11:00 dereuromark doesnt make it any better
# Dec 7th 2017, 11:00 saeideng I use this just for admin area :)
# Dec 7th 2017, 10:59 dereuromark also will invalidate in any html spec checker
# Dec 7th 2017, 10:59 dereuromark it might work, but it is not valid according to specs and might not work in all browsers for that reason, or break at any point in time. do it as you should and you have less to wry
# Dec 7th 2017, 10:58 dereuromark its not about what you can do, but what you should do
# Dec 7th 2017, 10:58 saeideng both have btn class
# Dec 7th 2017, 10:58 dereuromark seideng: you are missing my pont
# Dec 7th 2017, 10:58 saeideng right is button , left is <a .. > <div .. > </a>
# Dec 7th 2017, 10:57 dereuromark even "a" can, as I just explained :slightly_smiling_face:
# Dec 7th 2017, 10:57 saeideng File uploaded https://cakesf.slack.com/files/U51A5M2DS/F8AD7H4G0/btn-bootstrap.png / https://slack-files.com/T053DPNCM-F8AD7H4G0-2c324ec373
# Dec 7th 2017, 10:56 joopm works like a charm
# Dec 7th 2017, 10:56 joopm thank youuu ['class' => 'button success']
# Dec 7th 2017, 10:55 saeideng I'm not sure span can receive btn class or no
# Dec 7th 2017, 10:54 dereuromark thats why people use span here then
# Dec 7th 2017, 10:54 dereuromark but it is still invalid to have block elements inside inline ones according to specs afaik
# Dec 7th 2017, 10:54 saeideng this works for me
# Dec 7th 2017, 10:53 dereuromark I would rather go with the recommended style approach I mentioned above.