Warning: fopen(graphic_design/files/thread-2314-1.txt) [function.fopen]: failed to open stream: Permission denied in /graphic_design/global.php on line 421
file NOT opened dreamweaver rollovers -
PDA

View Full Version : dreamweaver rollovers


SepulWorld
11-24-2004, 04:30 AM
yeah i know rollovers are easy,, but this time when i put in the rollover and the rollover file lands next to the source file and it pushes the html over with all sort of white boxes? I think it has something to do with the slices..

Z

Jeff O.
11-24-2004, 07:57 AM
This is just a quicky reply SepulWorld, as I sit here at work writing PHP and trying to meet a deadline, but make sure you never have something like this:

<td width="99" class="whatever">
<img src="whatever.gif"></td>

Instead, do this:

<td width="99" class="whatever"><img src="whatever.gif"></td>

In the first example, note the separation, in this case, a carriage return, between the td tag and the img tag. Never a good thing! Hope that helps a little. :)

Arch Stanton
11-24-2004, 08:57 AM
I'd also make sure that bothe the original image and the mouseover are the same size. Also make sure you have the width and height of your image specified.

Myabe you've named the wrong image for the mouse over? Perhaps you named a spacer image instead of the intended image. something like this:

<a href="#" onmouseover="myswapfunction('mySwapImage','swapOver');"><img src="orig.gif" width="20" height="30" alt="MouseMe"><img src="spaver.gif" width="30" height="1" alt="" name="mySwapImage"></a>