473,783 Members | 2,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem resizing screen in IE7

1 New Member
Could someone help me and telling me how to get my 3 column web page to resize correctly in IE7. When trying to reside my my web page I can only get it to resize to a point before the 2 and 3 columns wrap below the 1 column. I am using a mixer of fliud and liquid layout.

Following is my css code that I am using in laying my page out and the HTML program only consist of div statement.

Expand|Select|Wrap|Line Numbers
  1.  
  2. html, body 
  3. {
  4.   padding: 0;
  5.   margin: 0;
  6.   height: 100%;
  7.   font-size: xx-small;
  8.   font-family: arial, helvetica, sans-serif;
  9.  
  10. body 
  11.   margin: 0;
  12.   padding: 0;
  13.   margin: 175px auto;
  14.   background-color: #3399fe;
  15. }
  16.  
  17. /*
  18.   The normal size is 1 em or 100% We set the text that is twice the size by specifying 
  19.   2em or 200%. In this way the size will be relevant to the screen size and font 
  20.   size that is used and therefore should be consistent among compliant browsers.
  21.  
  22. */
  23.  
  24. .emsize 
  25. {
  26.  font-size: 2em;
  27.  color: #0000FF;
  28. }
  29.  
  30.  
  31.  
  32. .menu
  33. {
  34.     list-style-type: none;
  35.     font-size: 1.5em;
  36.     margin: 5px;
  37.     padding: 5px;
  38. }
  39.  
  40. #facelogo 
  41. {
  42.  position: absolute;
  43.  top: 3%;
  44.  left: 40px;
  45.  background-image: url(../images/new-face-logo.png);
  46.  background-position: left;
  47.  background-repeat: no-repeat;
  48.  height: 150px;
  49.  width: 175px;
  50.  
  51. #scroller 
  52. {
  53.  position: absolute; 
  54.  width: 100%; 
  55.  height: 100%; 
  56.  top: 0; 
  57.  left: 0; 
  58.  overflow: auto;
  59. }
  60.  
  61.  
  62. #content 
  63. {
  64.  padding-top: 5px;
  65.  padding-right: 20px;
  66.  padding-bottom: 10px;
  67.  padding-left: 20px;
  68. }
  69.  
  70. /* 
  71.    The following section is setting up parameters use for setting up a 3 column 
  72.    Web page using pecentage. An attribute "display: inline" was added to the first 
  73.    column to eliminate a bug that occurs in IE 5, 5.5, and 6. These browsers have 
  74.    some quirks when it comes to margins and floats, and sometimes will cause the
  75.    column to slip down past the others. This fix should do the trick.
  76. */
  77.  
  78. #column1 
  79.   float: left;
  80.   margin-left: 2%;
  81.   width: 126px;
  82.   height: 480px;
  83.   background-color: #d0f3ef;
  84.   text-align: center;
  85. }
  86.  
  87. #column2 
  88.   position: relative; 
  89.   float: left; 
  90.   width: 61%; 
  91.   margin-left: 2%;  
  92.   height: 480px;
  93.   background-image: url(../images/lb-logo-chara-large480x435.png);
  94.   background-position: 45px 75%;
  95.   background-repeat: no-repeat;
  96.   background-color: #FEF2D8;
  97.   display: inline;              /* Fixs double float which occurs in Internet 
  98.                                    Explorer 5, 5.5 and 6. */
  99.  
  100. #column3 
  101.  
  102.   position: absolute;
  103.   float: left; 
  104.   width: 14em; 
  105.   margin-left: 2%;
  106.   height: 480px;
  107.   background-color: #d0f3ef;
  108.   text-align: center;
  109. }
  110.  
  111.  
  112. #bottom-left 
  113.       background-image: url('../Image/corners/Stdcorners/bottom-left.gif'); /* CHANGE: path and name of your image */
  114.       height: 9px;               /* CHANGE: height of your image */
  115.       background-repeat: no-repeat;
  116.       font-size: 2px;          /* DNC: correction IE for height of the <div>'s */
  117.     margin-right: 9px;
  118. }
  119.  
  120.  
  121.  
  122. /* 
  123.    In the footer is an attribute "clear: both". This is used so the Liquid Layout 
  124.    will stay above the footer, and the footer will be below the 
  125.    layout design. 
  126. */
  127.  
  128. .clearfooter
  129.  
  130. {
  131.   height: 0;
  132.   clear: both;
  133. }
  134.  
  135. #footer 
  136.   position: relative;
  137.   clear: both;
  138.   height: 45px;
  139.   margin-top: 20px;
  140.   font-size: 12px;
  141.   text-align: center;
  142. }
  143.  
  144.  
  145. h1
  146. {
  147.   font-size: 2em; 
  148.   font-family: Arial
  149. }
  150.  
  151. p
  152. {
  153.   font-size: 1.5em; 
  154.   font-family: Arial
  155. }
  156.  
