Jump to content

Breaking the border around the text


avangcom

Recommended Posts

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 />

f671d61c-3e99-4e07-bfbd-1cb7e320403c.thumb.jpg.b31cc3e01d7ac2188d3d81263426a419.jpg

@Exception@Desti@AHristich

Link to comment
Share on other sites

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 />
Link to comment
Share on other sites

  • 5 weeks later...
  • 5 weeks later...
В 11.12.2023 в 14:30, avangcom сказал:

Can you send how to use @media???

Hello!

You need to use css media queries: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries

You especially need point "@media (max-width: 1250px)...", as it allows you to change styles for a specific screen resolution. So, for example, if the screen size is too small, then you can reduce the size of the content and everything will be displayed correctly.

Good luck!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...