473,386 Members | 1,803 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,386 software developers and data experts.

how to fix the size for different resolution

I have left,middle and right DIV. my middle DIV will show table from
Mysql query. If the table size shown is smaller than the middle div,
then everythng is fine.

however, when i change my resolution to 800*600, the table size will
bigger than the middle div and cause the middle div out of its place.
i have try position=fixed, auto, relative but none of them solve the
problem.

so, how to fix this problem?

Thanx
Jul 20 '05 #1
8 10276
Quoth the raven named jo****@yahoo.com:
I have left,middle and right DIV. my middle DIV will show table
from Mysql query. If the table size shown is smaller than the
middle div, then everythng is fine.
If you give us the URL, we can help.
however, when i change my resolution to 800*600,
You do not have to change your resolution. Simply make the browser
window smaller. See Paul Furman's grid page.
http://www.edgehill.net/scale.htm
the table size will bigger than the middle div and cause the middle
div out of its place. i have try position=fixed, auto, relative but
none of them solve the problem.

so, how to fix this problem?


Please post the URL to the page in question.

--
-bts
-This space intentionally left blank.
Jul 20 '05 #2
Quoth the raven named jo****@yahoo.com:
I have left,middle and right DIV. my middle DIV will show table
from Mysql query. If the table size shown is smaller than the
middle div, then everythng is fine.
If you give us the URL, we can help.
however, when i change my resolution to 800*600,
You do not have to change your resolution. Simply make the browser
window smaller. See Paul Furman's grid page.
http://www.edgehill.net/scale.htm
the table size will bigger than the middle div and cause the middle
div out of its place. i have try position=fixed, auto, relative but
none of them solve the problem.

so, how to fix this problem?


Please post the URL to the page in question.

--
-bts
-This space intentionally left blank.
Jul 20 '05 #3
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.

thanx!!
Jul 20 '05 #4
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.

thanx!!
Jul 20 '05 #5

<jo****@yahoo.com> wrote in message
news:e9**************************@posting.google.c om...
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.


Well, what do you *expect* the browser to do with the table? The space
between the floats becomes too narrow for the table, so the table has to go
somewhere else.

Jul 20 '05 #6

<jo****@yahoo.com> wrote in message
news:e9**************************@posting.google.c om...
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.


Well, what do you *expect* the browser to do with the table? The space
between the floats becomes too narrow for the table, so the table has to go
somewhere else.

Jul 20 '05 #7

"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:c5************@ID-114100.news.uni-berlin.de...

<jo****@yahoo.com> wrote in message
news:e9**************************@posting.google.c om...
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.
Well, what do you *expect* the browser to do with the table? The space
between the floats becomes too narrow for the table, so the table has to

go somewhere else.


More specifically, you have defined a *fixed width* for each of your
floating DIVs, and you have both DIVs and the table inside a DIV whose width
you have specified to be 100% of the width of the window. So the width of
the space between the floating DIVs =

(100% of the window width) - (fixed width of the left float) - (fixed
width of the right float)

If the first term above is given, then how can the result vary if you aren't
allowing the second and third terms to vary?

Jul 20 '05 #8

"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:c5************@ID-114100.news.uni-berlin.de...

<jo****@yahoo.com> wrote in message
news:e9**************************@posting.google.c om...
this url will show whats my problem.
http://members.lycos.co.uk/pstoh/test.htm

when u see in in 1024*768, its ok, but when i resize it to smaller
windows or change resolution to 800*600, the middle part is out of the
place.

so how to fix all div so that when i resize the windows, the middle
part will not shrink.
Well, what do you *expect* the browser to do with the table? The space
between the floats becomes too narrow for the table, so the table has to

go somewhere else.


More specifically, you have defined a *fixed width* for each of your
floating DIVs, and you have both DIVs and the table inside a DIV whose width
you have specified to be 100% of the width of the window. So the width of
the space between the floating DIVs =

(100% of the window width) - (fixed width of the left float) - (fixed
width of the right float)

If the first term above is given, then how can the result vary if you aren't
allowing the second and third terms to vary?

Jul 20 '05 #9

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

Similar topics

21
by: James Moe | last post by:
Hello, I just joined this group and saw the discussion "What do you think of resizing 1em to 10px?" I am somewhat confused by what y'all think should be used as a reference size. I was surprised...
4
by: Darren | last post by:
hi all. probably a trifle put google didn't tell me much. I notice there are size units such as 'pt' and 'px'. is there one that will position the same regardless of browser size, screen...
9
by: Les Juby | last post by:
I understand that there are several ways to effectively control the browser delivery of HTML to make the most effective use of the different screen resolutions today. (And in the foreseeable...
5
by: Joe Bonavita | last post by:
My Web forms display differently on different machine with the same resolution. The pages are designed to fit in 800*600 res but on some machines with 800*600 the form appears too big. Are there...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
4
by: TOM | last post by:
I have an application that does not behave too well when the user changes the Display Properties -> Appearance -> FontSize after clicking Display from the Control Panel to "Large Fonts" ...
71
by: Mark | last post by:
Sorry if the question is a bit basic. I generally express my font sizes in pixels, originally to handle the Macintosh/Windows font size differences (though I believe that they both now treat...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
53
by: Jonas Smithson | last post by:
In his book "CSS: The Definitive Guide" 2nd edition (pgs. 116-117), Eric Meyer has an interesting discussion about "font-size-adjust" that was evidently dropped in CSS 2.1 due to browser...
3
by: SJ | last post by:
Hi All, I am trying to write a preview page that will show a red box around the portion of the screen that would print on a normal 8.5x11 paper. The problem is setting the width of the div...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.