Secondly, is there a way which I can also get the background image to resize with the windows too. I really would appreciate any help or direction to were I can find information on how I can do this.
Oct 13 '07 #1
0 3088

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

Similar topics

10
2332
by: riki | last post by:
Hi, i have a big problem...i'm using one jscript for resizing of all of my pics in popUp...in main html i'm having many little pics and clicking on them they open in popUp and resize to larger version of the same pic. now, it works fine and sometimes when i click on little one it doesn't resize well... this is the code: main.html
8
11098
by: Freek te Water | last post by:
Hi, Hope no-one is offended by my probably noob question... Context: I have a web page design, which always centres in the middle of the screen (using a 100%*100% HTML-table). Now I also use layers, that get visible when something is clicked. All works fine. Problem:
0
2626
by: TJ Talluto | last post by:
<facts> I have a "month calendar" that always displays exactly 42 days... and alongside is a vertical box that displays the detail (form fields) of any particular select event that appears on the calendar, so that the event may be changed, or a new event may be created. monthname X X X X X X X form X X X X X X X form X X X X X X X form
23
6415
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div align="center">
4
6145
by: Thomas Richter | last post by:
Hi, I can't get of the black flicker when I resize my form. this = Mainform : System.Windows.Forms.Form If I set the size from 300 to 500 I see for ca 500ms some black areas. I try to solve it with: this.SetStyle(ControlStyles.DoubleBuffer, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); But it doesn't work.
5
6208
by: Maxi | last post by:
I have a 30X16 cells table in my html page. Table height and width are set to 100%. I have set size of every cell inside the table to 24 pixel. When I open the html page in maximize state in either resolution 800 X 600 or 1152 X 864 it takes up the entire explorer size. In screen resolution 800 X 600, if I insert a pictures of 24 X 24 pixel in the cells it takes up the entire cell size (ideally it should as the cell size is also 24 X...
14
48992
by: Seige | last post by:
Ever had headache when you can't resize the background width using CSS: body{ background: url(/images/bg.jpg) ; background-width: 800px; } It won't work, would it? Of course not, it's not even defined in CSS. So, let's try to work it out using Javascript: There are two methods, first method you prepare plenty of different
1
4157
by: Captain Nemo | last post by:
Hi I've written some javascript code for a pop-up window which presents a series of images. These images are of various dimensions, so that when each picture is loaded, the window is resized accordingly. All this works absolutely fine on my system (IE6 running on Win98) but I'm told there are problems on XP. Basically, what happens is that once the window height has been reduced, it then fails to increase for the next image.
3
1394
by: reachmano | last post by:
Hello everyone: When I view my web-page on different computers, I am having trouble with re-sizing the screen on some of them. Was wondering what should be done differently to take care of the resizing problem with the screen? My banner images are not getting resized to the page. Here is the sample of my code:
0
847
by: =?Utf-8?B?QHdpbg==?= | last post by:
Hi there, I've written an MDI app that resizes its pages to the current screen size (minimum 1024x768). This resizing works fine on any western language. But now I have a problem with a machine that uses Traditional Chinese Big5 (Taiwan) settings. The screen size appears to be smaller causing some of the objects on the screen not to be displayed. (on the bottom). According to the user the screen settings are 1024x768. OS W2K and XP.
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10081
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.