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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver image problem

Status
Not open for further replies.

highboycoupe

Technical User
Mar 9, 2007
2
GB
Hi, this is really annoying me. I have an image that is the same width as my background image, with the site logo on it, in design view its coordinates are 0,0, and there are no margins set in page properties, so why in a browser is there always a 5 pixel gap between the top of my background image and the top of the logo? Thanks in advance.
 
...and there are no margins set in page properties...

But are you overriding the browser's default margins?

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
If I put -1.5 for the top margin i can just about get it to match up, but this puts some images out of allignment with other pages, I think I just have to start again and put everything in tables, basically I have 4 pages that do not scroll, and have the title logo embedded in the background image, and one page that does scroll, I don't want the title logo to repeat, so i thought if i just cut out logo and pasted it on top as a new image it would match up, but it will not. thanks for the help.
 
A better solution might be to put the logo as a background in a header div (with a defined height) on each page. That way you don't have to worry about it repeating.

In the case of logo images, I usually just put them directly on each page rather than setting them as backgrounds, but you do whatever suits your needs.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top