Is there a way to align the contents in the pop-up window?
My window opens a jpg photo. My pop-up window size is the exact same size as the photo it opens.
Problem is that there is white space above and to the left because the photo is not aligned top left properly. it looks bad. how can i fix this?
thanks for all help.
my code follows:
<script>
function popup(){
win=window.open("photoA.jpg","Interiors","resizable,scrollbars,toolbar, width=950,height=750"
}
</script>
<a href="javascriptopup()">PhotoA</a>
My window opens a jpg photo. My pop-up window size is the exact same size as the photo it opens.
Problem is that there is white space above and to the left because the photo is not aligned top left properly. it looks bad. how can i fix this?
thanks for all help.
my code follows:
<script>
function popup(){
win=window.open("photoA.jpg","Interiors","resizable,scrollbars,toolbar, width=950,height=750"
}
</script>
<a href="javascriptopup()">PhotoA</a>