Dreamweaver expanding html
by Steven Panzullo
on
May 21, 2008 at 6:47:33 am
After slicing out a page from photoshop to Fireworks and exporting to Dreamweaver, I am having an issue when cutting a file and pasting it to be a background.(so I can type over it)
Two issuse on some sections just cutting the file and repasting it in the the BG section causes the entire html to expand cells and go haywire.
Issue two if the above sections work ok and I type over the background some text entries cause the html to expand also and go haywaire. I saw videos that the instructor just clicks outside a margin and it snaps right back. That snap back is not working on my end. Is there a easy fix here or is there a way to stop the html from expanding?
Re: Dreamweaver expanding html by Abraham Chaffin on May 23, 2008 at 6:08:14 pm
"Two issuse on some sections just cutting the file and repasting it in the the BG section causes the entire html to expand cells and go haywire.
If you want an image to be used as the background you should set it as the background using the background property under Modify > Page Properties. This will set it as the background and will not effect any positioning of the content in the page.
If you are wanting it to be the background of a table or div you should set that div or table to have that background using the background styling property.
Issue two if the above sections work ok and I type over the background some text entries cause the html to expand also and go haywaire. I saw videos that the instructor just clicks outside a margin and it snaps right back. That snap back is not working on my end. Is there a easy fix here or is there a way to stop the html from expanding?"
If you want text to not expand in a region you can set the width and height to your desired size and set the overflow to auto:
e.g.
<div style="overflow:auto; width:100px; height:100px;">Content</div>
Set this using the styling / CSS properties in Dreamweaver for the region you are dealing with.