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 8314269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:45:34+00:00 2026-06-08T20:45:34+00:00

I do not do CSS, just now that is why I am having difficulty

  • 0

I do not do CSS, just now that is why I am having difficulty tweaking this.. I am having prob with my pop up that uses Iframe. In css there’s style like this:

iframe {
    border:none;
    height:440px;
    margin-left:4px;
    margin-right:4px;
    **min-width:760px;**
    overflow:auto;
    width:98%;
}

it produces an html when page is viewed like this:

<div style="left: 404px; top: 75px; visibility: visible; position: absolute; overflow: visible; clip: rect(auto auto auto auto); " class="dialogPanel"><div class="">.....</div>

that’s why no matter how I set the height in the code behind, it would not resize accordingly:

 profileFrame = new Frame(url);

        profileFrame.setHeight("350px");
        profileFrame.setWidth("450px");
        panel.add(profileFrame);

        content.add(panel);

but when I removed the min-width from the CSS iframe, it already resized to my wish.

Q: how do I not use the iframe style to this certain iframe of mine? I do not want to remove the min-width as this style is being used by all iframes in the application.

I tried removing it by using profileFrame.removeStyleName("iframe"), I also tried all other removestyle methods available but did not work.
Any suggestion pls? thanks

  • 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-06-08T20:45:36+00:00Added an answer on June 8, 2026 at 8:45 pm

    You have set a class to this iFrame so try

    iframe .dialogPanel {
    min-width: 0px;
    }
    

    this will make only iframes with the class “dialogPanel” have no min-width, and will leave the rest with their min-width

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

Sidebar

Related Questions

Is there any CSS hack to target just browsers that do not support the
This should be a simple answer. I'm just not knowledgeable enough in CSS to
I am not new to CSS, I'm just not that adept with it. I
I just wonder if it is possible to only use CSS but not javascript
This CSS selector picks up elements without a class attribute: a:not([class]) This CSS selector
I am not a clean CSS coder, so this may be the crux of
I am having an issue with this jquery css: Like this it works in
Right now I'm trying to serve CSS and JS files from a server that
So this intersting problem I'm having with this web app in mobile safari that
I'm having issues relating to the CSS in this web project. The site is

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.