|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi - I am having problems with some graphics in HTML. The graphic is inside a table, and when the browser window is resized (IE at the moment)the graphic disappears completely.
Does anyone know a way around this - either to resize the graphic, or just to have it cropped when the window shrinks instead of disappearing? Thanks Jo |
|
#2
|
|||
|
|||
|
Thats very strange. Why don't post the HTML code of the table and the image?
|
|
#3
|
|||
|
|||
|
Hi - I figured out what the problem is but not how to fix it!
My image is wrapping around to the next line, but as the frame is a set size it looks like it is disappearing as it disappears off the bottom of the frame. If you extend the size of the frame you can see that the image appears on the next line. It is only this one image that does this and I can't figure out why... attached is the code (it is janok.gif that has the problem). Thanks everyone... Jo <HTML> <STYLE TYPE="text/css"> <!-- A:link, A:visited, A:active { color: "lime"; text-decoration: none;} A:hover { color: "yellow"; } .nav {font: "-2"/"-2" verdana; } --> </STYLE> <BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0"> <div class="nav"> <TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="100%"> <TBODY> <TR> <TD height=60 rowSpan=2 vAlign=top> <IMG SRC="../animation/04_30_t.gif"> <IMG HSPACE="20" SRC="../graphics/janok.gif" width="220" height="40" noWrap align="absmiddle"> </TD> <TD align=right height=10 vAlign=top><IMG alt="" border=0 height=20 src="../graphics/curve.gif" width=18></TD> <TD align=right bgColor=#000000 colSpan=2 height=10 noWrap vAlign=center><B> <A href="main_frontpage2.html" target="FrontPage"><font face="verdana" size="-2">Home</font></A> <FONT color=#ffffff>|</FONT> <A HREF="demooverview2.html" target="FrontPage"><font face="verdana" size="-2">Overview</font></A> <FONT color=#ffffff>|</FONT> <A href="demoinstall2.html" target="FrontPage"><font face="verdana" size="-2">Installation</font></A> <FONT color=#ffffff>|</FONT> <A href="../Visio2000/JanokVisio2000.htm" target="_top"><font face="verdana" size="-2">Run Demo</font></A> <FONT color=#ffffff>|</FONT> <A href="companyoverview2.html" target="FrontPage"><font face="verdana" size="-2">About Us</A> </B></FONT></TD></TR> <TR> <TD height=2 vAlign=top width=19> </TD> <TD align=left vAlign=top colSpan=2 height=40 noWrap vAlign=top> <BR><font face=verdana> <IMG align="absmiddle" SRC="../graphics/telephone.gif" width="35" height="30" hspace="10">(02)xxxxxxx <IMG align="absmiddle" SRC="../graphics/email04.gif" width="35" height="30" hspace="10">xxxx@xxxxx <IMG align="absmiddle" SRC="../graphics/sobre01.gif" height="30" width="30">postal address</TD></TR></font> </TD> </TABLE> </DIV> </BODY> <P> </HTML> |
|
#4
|
|||
|
|||
|
Try dropping those two initial images (04_30_t.gif and janok.gif) into two table data cells--one quick workaround would be to nest a table within your initial <td> cell, devoting a cell and/or row to each image.
Without the actual image dimensions (they're not in the code you posted), it's hard to tell if this'll work with your current layout. But it seems to mesh pretty well with 640x480--good luck! ------------------ Ethan Marcotte ----------------------- "which way i flie is hell / my self am hell." -Milton, _Paradise Lost_ |
|
#5
|
|||
|
|||
|
What's with the HSPACE?
<IMG HSPACE="20" SRC="../graphics/janok.gif" width="220" height="40" noWrap align="absmiddle"> Take the HSPACE="20" out and noWrap also. Other than that, there should be no problem. ------------------ -Gabe "Save trees, eat beaver." "y!php3++?" |
|
#6
|
|||
|
|||
|
Thanks everyone - I got it working. I left the HSPACE in (puts some horizontal space around the graphic I think/hope!) and tidied up the rest of my code a bit and it seemed to sort itself out.
Cheers Jo |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Images in IE |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|