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

  • Home
  • SEARCH
  • 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 9071749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:59:28+00:00 2026-06-16T17:59:28+00:00

i have question… iam writing simple html page with little bit of css. EVERYTHING

  • 0

i have question… iam writing simple html page with little bit of css. EVERYTHING looks fine in IE, but if I launch it with chrome – menu and My ContentPanel (iframe) are not abreast.

What shall i do? i can use only HTML and CSS, something

small snippet of my css code:
1. button menu- 2O%

ul#buttonmenu{
list-style-type: none;
margin: 0;
padding: 0;
width: 20%;
float: left;
}

iframe – as my second element on html page has width 80%.

iframe{
height:100%;
width:80%;
float: right;}

in IE it looks fine but in chrome not …. is there any gerenal rule how to fix it?

part of my html looks like:

 <div id="container" style="width:100%">

  <div id="header" style="background-color:#CDB4C8;",widht=100%>
<h1 style="margin-bottom:0;">Name</h1></div>



  <ul id="buttonmenu">
  <li class="current"><a href="first.html" target = "content">first page</a></li>
  <li><a href="second.html" target="content">Second page</a></li>
  <li><a href="third.html"  target="content">Third page</a></li>
  <li><a href="fourth.html" target="content">Fourth page</a></li>
  <li><a href="contact.html" target="content">Contact</a></li>
  </ul>


 <iFrame id="content" name="content" style="background-color:#EEEEEE;float:left;">
  </div> 

Fiddle of this code

  • 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-16T17:59:30+00:00Added an answer on June 16, 2026 at 5:59 pm

    If you shrink your width of your iframe width to 79% it’s abreast.

    iframe{
        height:100%;
        width:79%;
        float: right;
    }
    

    Alternatively you can just remove the border of the iframe and keep with width of 80%:

    iframe {
        height:100%;
        width:80%;
        border: 0;
        float: right;
    }
    

    Example jsfiddle with width: 79% or Example jsfiddle with border: 0

    Also on a side note I think you messed up on your code here:

    <div id="header" style="background-color:#CDB4C8;",widht=100%>
    

    I think you wanted to put:

    <div id="header" style="background-color:#CDB4C8; width: 100%;">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have question that seems very simple, but I just can't get it right.
I have question that seems simple to you all but can't really get it.
I have question about parsing in Html helper : I have sth like: @foreach
I have question about XSLT1.0. The task is to write out in HTML all
I have question with this same title here but now as I'll present in
I have question here, i design multiview application using view base template. Page 1
I have question, maybe it's not critical in programming, but to me it's very
I have question to ask. I have a dll file written for reading&writing data
I have question connected with interfaces and abstract classes. I'll give to you simple
I have question. I have some app on facebook and getting this error Fatal

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.