avangcom Posted November 11 Share Posted November 11 Hello I have this html code, it breaks like this in mobile mode <code style="border: 1px solid #ccc;padding: 15px;border-radius: 3px;">{setting="walet addres"}</code><br /> @Exception@Desti@AHristich Quote Link to comment Share on other sites More sharing options...
Desti Posted November 11 Share Posted November 11 Don't use <code> element avangcom 1 Quote Link to comment Share on other sites More sharing options...
avangcom Posted November 11 Author Share Posted November 11 1 minute ago, Desti said: Don't use <code> element What should I use???? Quote Link to comment Share on other sites More sharing options...
Desti Posted November 11 Share Posted November 11 <div> avangcom 1 Quote Link to comment Share on other sites More sharing options...
avangcom Posted November 11 Author Share Posted November 11 11 minutes ago, Desti said: <div> The box is created, but the text comes out of the box I want the text to stay inside the frame Quote Link to comment Share on other sites More sharing options...
Desti Posted November 11 Share Posted November 11 But it doesn't fit in there! Maybe try making the font size smaller? avangcom 1 Quote Link to comment Share on other sites More sharing options...
avangcom Posted November 11 Author Share Posted November 11 2 minutes ago, Desti said: But it doesn't fit in there! Maybe try making the font size smaller? Can it be set automatically only for mobile??? Quote Link to comment Share on other sites More sharing options...
Desti Posted November 11 Share Posted November 11 @media css options avangcom 1 Quote Link to comment Share on other sites More sharing options...
avangcom Posted November 11 Author Share Posted November 11 2 minutes ago, Desti said: @media css options I added this class to the code, the text didn't come out of the box Is it right to use this class???? class="ipsType_richText" <div class="ipsType_richText" style="border: 1px solid #ccc;padding: 15px;border-radius: 3px;">{setting="walet addres"}</div><br /> Quote Link to comment Share on other sites More sharing options...
Desti Posted November 11 Share Posted November 11 You can use anything you want, as long as you're happy with the result. avangcom 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.