Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 749937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:29:33+00:00 2026-05-14T14:29:33+00:00

When I add text to my web page using my text editor it display

  • 0

When I add text to my web page using my text editor it display styles correctly inside the text editor which basically is a iframe. After this data is saved it’s displayed on another page where the issue occurs. I wanted the description section on my web page to use its own style without getting overwritten by the page styles.

Do i need to use a iframe to display this data? Is there a way I can prevent a block from using the page style.

Please advise.

Appreciate all your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:29:33+00:00Added an answer on May 14, 2026 at 2:29 pm

    CSS works by applying the rules that apply to elements in order from the ones that most generally target the element to the ones that most specifically target the element. So you could add rules referencing the container for the description part and resetting the styles that are being applied that you don’t like. For instance, with these rules:

    p
    {
        color: red;
    }
    #description p
    {
        color: blue;
    }
    

    …all paragraphs on the page will have red text except paragraphs inside the element with the id “description,” which will have blue text (provided the text isn’t styled by other elements with other rules). This is because the first rule is quite general, the second rule is more specific and so overrides the first rule.

    It doesn’t have to be a container with an ID, just anything that makes the rule more specifically aimed at the description content. For instance, if the description container doesn’t have an ID but does have a class, you just change the second rule accordingly:

    .description p
    {
        color: blue;
    }
    

    Any paragraph in any element with the class “description” will now have blue text.

    Unfortunately, I don’t believe there’s a style for “just ignore everything except this rule” and so you have to override the styles you don’t want individually. For the whole-hog approach, you’d need an iframe as you suggested.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 384k
  • Answers 384k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Secondly, is there a best practice on managing the context?… May 14, 2026 at 11:19 pm
  • Editorial Team
    Editorial Team added an answer Unfortunately, there are no hard and fast rules to using… May 14, 2026 at 11:19 pm
  • Editorial Team
    Editorial Team added an answer It is possible by setting $config['enable_query_strings'] = TRUE; in your… May 14, 2026 at 11:19 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.