HighDots Forums  

difference in viewing a file from my computer vs. a webserver

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss difference in viewing a file from my computer vs. a webserver in the Macromedia Dreamweaver forum.



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

Default difference in viewing a file from my computer vs. a webserver - 09-08-2007 , 10:57 PM






Please note that viewing this page: http://www.verdevsol.com/ the image is
viewed with an inch or two below the top of the page. When I view this page
from the local copy the image/table on the page is at the top of the browser
window. Why is there a difference

The computer I am using DW CS3 on is a fully loaded MacBook Pro...

I have looked and thought to no avail.

Thanks, --bill


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

Default Re: difference in viewing a file from my computer vs. a web server - 09-09-2007 , 07:13 AM






The default alignment in a table cell is vert -> middle, horiz -> left.

<td colspan="2"><div align="center"><img src="graphics/002kivit.jpg"
alt="under construction" width="200" height="149" /></div></td>

You have only specified the horizontal alignment of the image, not the
vertical, and you have done it in an awkward way. Make that line like
this -

<td colspan="2" align="center" valign="top"><img
src="graphics/002kivit.jpg" alt="under construction" width="200"
height="149" /></td>

And see what happens.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


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

Quote:
Please note that viewing this page: http://www.verdevsol.com/ the image is
viewed with an inch or two below the top of the page. When I view this
page
from the local copy the image/table on the page is at the top of the
browser
window. Why is there a difference

The computer I am using DW CS3 on is a fully loaded MacBook Pro...

I have looked and thought to no avail.

Thanks, --bill




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

Default Re: difference in viewing a file from my computer vs. aweb server - 09-09-2007 , 02:14 PM



Murray,

When I did this...added valign="top" to TD tags...it ONLY moved the images to the TOP of the cell. I want the whole table at the top of the browser window.

thanks


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

Default Re: difference in viewing a file from my computer vs. aweb server - 09-09-2007 , 04:15 PM



On that page you have CSS attributes for the Body of your webpage. You have margins set there. Just change those margins to 0 and you should be fine.

Reply With Quote
  #5  
Old   
bdaul
 
Posts: n/a

Default Re: difference in viewing a file from my computer vs. aweb server - 09-09-2007 , 07:34 PM



SnakEyez,

I removed all the margin setting in the CSS Body tag...it still displays WAY
below the top of the browser window...do check for yourself...I am so
frustrated...the problem must be right in front of my face...hope it doesn't
take a MIRROR to find out what the problem is...

NEXT suggestion(s)!

thanks, ---bill


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

Default Re: difference in viewing a file from my computer vs. a web server - 09-09-2007 , 07:40 PM



Set them all to zero. When you don't specify, you get the default.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


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

Quote:
SnakEyez,

I removed all the margin setting in the CSS Body tag...it still displays
WAY
below the top of the browser window...do check for yourself...I am so
frustrated...the problem must be right in front of my face...hope it
doesn't
take a MIRROR to find out what the problem is...

NEXT suggestion(s)!

thanks, ---bill




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

Default Re: difference in viewing a file from my computer vs. aweb server - 09-09-2007 , 09:14 PM



Murray,

Thanks again, but thing continue to continue. I put in:

body {
background-color: #006600;
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
top: 0px;
}

and the table is still NOT at the TOP of the page...any other ideas!

Thanks again...


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

Default Re: difference in viewing a file from my computer vs. a web server - 09-10-2007 , 05:56 AM



Well, you have this -

<table width="113" border="0" align="center" valign="top" cellpadding="10"
cellspacing="15" bgcolor="#006600">

Which will space everything 25px down from the top of the screen.

Note what happens when I change that to this -

<table width="113" border="0" align="center" valign="top" cellpadding="0"
cellspacing="0" bgcolor="#006600">

and I make the valign="top" change in that left cell.

http://murraytestsite.com/verdevsol.html

The picture on the left goes right to the top of the page.


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


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

Quote:
Murray,

Thanks again, but thing continue to continue. I put in:

body {
background-color: #006600;
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
top: 0px;
}

and the table is still NOT at the TOP of the page...any other ideas!

Thanks again...




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

Default Re: difference in viewing a file from my computer vs. aweb server - 09-10-2007 , 03:47 PM



Murray,

I will try your suggestion out...just to make sure...the link below is what I see on my screen (will your suggestions fix this):

http://www.human-landscaping.com/staging/PROBLEM.jpg

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

Default Re: difference in viewing a file from my computer vs. aweb server - 09-10-2007 , 03:55 PM



Murray...just made the changes...the table is STILL about 2 inches from the top
of my browswer window.

ALSO...when I look at your sample...it too is about 2 inches from the top of
my browers window. Is it flush top for you????

One of the factoids I mentioned earlier...when I am viewing the file locally
(from my laptop to my browers) the table is flush TOP. It is only when I view
it staged from an internet server when the table is down a couple of inches
from the top.

Thanks for putting up with all this...


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 - 2008, Jelsoft Enterprises Ltd.