Archive for Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
  Forum Index -> Web page/template Editing

Script with height Attribute

I am trying to add a script to a webpage using the following code that was sent to me.

<script language="javascript" src=""></script>

Now if you view the original page, it shows the radio box nice and small.

However when i try and add this to a webpage it comes out like below.

I have tried adding a height attribute to this using the follow code.

<script language="javascript" src="" height="42" width="42"></script>

But it will not make any difference to the height.

If i add the script in the HEAD then it appears normal, however trying to add to BODY makes it stretch down the page.

I have tried to embed using the normal embed tag, however when doing this IE works normal , but FF asks for a plugin.

I have also tried using the tag <audio> but using this tag nothing shows, im guessing as audio is not defined.

So in a nutshell how can i embed this code in a webpage and have it look normal
myff admin

script does not have a height attribute, you will need to wrap the script tag in some kind of frame.

Ok thanks for that ...

So why does it show as normal once placed in the HEAD but goes really stretched when place in the body ?
myff admin

Hard to say, html does get a bit random if not used correctly.

I tried wraping it in an iframe , but the their website not mine returns errors..

Is it possible to wrap in a div class and define the class in the .css

Maybe im way out but im trying this

<div class="radio">
<script language="javascript" src=""></script> </div>


#radio {
    width: 100px;
    height: 100px;

Set int he .css
myff admin

My html/css i getting very rusty, but I think  # in css refers to an id "." to a class

Ok forget the post above it wasnt working..  
So i used the code below and changed the background colour , and i`m please to say it has worked.

<p align="center">Listen to Tracey Collins radio interview with radio Croydon</p>
<p align="center">&nbsp;</p>
<p align="center">This is the recording of Tracey Collins the founder of Hackbridge Safety first,</p>
<p align="center">Speaking on the Pix&amp;mix show</p>
<p align="center">With Host Glenn Lawrence</p>
<p align="center">&nbsp;</p>
<p align="center">During the 2nd half of the show, Tracey Collins&nbsp; joined&nbsp; Glenn Lawrence to  discuss her road safety campaign for Hackbridge.</p>
<p align="center">&nbsp;Tracey and Glenn&nbsp; talked about the issues and barriers  she has faced</p>
<p align="center">Her campaign for the  safety of all pedestrians</p>
<div align="center">
<div style="width:206px; background-color:#FFFF00;">
<div align="center"><img width="200" height="5" src="" alt="" /></div>
<p align="center"><object width="30" height="30" id="wimpy_button_1" name="wimpy_button_1" codebase=",0,47,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="" name="movie" />
<param value="high" name="quality" />
<param value="transparent" name="wmode" />
<param value="true" name="autoplay" /> <embed width="30" height="30" align="texttop" autoplay="true" name="wimpy_button_1" wmode="transparent" type="application/x-shockwave-flash" pluginspage="" quality="high" src=""></embed></object>Pick &amp; Mix ft Tracey Collins - Glenn Lawrence  <img src="" alt="" /></p>
<div align="center">
<p>To download a copy of this interview you can go to the link below.</p>
</div> Forum Index -> Web page/template Editing
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum