I have a website, www.glovesanddoves.com. On the news page there's a link highlighted in read in the text called 'Shot Circuit.' When you click the link a pop-up window opens with an image. That's great but why is there a strip of white space underneath it? I checked the dimensions of the image and set the pop-up window to the same size. Any ideas?
Don't see any links in the News page when viewing in FF 9.0.1 or in the source code. Please be specific what you are talking about. the news page is at this link:
If this is not the page then please provide a correct link.
OK got the link and tanks to JW. I was seeing all red and no links on the page.
To check if there is anything wrong in the picture, I created a test page and the link is here:
There is no white line anywhere and so this would suggest that you are seeing everything in white background and thus the white line on the page.
Also, you have linked directly to the picture instead of creating a page like I did. Perhaps you may want to re-think about this.
Thanks for the reply. I've checked the pop up in Chrome and Firefox. Chrome displays it as I want with the image going all the way to the edges. Firefox puts a nice even white border around it but that's fine too. Safari however, adds a bar of white to the bottom of the image's pop up window? (See below) Why? It worked fine before? It doesn't look neat. I just want the image to go all the way to the edges with no white. Any ideas why?
1 person found this helpful
I think the answer has already been posted by JTANNA and you missed it or ignored it:
you have linked directly to the picture instead of creating a page
normally you do NOT link directly to an image file in a .js popup window. You create an HTML page, place the image on it, style the page as needed, then set the display dimensions of the popup window to match. I'm confident that you will have much better results.
Thanks. Do I need to put the image in a div? Should I remove all default margins so it's sitting top left?
Date: Mon, 30 Jan 2012 18:07:11 -0700
Re: Why does a strip of white space appear below my image in my pop-up window?
created by adninjastrator in Dreamweaver - View the full discussion
I think the answer has already been posted by JTANNA and you missed it or ignored it:you have linked directly to the picture instead of creating a pagenormally you do NOT link directly to an image file in a .js popup window. You create an HTML page, place the image on it, style the page as needed, then set the display dimensions of the popup window to match. I'm confident that you will have much better results.Best wishes,Adninjastrator
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4175249#4175249
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4175249#4175249. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
1 person found this helpful
It doesn't HAVE to be in a <div> but for me, it's a lot easier to size and position things if in a <div>.
And remember, this will be a complete HTML Web page.....
So yes, set body margin and padding to 0, give the container <div> the exact same dimensions as the photo. Then it's default position will be top left.
Then set popup window dimensions to exact same as <div>.
You may still need to adjust the popup dimensions slightly depending on the window chrome.... just test it and see... you can always adjust the size slightly to get the exact fit.
Hello, thanks for the advice. I put the image into a div in it's own html page. I still get the white bar appearing below the image? Any ideas? Really annoying now.
Go to Dreamweaver => Right Click on your Image (which has space under it) => Align => Middle / Center.