Jump to content

Recommended Posts

Posted

Hi all,

On following url, I have a site under construction (its in swedish, therefor the ... below), http://www.jikrantz.com/assistans/home/

In the left frame I have a Tell a friend-script (yes I know, I have mentioned it in another thread). Below the "...e-postprogram" there is a lot of extra space I wanna get rid of so it looks like all other stuff in this frame. I always had this problem with extra space when using scripts, so is there any way i can get rid of it? I posted same question in the official csb-forum long ago, but figured there might be people here that isnt visiting that forum that might know the answer.

I worked on a tree-menu script once, in that case the script produced tables, but that doesnt seems to be the case this time.

 

-Thomas

Posted

Thomas in looking at the html

it looks like you may have selected the place holder for the script and changed the font size?

the is a <div> tag wrapping the script and will start a new line after.

 

If this is the case, can you select the whole cell with the place holder and remove all formatting for that table cell to see if that helps?

You can apply font formatting to the entire table so it is not in a cell.

 

If not I will look more when i get home.

 

 

<tR>

<tD  VALIGN=TOP HEIGHT= 6  WIDTH="175">

 

<div>

<FONT SIZE="1" COLOR="#FFFFFF" FACE="Verdana">

 

<!-- Start Gem Insert your own HTML -->

<form name="eMailer">

Tell a friend:

<input type="text" name="email" size="20" value=" Enter Address Here" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true">

<a href="java script:mailThisUrl();">Send This URL</a>

<br>När du klickar denna länk så öppnas ditt e-postprogram.

</form>

<!-- End Gem Insert your own HTML -->

 

</FONT>

</div>

</tD>

</tR>

Posted

Hm...now you really lost me.

The script is placed in a holder and that holder is set to 1 since it always converts to 8 in reality if not font settings are written in the script.

I always set it to 1 to reduce space above and below the script.

I have now copied your quote, pasted it in to the page with same result.

I have skipped the place holder and pasted it with the ...same result but an addition too, it created a new empty cell for me above the script.

I have selected whole cell and removed any font setting and things i can think of...still same result.

I have gone nuts over this (spinning smilie)

I will upload the page as it looks like with that extra cell so you can see it.

 

-Thomas

Posted

What I found was that the closing </FORM>tag is creating a blank line after,

so I moved it below into the pass through,

and it works. I also changed the mouse over part to make it work.

 

 

<tR>

<tD VALIGN=TOP HEIGHT= 13 WIDTH="175"><div><FONT SIZE="1" COLOR="#FFFFFF" FACE="Verdana">

<!-- Start Gem Insert your own HTML -->

<form name="eMailer">

Tell a friend:<BR>

<input type="text" name="email" size="20" value=" Enter Address Here" onFocus="this.value=''"><BR>

<A HREF="java script:mailThisUrl();" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true"

onMouseOut="window.status=''">Send This URL</A>

<br>När du klickar denna länk så öppnas ditt e-postprogram.

<!-- </FORM> remove and put below -->

<!-- End Gem Insert your own HTML -->

</FONT></div>

</tD>

</tR>

<tR>

<tD VALIGN=TOP HEIGHT= 10 ><NOBR></form><HR COLOR="#FFFFFF" >

</NOBR>

</tD>

</tR>

 

Hope this helps.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...