Folks have commented on my site saying that when they adjust View->Text Size->Largest in their IE browser, a lot of the text on the page overlaps images and other elements on the page. I've tried this on other pages and the overlapping doesn't happen. How can I prevent it on my pages?
Thanks in advance
T. WanzPerchance are you creating your pages using GridLayout in VS.NET?
You may be right! I always thought that using FlowLayout made dragging and dropping controls onto the design not display how you'd like them.
Yea you can either nest everything in tables or use css to control the overflow or use css to explicitly declare text size so that the user isn't able to change it.
> I always thought that using FlowLayout made dragging and dropping controls onto the design not display how you'd like them.
Well, you cannot position controls inquite the same way as you can when creating desktop applications.
You see, the interface for desktop applications is based on the concept ofscreens. Each screen is like a canvas in Photoshop or Paint, where you can move elements around within a given canvas size. Wherever you move the elements, there they stay.
The interface for webpages however is based on the concept ofdocuments. Each page is like a document in Microsoft Word, where the "canvas" will grow as needed. A webpage can grow longer and longer, as can a Word document. Similarly, any element you place on the webpage will "flow" down the page, as more text is added to the top of the document. Further, any element will flow down the page if something above becomes larger (which is precisely what is occurring for you now).
For this reason, GridLayout is simply inappropriate for webpages. GridLayout treats webpages like screens, when in fact webpages act like documents.
Switch now to FlowLayout, and never ever switch it back. It will take you some time to get used to FlowLayout, but at least now you'll be creating webpages the correct way.
0 comments:
Post a Comment