473,395 Members | 1,688 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IE size/width problem

144 100+
hello,

i'm trying to design a web. in the header, i create an outer-div which consist of three inner-divs.

the html looks like this

Expand|Select|Wrap|Line Numbers
  1.         <div align="center" id="banner-header">
  2.             <div id="left-column"></div>
  3.             <div id="center-column">
  4.                     <img src="images/iklan_1.png" alt="ads-down" width="748" height="107"   />
  5.             </div>                
  6.               <div id="right-column"></div>
  7.  
  8.         </div><!-- banner-header -->
  9.  
and this is the css

Expand|Select|Wrap|Line Numbers
  1. #banner-header{
  2.     width:100%;
  3.     height:139px;
  4. }
  5.  
  6. #banner-header #left-column{
  7.     width:27px;
  8.     height:139px;
  9.     background:url(../images/left.png) no-repeat;
  10.     float:left;
  11. }
  12.  
  13. #banner-header #center-column{
  14.     width:746px;
  15.     height:139px;
  16.     background:url(../images/center.png) repeat-x;
  17.     float:left;
  18.     behavior: none;
  19. }
  20.  
  21.  
  22. #banner-header #right-column{
  23.     width:27px;
  24.     height:139px;
  25.     background:url(../images/right.png) no-repeat;
  26.     float:right;
  27. }
  28.  
the css generally setting the size of each div and floats them.

it looks alright in Opera 9.60 and Firefox 3.0.14. but in IE 7, the #right-column div appears at right bellow of both of the inner div (#left and #center).

here's the screenshot (seems that you have to bring your mouse over to see it)



i've tried to resize all of the inner div size, it solves the problem in IE, but it creates a gap between the center and the right div in Opera and Firefox. Liquid size doesn't work either.

how to solve this problem?


Thank you.
Oct 25 '09 #1
1 1865
thesti
144 100+
Sorry, it's actually IE 6 not IE 7. i haven't tried it with IE 7
Oct 25 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Carl Gilbert | last post by:
Hi I am currently writing a site that utilises tables. I have one page that links to a second page. The only problem is that when I link to the second page, the table loads up with a...
27
by: skeeterbug | last post by:
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what...
9
by: M O J O | last post by:
Hi, I have my windows-display-font-size set to "Large fonts" and I've created a new project with two forms. Both of them are 600 width and 400 height. One have autoscale=true and the other is...
0
by: Piedro | last post by:
Hi group, I've got a,in my opnion, difficult problem. I've made a form on which the user can select a logo which he wants to print on a crystal reports report. The logo is saved as a BLOB field...
5
by: Pohihihi | last post by:
Why can't the following work when it has a set property defined? this.textBox1.Size.Width = 25; I get error Cannot modify the return value of 'System.Windows.Forms.Control.Size' because it is...
14
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the...
2
by: Eugene Anthony | last post by:
I am having a problem with this code. The problem I am facing is that the first image is displayed in its original size. But when I click the next button, the next image not displayed in its...
7
by: carterweb | last post by:
This is how I do it now. 1. Determine the dimensions of the rectangle. 2. Set a my font size to a fixed maximum size. 3. Apply the font my string and measure the string using the graphics...
1
by: itgirl | last post by:
I am designing the master page and now I have run into the problem with the page size. I want the flexible size-width and height of the page fit with any resolution of the screen when I maximize it...
6
by: Miro | last post by:
Is there a way to / or a mathematical formula to see if a font size is 'too big' for a label. I have a label that is docked to 'fill' a form, and I want to resize that font based on the width...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.