Images wont stay next to each other with space in code

M

Matthew

Hello, I know I'm not a html expert but I thought that spaces in coding had no affect on layout of content. When I put all my slices together and set them to have javascript swaps,restores,and preload the code got very long and FP put it all on one line so I put each individual image on a seperate line.the code is below but just imagine the last lines were one line and almost identiacal lines below it. Only FP put a single space between each image. Very frustrating. Please help. Matt
<td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif" width="106" height="47"><img border="0" src="images/footer/footer_02.gif" width="185" height="47"><img border="0" src="images/footer/footer_03.gif" width="68"height="47"id="img5"onmouseout="FP_swapImgRestore()"onmouseover="FP_swapImg(1,1,/*id*/'img5',/*url*/'images/footer/footer_roll_03.gif')">
 
T

Thomas A. Rowe

Put it all on one line with no spaces and make sure the ending </td> is at the end on the same line.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Matthew said:
Hello, I know I'm not a html expert but I thought that spaces in coding had no affect on layout of
content. When I put all my slices together and set them to have javascript swaps,restores,and
preload the code got very long and FP put it all on one line so I put each individual image on a
seperate line.the code is below but just imagine the last lines were one line and almost identiacal
lines below it. Only FP put a single space between each image. Very frustrating. Please help. Matt
<td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif" width="106"
height="47"><img border="0" src="images/footer/footer_02.gif" width="185" height="47"><img
border="0" src="images/footer/footer_03.gif"
width="68"height="47"id="img5"onmouseout="FP_swapImgRestore()"onmouseover="FP_swapImg(1,1,/*id*/'img
5',/*url*/'images/footer/footer_roll_03.gif')">
 
S

Steve Easton

I don't see any spaces??
Is this published so we can see it.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

Matthew said:
Hello, I know I'm not a html expert but I thought that spaces in coding had no affect on
layout of content. When I put all my slices together and set them to have javascript
swaps,restores,and preload the code got very long and FP put it all on one line so I put
each individual image on a seperate line.the code is below but just imagine the last lines
were one line and almost identiacal lines below it. Only FP put a single space between
each image. Very frustrating. Please help. Matt
<td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif"
width="106" height="47"><img border="0" src="images/footer/footer_02.gif" width="185"
height="47"><img border="0" src="images/footer/footer_03.gif"
width="68"height="47"id="img5"onmouseout="FP_swapImgRestore()"onmouseover="FP_swapImg(1,1,
/*id*/'img5',/*url*/'images/footer/footer_roll_03.gif')">
 
T

Thomas A. Rowe

See following for allowed spaces:

<td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif" width="106"
height="47"><img border="0" src="images/footer/footer_02.gif" width="185" height="47"><img
border="0" src="images/footer/footer_03.gif" width="68" height="47" id="img5"
onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img
5',/*url*/'images/footer/footer_roll_03.gif')"></td>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Stefan B Rusynko

PS
And set you all your cell and image alignments

IMHO you will never get the 3 images to line up unless they are each in a cell of their own (instead of in a single cell).
If that causes you other table row problems, in the cell make a nested 1 row, 3 column table for the 3 images




| See following for allowed spaces:
|
| <td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif" width="106"
| height="47"><img border="0" src="images/footer/footer_02.gif" width="185" height="47"><img
| border="0" src="images/footer/footer_03.gif" width="68" height="47" id="img5"
| onmouseout="FP_swapImgRestore()" onmouseover="FP_swapImg(1,1,/*id*/'img
| 5',/*url*/'images/footer/footer_roll_03.gif')"></td>
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| > Put it all on one line with no spaces and make sure the ending </td> is at the end on the same
| line.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > | > > Hello, I know I'm not a html expert but I thought that spaces in coding had no affect on layout
| of
| > content. When I put all my slices together and set them to have javascript swaps,restores,and
| > preload the code got very long and FP put it all on one line so I put each individual image on a
| > seperate line.the code is below but just imagine the last lines were one line and almost
| identiacal
| > lines below it. Only FP put a single space between each image. Very frustrating. Please help. Matt
| > > <td valign="top" colspan="3"><img border="0" src="images/footer/footer_01.gif" width="106"
| > height="47"><img border="0" src="images/footer/footer_02.gif" width="185" height="47"><img
| > border="0" src="images/footer/footer_03.gif"
| >
| width="68"height="47"id="img5"onmouseout="FP_swapImgRestore()"onmouseover="FP_swapImg(1,1,/*id*/'img
| > 5',/*url*/'images/footer/footer_roll_03.gif')">
| >
| >
|
|
 
G

Guest

-----Original Message-----
Hello, I know I'm not a html expert but I thought that
spaces in coding had no affect on layout of content. When
I put all my slices together and set them to have
javascript swaps,restores,and preload the code got very
long and FP put it all on one line so I put each
individual image on a seperate line.the code is below but
just imagine the last lines were one line and almost
identiacal lines below it. Only FP put a single space
between each image. Very frustrating. Please help. Matt
<td valign="top" colspan="3"><img border="0"
src="images/footer/footer_01.gif" width="106"
height="47"><img border="0"
src="images/footer/footer_02.gif" width="185"
height="47"><img border="0"
src="images/footer/footer_03.gif"
width="68"height="47"id="img5"onmouseout="FP_swapImgRestore
()"onmouseover="FP_swapImg
(1,1,/*id*/'img5',/*url*/'images/footer/footer_roll_03.gif'
)">
.
I put your code into FP2003 and had no problem with
spaces between images.
However, to make sure your images are exactly where you
want them, put them all into one table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top