Black Friday Sale! Save up to 50% off!

Inserting HTML Code Messes Up Website Layout

iamkindaartsy
2 Posts
iamkindaartsy posted this 08 October 2024
Ask a Question

I wanted to insert HTML code in my page and some CSS code. The HTML code has a div. When it displays, it messes up the layout like the attached image. If it doesn't have a div it looks fine. I uploaded one that was just a button and it displayed ok. I can't do my project at all because of this issue. :(

I wanted to insert HTML code in my page and some CSS code. The HTML code has a div. When it displays, it messes up the layout like the attached image. If it doesn't have a div it looks fine. I uploaded one that was just a button and it displayed ok. I can't do my project at all because of this issue. :(
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 08 October 2024

Hello Dania,

Thanks for contacting us!

Nicepage sometimes handles its own div structure and styling, which can clash with manually inserted HTML.

Make sure that your custom CSS isn’t conflicting with Nicepage’s default styles.
You can inspect the page using the browser's developer tools to see if any CSS rules are being overridden.

Try adding specific classes or IDs to your div and then target those in your CSS.

If that doesn't help, please provide us with the HTML and CSS code you're trying to embed, and we'll check it out on our end.

The topic was moved to private.

...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Dania, Thanks for contacting us! Nicepage sometimes handles its own div structure and styling, which can clash with manually inserted HTML. Make sure that your custom CSS isn’t conflicting with Nicepage’s default styles. You can inspect the page using the browser's developer tools to see if any CSS rules are being overridden. Try adding specific classes or IDs to your div and then target those in your CSS. If that doesn't help, please provide us with the HTML and CSS code you're trying to embed, and we'll check it out on our end. The topic was moved to private. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments