Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > simple design question

simple design question
Thread Tools
Junior Member
Join Date: Feb 2000
Location: Southern California
Status: Offline
Reply With Quote
Feb 7, 2002, 02:17 PM
 
How are pages designed that the entire layout adjusts when the viewer's browser is adjusted?

In GoLive, a floating box or any layout box doesn't seem able to allow for the users browser to adjust the width. Especially with text, where text within any type of box or layout grid is locked in certain width.

MacNN looks good, for instance. How do some of those boxes grow with when the browser is adjusted?

     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Feb 7, 2002, 03:17 PM
 
Originally posted by mugwump:
<STRONG>How are pages designed that the entire layout adjusts when the viewer's browser is adjusted?

In GoLive, a floating box or any layout box doesn't seem able to allow for the users browser to adjust the width. Especially with text, where text within any type of box or layout grid is locked in certain width.

MacNN looks good, for instance. How do some of those boxes grow with when the browser is adjusted?

</STRONG>
Because the table sizes of MacNN are set as a % rather than as a fixed size. You can make floating boxes or layout boxes adjustable - just set them as %'s too! Be aware that IE has some rather unpredictable behaviour when making something 100% width - sometimes it forces a horizontal scroll bar, sometimes it doesn't. Make it 99% if you can and it works a whole lot better.
Computer thez nohhh...
     
Mac Elite
Join Date: Nov 1999
Location: Sapulpa, OK
Status: Offline
Reply With Quote
Feb 8, 2002, 04:08 AM
 
Exactly as described above... Tables are WONDERFUL...

Fig. 1 - This would be an example of a simple table layout for an expandable content box:



Fig. 2 - The corners of the box are set to the exact width and height dimensions for the graphics for the corners of the box. The corner images are placed in each of thier corresponding boxes.



Fig. 3 - The sides are the part that allow it to be expandable... you specify the width of the side boxes and the height of the top and bottom boxes... you then specify a percentage for these boxes in the height of the sides or width of the top and bottom so that they expand.

The trick is... you just use a 1 pixel wide image and set it as the tiled background for these boxes rather than using a fixed image size.



Hope that helps...

Mac Guru

[ 02-08-2002: Message edited by: Mac Guru ]
"The young people of America need be taught that the only pride they may properly hold is in the content of their character, and the achievements they make. There is no legitimate pride or moral credit to be gained by virtue of sharing the same race with a great and admirable individual. "

My Website
     
Mac Elite
Join Date: Nov 1999
Location: Sapulpa, OK
Status: Offline
Reply With Quote
Feb 8, 2002, 04:35 AM
 
Exactly as described above... Tables are WONDERFUL...

Fig. 1 - This would be an example of a simple table layout for an expandable content box:



Fig. 2 - The corners of the box are set to the exact width and height dimensions for the graphics for the corners of the box. The corner images are placed in each of thier corresponding boxes.



Fig. 3 - The sides are the part that allow it to be expandable... you specify the width of the side boxes and the height of the top and bottom boxes... you then specify a percentage for these boxes in the height of the sides or width of the top and bottom so that they expand.

The trick is... you just use a 1 pixel wide image and set it as the tiled background for these boxes rather than using a fixed image size.



Hope that helps...

Mac Guru

[ 02-11-2002: Message edited by: Mac Guru ]
"The young people of America need be taught that the only pride they may properly hold is in the content of their character, and the achievements they make. There is no legitimate pride or moral credit to be gained by virtue of sharing the same race with a great and admirable individual. "

My Website
     
mugwump  (op)
Junior Member
Join Date: Feb 2000
Location: Southern California
Status: Offline
Reply With Quote
Feb 9, 2002, 01:12 PM
 
Hey Guru, could you get those links working? I am salivating to see what you're talking about. Thanks much for your info!
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Feb 9, 2002, 02:12 PM
 
I suggest copying the source of MacNN (Command-E in Explorer) and pasting it into GoLive. They use tables rather than floating/layout boxes, Those really aren't good for web design.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:05 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2