472,959 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Window size ramifications

JG
I notice when I resize my webpage it adjusts the line returns
so that all of the text is still shown. While this is great for a text only
webpage, it causes undesirable results for a page with photos
inserted at various places with text wrapping.
Is there any way to have the webpage clip everything upon resize
so that it does not show rather than the latter?
Nov 12 '07 #1
3 1607
rf

"JG" <NoMail@NoSpamwrote in message news:fh*********@news1.newsguy.com...
>I notice when I resize my webpage it adjusts the line returns
so that all of the text is still shown. While this is great for a text
only
webpage, it causes undesirable results for a page with photos
inserted at various places with text wrapping.
Is there any way to have the webpage clip everything upon resize
so that it does not show rather than the latter?
You mean you want to hide the content from your viewers?

--
Richard.
Nov 12 '07 #2
On 11/11/2007 5:39 PM, JG wrote:
I notice when I resize my webpage it adjusts the line returns
so that all of the text is still shown. While this is great for a text only
webpage, it causes undesirable results for a page with photos
inserted at various places with text wrapping.
Is there any way to have the webpage clip everything upon resize
so that it does not show rather than the latter?

Please don't do that! You don't know what size windows are being used
by visitors to your Web page. You don't know whether they are using a
full-screen browser window or a part-screen window (what Micro$oft calls
a "normal" window). You don't know what screen resolutions are being
used. You don't know if visitors have a 15-inch monitor, a 21-inch
monitor, or an iPhone.

Graphic content might have fixed heights and widths, but text content
should adapt to whatever window the visitor chooses to use.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Nov 12 '07 #3
On 12 Nov, 01:39, "JG" <NoMail@NoSpamwrote:
I notice when I resize my webpage it adjusts the line returns
so that all of the text is still shown. While this is great for a text only
webpage, it causes undesirable results for a page with photos
inserted at various places with text wrapping.
Yes, this isn't desirable. The fix though isn't to clip things, or to
stop text flowing, it's to control _how_ things flow. In particular,
you probably have a number of "sections" of text and a number of
related images. Provided that each block remains nearby to the
relevant image, the page still "works". However treating all the text
as one very long block and flowing it in a single unit past all the
images certainly won't.

In the simplest way, just use containment. Place each "section" of
text (possibly many paragraphs) inside a separate <divand place the
<imgin there too.

Another way is to use floats. Place each <imginside a <div>
container (possibly with a line of caption text too) and float them.
The place the text inside a single sequence of <pelements and allow
it to flow round the images. To keep things synchronised, use <hr>
elements with the clear property set, interspersed with the <pas
needed. By appropriate use of clear and putting the <hrat the right
places between the <p>, you can synchronise images and text.
http://brainjar.com/css/positioning/ is a good background tutorial.

Nov 12 '07 #4

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

Similar topics

3
by: Simon | last post by:
Hi, I am a bit confused with zero based items and strncpy(...) assuming I have char str1 = "Hello world"; char str2; I now have str2 that should look something like
44
by: Carlos Andr?s | last post by:
Hi everybody. I've got a problem. I'd like to avoid opening a new window when you have pressed the shift key and you click in the left button of the mouse. I've tried the next solution, in the...
6
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.