Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling issues with Dreamweaver MX / Photoshop conversion?

Status
Not open for further replies.

3dsmax

Instructor
Jul 9, 2004
4
CA
I have a web site that I've designed, it is for 1024x768. I did the whole layout in photoshop and then sliced it up, save for the web. Then I opened up the .html file it generated. I centered the table and did a preview, no scrolling, vertical or horizontal. Now the other pages that it links to are identical (of course there are images that are different) and when ever it goes to that page the browser window scrolls vertical & horizontal, not a lot but thats not how I want it. Now if I hit refresh ... its perfect the way it should be, but as soon as I go to any other pages it happens again. Also if I hit refresh on the other pages it's perfect.

The table size is (pixels) W-993 H-590. Now I came across a posting that I think said to delete some of the code that adobe translates when its saving, what code?. Any help would be appreciated.

Colin
DCI
 
first off check the body tag margins are set to 0
Code:
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">

quite often this will be correct on one page, and missing on others, which will cause a small scroll.

You can also do a "clean up code" with dreamwaever, which may help.
>commands > clean up HTML.



Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
I tried evrything you mentioned (except for the "spears part") and still the same behavior. I would really like to figure this out, its bothering the piss out of me.

Colin
DCI

"Do I have something in my teeth?
 
agh the pain of "edit"

that is why best paractice is ...use Photoshop for only what it is....an Image/graphics Editing tool
make your HTML in DW and match it to the size of slices...
easiest re-do is done when u replicate slices size and use DW in LayoutMode.
very 1st thing I do is delete the HTML made by PS....that I am never tempted to "save time and just edit this HTML"
I have fallen for that idea too many times....just say no to PS genrated HTMLs and u will save some hair in the long run!
post the URL if u need help!
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
All I can suggest (never having used photoshop html- I always hand code) is you go through line by line, looking for anything which dosen't look like it shoudl be there and comment it out, if it fixes the problem, you've found your answer, if not, add it back in.

Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Shit sticks .............. Thanks lebisol I'll give that a go. I'm a 3D graphic's, animation, special effects, etc person trying to get back on the horse of "web technology", the right way, which is understanding clean code!. Thanks guys/gals ... Peace

Colin
DCI

P.s. I guess I'm going to have to reduce my overall image in photoshop and suffer with the sacrifices. If anyone would like to look at the files I can upload them. It's about a meg.

"Do I have something in my teeth?
 
Hi 3dsmax!
It is a pain...but not all that horrible.
Here is something to get you started:
just open HTML document inside
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top