473,772 Members | 3,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Liquid PHP Layout Problem In IE

I've got a PHP page that, when loaded in IE on Windows XP, stretches
about an inch off of the page when the page is originally loaded. If
you click the "Home" button on the left, the page loads correctly. If
you click the refresh button, it goes back to being stretched too far.
It does that for every page. When you click on the button, it loads
correctly, but if you type in the URL or click the Refresh button, it
stretches a little too far.

The page is http://www.insideprospects.com/dev/index.php.

I sure appreciate your help!
Mark

Oct 22 '05 #1
5 1397
mj*******@gmail .com wrote:
I've got a PHP page that, when loaded in IE on Windows XP, stretches
about an inch off of the page when the page is originally loaded. If
you click the "Home" button on the left, the page loads correctly. If
you click the refresh button, it goes back to being stretched too far.
It does that for every page. When you click on the button, it loads
correctly, but if you type in the URL or click the Refresh button, it
stretches a little too far.

The page is http://www.insideprospects.com/dev/index.php.

It is an html problem - the table for navigation is several columns
wide. There needs to be a <tr> tag at each end of the links. You also
have an image that has the width defined as 100% - the browser has to
calculate - use px instead.

IE has several bugs that respond differently depending on how you view
them (mouse over, refresh, re-visit) that is part of the reason it is so
beloved by designers ;-)
--
TK
http://www.wejuggle2.com/
Still Having a Ball
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?


..

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Oct 22 '05 #2
Terry wrote:
mj*******@gmail .com wrote:
I've got a PHP page that, when loaded in IE on Windows XP, stretches
about an inch off of the page when the page is originally loaded. If
you click the "Home" button on the left, the page loads correctly. If
you click the refresh button, it goes back to being stretched too far.
[snip] IE has several bugs that respond differently depending on how you view
them (mouse over, refresh, re-visit) that is part of the reason it is so
beloved by designers ;-)


Nuts! I just took a better look - it is all images that are not
defined. Defing all the images in height and width (px - not %), lose
the height for <td> should cure the problem. BTW, the alt="Inside
Prospects, Inc. -- Seattle Based Lead Lists, Lead Generation and Market
Research" on all those images may be considered spam by some search engines.

--
TK
http://www.wejuggle2.com/
Still Having a Ball
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?


..

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Oct 22 '05 #3
Hi Terry,

Thanks for your help! I put the two images (one on top, one on bottom)
with a width of 100% because I want the table to fit on any size
screen. Is there any way to keep the 100% width images while fixing
this weird refresh behavior?

Thanks!
Mark

Oct 22 '05 #4
If your image (and a td) take up 100% of the screen width, then how do
you expect any browser to fith the rest of it on too?

Ian

Oct 23 '05 #5
mj*******@gmail .com wrote:
Hi Terry,

Thanks for your help! I put the two images (one on top, one on bottom)
with a width of 100% because I want the table to fit on any size
screen. Is there any way to keep the 100% width images while fixing
this weird refresh behavior?


Instead of:
<td width="60"><img alt="Inside Prospects, Inc. -- Seattle Based Lead
Lists, Lead Generation and Market Research" src="imgs/tb_r1c1.jpg" /></td>

Use: <td><img alt="" src="imgs/tb_r1c1.jpg" height="45" width="60" /></td>

Give up on a table presisly filling the screen width. If it "has" to
fit exactly, use a background color and only one <td> for 4 or 5 of the
middle images. That column can resize without problems.

There are a bunch of coding errors that make a browser guess what you
want - they do not all guess right.

--
TK
http://www.wejuggle2.com/
Still Having a Ball
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?


..

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Oct 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
14662
by: Charles Blaquière | last post by:
As part of my explorations in liquid design, I'm exploring ways to use the overflow: hidden property -- when browser windows become too narrow, I want (some) images to get cropped rather than have the layout break up. In some cases, losing parts of images can be an interesting option. http://www.hebig.org/blog/titlepic.php was the first example I found, and it's quite nifty. His image works well when progressively cropped from the right,...
8
2062
by: oj | last post by:
Please, bare with me. I'm new to CSS and would like to ask for some advice on my current project. I have an existing table based layout that serves as the main template for a .Net application I've been working with. I would like to convert this layout to css based liquid design. I would like the pages to stretch both horizontally and vertically as needed. The layout needs to consist of a Pre-Header area that stretches across the entire...
3
5044
by: SebiF | last post by:
Hello, It might have been asked before but since I could not find a reference here's my qustion: I want a liquid layout similar to this one: http://www.alistapart.com/d/negativemargins/ex5.htm but with the footer fixed at the bottom and the content in a scrollable area.
1
2288
by: Durabo | last post by:
Hi, i must divide the page of my situated Internet in 3 lines and would want to make in way to have a layout liquid (would have to be adapted therefore to whichever dimension of the window). Initially I have divided in two parts as it follows:
27
2850
by: FuzzyLogik | last post by:
http://phazm.net/csstest/index2.html I'm trying to make the thumbnails fit to the width of the page, so there are 3-4 in each row, but when you resize, I want it to basically flow with the page, and I'm having a bit of a hard time figuring that out. I want the code to remain logical: <ul>
1
1750
by: billsahiker | last post by:
I learned how to make a page layout liquid so it fills the screen regardless of resolution, but I do not see how to do that with a project that uses master page. Is there a way? My understanding is the top level container must have style elements. Since the top level container of a page that references a master page is a contentplaceholder, which does not allow style elements, I dont see how to do this. Bill
4
2809
by: ge5talt | last post by:
Longtime reader, 1st time poster :) I am in the process of overhauling a website and replacing an old table-based quirksmode layout with a standards-mode tableless one. I am currently working on pop-up webpages which used to be liquid and proportionally resizable (including input fields on them), something I have found to be tough to reproduce without tables and quirksmode. My current layout (below) actually behaves the way I'd like it to...
9
8145
by: Eric Lindsay | last post by:
How do you provide a consistent gradient fill as a background in a liquid layout? If I make a gradient fill image say 1000 pixels wide (and repeat it down the page) to suit a typical computer display, then only a small portion of the gradient will show if the viewpoint is a smaller PDA or phone display. On the other hand, if viewed full screen on a 1920 pixel wide display, I would run out of gradient on one or both sides of the page....
15
2426
by: Eric Lindsay | last post by:
I need to include some simple (sparkline style) graphs in a web page that will have a liquid layout. Some viewers will be changing the font size to suit their display (sizes range from 320 to 2560 pixels). I want the graphs to change size proportional to the font enlargement viewers use. I did this sort of thing once before at http://cyclonestudios.com.au/aboutus/projects.html where the little colour patches under each project show...
1
2024
by: hansBKK | last post by:
Here's a (new?) variation on using negative margins to get a three- column layout - I've used the example HTML from A List Apart's article by Alan Pearce: http://alistapart.com/articles/multicolumnlayouts for comparison's sake, but note the CSS layout method is quite different, using padding on an "inner wrapper" div within the center, rather than borders.
0
9620
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
9454
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
10261
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
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
6715
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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
3609
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.