HighDots Forums  

Scale-able Webpages

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Scale-able Webpages in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Barbara07
 
Posts: n/a

Default Scale-able Webpages - 03-24-2009 , 10:21 AM






When I designed a site I did the width to 1280px not realizing if it was done
as a static page that it wouldn't scale in a liquid fashion as you widened the
browser page.

Now that the site is done, can I go in there and still change it to make the
width unspecified or is it too late without rebuilding it?

Thanks!


Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 10:24 AM






Barbara07 wrote:
Quote:
When I designed a site I did the width to 1280px not realizing if it was done
as a static page that it wouldn't scale in a liquid fashion as you widened the
browser page.

Now that the site is done, can I go in there and still change it to make the
width unspecified or is it too late without rebuilding it?

It's most probably too late as you're likely to have set fixed width
elements within the construction itself. This kind of thing needs to be
considered at the outset of a project.


Reply With Quote
  #3  
Old   
JoeyD1978
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 10:32 AM



Depends entirely on the content, but more likely than not you'll have to start
over. "Static" or "fixed" width designs are by far the most popular choice, and
for good reason - but 1280px wide is waaaaaay to big. Start over and shoot for
940 to 980ish or so (not to exceed 1000px).




Reply With Quote
  #4  
Old   
Barbara07
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 11:46 AM



Thanks...but if it's static then you are going to get a wider margin on the
right side than the left - if the browser is pulled as far right as it will go.
The width is really not the problem. It's looked okay on the different
computers I've viewed it on...it's just the margins issue.


Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 12:37 PM



So then your question is also "how do I center the page" and that answer is
"it depends on what's on the page". Can you post a link to this uploaded
page?

Alternatively, you can create a new page in DW, using the sample pages and
selecting one of the fixed-width centering samples. Examine the code to see
how it's done.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Barbara07" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks...but if it's static then you are going to get a wider margin on
the
right side than the left - if the browser is pulled as far right as it
will go.
The width is really not the problem. It's looked okay on the different
computers I've viewed it on...it's just the margins issue.



Reply With Quote
  #6  
Old   
kiusau
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 01:12 PM



This article will take some time and patience, as it is not designed for
beginners, but it does appear to contain everything you need to know to make an
orderly transformation.

http://www.alistapart.com/articles/fluidgrids

Roddy :smile;


Reply With Quote
  #7  
Old   
babarabatibiri
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 02:41 PM




"Barbara07" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
When I designed a site I did the width to 1280px not realizing if it was
done
as a static page that it wouldn't scale in a liquid fashion as you widened
the
browser page.

Now that the site is done, can I go in there and still change it to make
the
width unspecified or is it too late without rebuilding it?

Thanks!

It may only need a search-and-replace operation. It depends on how you built
your pages.



Reply With Quote
  #8  
Old   
Barbara07
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 04:18 PM



check it out - www.kanzatravelplaza.com

Reply With Quote
  #9  
Old   
babarabatibiri
 
Posts: n/a

Default Re: Scale-able Webpages - 03-24-2009 , 04:41 PM




"Barbara07" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
check it out - www.kanzatravelplaza.com
If all pages have this line:

<table width="1280" border="0" cellspacing="0" cellpadding="0">

you can do a search and replace and replace all instances of it on your site
with:

<table class="layout_tbl" border="0" cellspacing="0" cellpadding="0">

then just add the class .layout_tbl to your CSS file and you're done.

WARNING: the above assumes you don't have oversized graphisc or other things
that would not fit a narrower layout.

Good luck!



Reply With Quote
  #10  
Old   
Barbara07
 
Posts: n/a

Default Re: Scale-able Webpages - 03-26-2009 , 07:01 PM



Barbarabatabiri-
Your code appears to work at the top around the navigation buttons...but I
have set cell widths where my graphic elements are placed and it's not
effecting that. (I still intend to read the article that kiausau posted but
have not read it yet).
So in other words, the navigation bar area is now liquid (on my local drive
not the actual site) but the rest of page is still static. my margins are still
set. Take another look if you have time and see if those graphic areas would
need to be rebuilt. (Making major mistakes is the best way to learn imho!)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.