- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
We have some dynamic buttons whose text is not wrapping up even after adding word-wrap attribute to the <button> tag.
It is working properly in IE10, Chrome and Firefox.
Here is the code:
http://codepen.io/anon/pen/bNKQzx
I’m badly stuck here and any help is much appreciated!
Thanks in Advance!
Not seeing any differences in various versions of IE and Chrome: http://codepen.io/senff/full/gbKQqv
Hi Senff,, Thanks for helping!!
I am wondering why it is not happening!
But if you take the same code and save it in html file and try to open it in IE8, you can see the difference..
Check your font-size too. Unfortunately font-size:20; isn’t valid. It should have a unit specified, such as %, (r)em or px.
But if you take the same code and save it in html file
If that’s all you did, then you may encounter problems because that’s not fully valid HTML (including doctype, head, body, etc.)
@Beverleyh and @Senff:
Those html pages are generated dynamically in the application.. looks like the <!DOCTYPE html> declaration is not getting rendered for lower version of IE browsers..
Thanks a lot for the hints..