Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-2008, 03:04 PM
Fodderstompf
 
Posts: n/a
Re: How to change Absolute Layers to Relative?

Thanks again Murray, but? (there's always a but!) LOL. I notice the pages with
the wrapper slightly jump the right compared to the other pages. For the sake
of consistency would there be any problem putting the wrapper code into those
other pages? Would it be exactly the same code, or would I have to remove the
word 'relative'? Would this also be the case if I applied the code to other
pages I had made for other sites. Is the '760 pixels' a default setting or only
applicable to these pages. All my sites are pretty much 800x600 anyway. Thanks.

Reply With Quote
  #2 (permalink)  
Old 02-02-2008, 03:43 PM
Murray *ACE*
 
Posts: n/a
Re: How to change Absolute Layers to Relative?

> Thanks again Murray, but? (there's always a but!) LOL. I notice the pages
> with
> the wrapper slightly jump the right compared to the other pages.


Most likely you are seeing the appearance and disappearance of a vertical
scrollbar. You can force all pages to have one by adding this to your CSS
(below any rules you might already have for the body tag -

html, body { min-height:100.01%; margin-bottom:1px; }

> For the sake
> of consistency would there be any problem putting the wrapper code into
> those
> other pages?


Most likely not, but to be sure one would have to look at the code on the
other pages.

> Would it be exactly the same code, or would I have to remove the
> word 'relative'?


It would be exactly the same method.

> Would this also be the case if I applied the code to other
> pages I had made for other sites.


Certainly.

> Is the '760 pixels' a default setting or only
> applicable to these pages.


A 760px wide viewport is approximately the widest one you can practically
have on an 800px wide screen. I chose this value so that people using
800x600 screens would see the entire page in a maximized browser viewport
without having a horizontal scrollbar (assuming that they don't have any
browser sidebars open).

--
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
==================


"Fodderstompf" <webforumsuser@macromedia.com> wrote in message
news:fo20p9$sr8$1@forums.macromedia.com...
> Thanks again Murray, but? (there's always a but!) LOL. I notice the pages
> with
> the wrapper slightly jump the right compared to the other pages. For the
> sake
> of consistency would there be any problem putting the wrapper code into
> those
> other pages? Would it be exactly the same code, or would I have to remove
> the
> word 'relative'? Would this also be the case if I applied the code to
> other
> pages I had made for other sites. Is the '760 pixels' a default setting or
> only
> applicable to these pages. All my sites are pretty much 800x600 anyway.
> Thanks.
>


Reply With Quote
  #3 (permalink)  
Old 02-02-2008, 04:19 PM
Fodderstompf
 
Posts: n/a
Re: How to change Absolute Layers to Relative?

Thanks. Don't think its anything to do with a scrollbar. This is the link
(site isn't live yet). If you go through the page links, the pages with the
wrapper ? Portfolio (gallery.html) &amp; About (home.html) - jump slightly to
the right. http://www.necpublishing.com/home.html I probably will just put the
wrapper on them all, but if you could give it a quick look it would be much
appreciated.

Reply With Quote
  #4 (permalink)  
Old 02-02-2008, 04:28 PM
Murray *ACE*
 
Posts: n/a
Re: How to change Absolute Layers to Relative?

You have not implemented my suggestion properly. On the pages where you
have tried, you have this -

</head>

<body ...>
<div id="wrapper">

<body
onLoad="MM_preloadImages('/images/homepic1.jpg','/images/homepic2.jpg','/images/homepic3.jpg','/images/gallmain.jpg','/images/gallery3.jpg','/images/gallery2.jpg','/images/gallery4.jpg','/images/gallery5.jpg')">
<table width="780"

Clearly that's a mistake.

1. You cannot have two body tags on the page.
2. You have implemented my suggestion LITERALLY, without realizing that the
ellipsis in the body tag merely stood for everything else that might have
been there.

So - change this code as follows -

</head>
<body
onLoad="MM_preloadImages('/images/homepic1.jpg','/images/homepic2.jpg','/images/homepic3.jpg','/images/gallmain.jpg','/images/gallery3.jpg','/images/gallery2.jpg','/images/gallery4.jpg','/images/gallery5.jpg')">

<div id="wrapper">
<table width="780"

and see if you still get the right shift.

--
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
==================


"Fodderstompf" <webforumsuser@macromedia.com> wrote in message
news:fo255q$44n$1@forums.macromedia.com...
> Thanks. Don't think its anything to do with a scrollbar. This is the link
> (site isn't live yet). If you go through the page links, the pages with
> the
> wrapper ? Portfolio (gallery.html) &amp; About (home.html) - jump
> slightly to
> the right. http://www.necpublishing.com/home.html I probably will just
> put the
> wrapper on them all, but if you could give it a quick look it would be
> much
> appreciated.
>


Reply With Quote
  #5 (permalink)  
Old 02-02-2008, 04:36 PM
Fodderstompf
 
Posts: n/a
Re: How to change Absolute Layers to Relative?

Cheers. I did wonder about that additional body!

I'll give it a go tonight when I get in. Thanks.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:38 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mobile Phone | Business Gifts | Mobile Phone | Loans | Credit Card



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114