![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2006
Posts: 27
OS: Win XP Pro
|
very basic question here
Ok I am in the final stages of creating our company's website (which I will post the link when its finished) I have a question. Because I am using a web devloping program I am not as versed in the HTML / Java language as I prob should be. I was given a code to paste in to the source of my webpage and the instructions were to place this code where i wanted it on my webpage. But thats all and when I did it placed the JS item in the upper most left hand part of my page. I am wondering what tags do I need to insert and where do I need to insert them to move this script around my page to where I want it. There is no drag and drop option available I have to manually place the code in. Here is what the source looks like. Its the only thing on the page right now. Any help is appreciated. Thanks. --- Joe.
<head> <title> Eagle_Cornice_Website » Page 7 of 7 </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css;"> <meta name="Author" content="Web Easy Professional Avanquest Publishing USA, Inc."> <meta name="Keywords" content="Web Easy, Avanquest"> <meta name="Description" content="This web site has been created technology from Avanquest Publishing USA, Inc."> <link rel="stylesheet" href="eagle_cornice_website_g.css" type="text/css" media="screen,projection"> <!--// Document Style //--> <link rel="stylesheet" href="eagle_cornice_website_007_p.css" type="text/css" media="screen,projection"> <!--// Page Style //--> <script src="eagle_cornice_website_g.js" type="text/javascript" language="JavaScript1.2"></script> <!--// Document Script //--> </head> <body id="page"> <script src='http://voap.weather.com/weather/oap/USRI0014?template=DRIVV&par=1000303098&unit=0&key=1311f4286d00b197b080b4b5aceb3f33'></script> </body> </html> |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Retired
|
In order to position it where you want it, you must put it into a table layout where it is desired or (better option and more current coding practices...) put it into a <div></div> tag and position the div where you want it.
By doing this: <div style="position: absolute; top: 0; left: 0"> <script src='http://voap.weather.com/weather/oap/USRI0014?template=DRIVV&par=1000303098&unit=0&key= 1311f4286d00b197b080b4b5aceb3f33'></script> </div> you can place it anywhere you desire by changing the "top" and "left" attributes in the opening <div> tag. The numbers mean pixels from the respective edge. setting the values to "0" as I did will put it in the upper most top left corner (where it is right now). Changing top to "100" and left to "100", it will move it 100 pixels from the left edge and 100 pixels from the top edge. I hope this helps.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jul 2006
Posts: 27
OS: Win XP Pro
|
IT HELPS IT HELPS, thank you very much. I had feeling the tags for Java were different than std HTML and usign align=right and so on wasnt doing it. I will let you know how I made out. Thank you again.---- Joe.
|
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jul 2006
Posts: 27
OS: Win XP Pro
|
Ok
Ok I tried it and it didnt seem to work. Here is what the whole source looks like.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- Generated by Avanquest Technology v:6.0. For information please visit: http://www.v-com.com --> <html lang="en"> <head> <title> Extras </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css;"> <meta name="Author" content="Web Easy Professional Avanquest Publishing USA, Inc."> <meta name="Keywords" content="Web Easy, Avanquest"> <meta name="Description" content="This web site has been created technology from Avanquest Publishing USA, Inc."> <link rel="stylesheet" href="eagle_cornice_website_g.css" type="text/css" media="screen,projection"> <!--// Document Style //--> <link rel="stylesheet" href="eagle_cornice_website_007_p.css" type="text/css" media="screen,projection"> <!--// Page Style //--> <script src="eagle_cornice_website_g.js" type="text/javascript" language="JavaScript1.2"></script> <!--// Document Script //--> <script src="eagle_cornice_website_007_a.js" type="text/javascript" language="JavaScript1.2"></script> <!--// Motion Script //--> </head> <body id="page" onload="if(V5) OnWeLoad()"> <a href="eagle_cornice_website_004.htm" onmouseover="if(V4) OnWeOver(0,0,0,IDP[1],Img1,'eagle_cornice_website_004.htm',1)" onmouseout="if(V4) OnWeOver(0,0,0,IDP[1],Img1,0,0)"> <img id="e1" name="e1" src="eagle_cornice_website007001.jpg" title="" alt="eagle_cornice_website007001.jpg" align="right" border="0"></a> <a href="#" onmouseover="if(V4) OnWeOver(0,0,0,IDP[2],Img2,0,1)" onmouseout="if(V4) OnWeOver(0,0,0,IDP[2],Img2,0,0)"> <img id="e2" name="e2" src="eagle_cornice_website007003.jpg" title="" alt="eagle_cornice_website007003.jpg" align="right" border="0"></a> <a href="eagle_cornice_website_003.htm" onmouseover="if(V4) OnWeOver(0,0,0,IDP[3],Img3,'eagle_cornice_website_003.htm',1)" onmouseout="if(V4) OnWeOver(0,0,0,IDP[3],Img3,0,0)"> <img id="e3" name="e3" src="eagle_cornice_website007005.jpg" title="" alt="eagle_cornice_website007005.jpg" align="right" border="0"></a> <a href="eagle_cornice_website_002.htm" onmouseover="if(V4) OnWeOver(0,0,0,IDP[4],Img4,'eagle_cornice_website_002.htm',1)" onmouseout="if(V4) OnWeOver(0,0,0,IDP[4],Img4,0,0)"> <img id="e4" name="e4" src="eagle_cornice_website007007.jpg" title="" alt="eagle_cornice_website007007.jpg" align="right" border="0"></a> <span id="e5"></span> <span id="e6" class="cc22"></span> <span id="e7" class="cc22"></span> <div style="position: absolute; top: 800; left: 300"> <script src='http://voap.weather.com/weather/oap/USRI0014?template=DRIVV&par=1000303098&unit=0&key= 1311f4286d00b197b080b4b5aceb3f33'></script> </div> </body> </html> I did what I thought I was told but the JS item still appears at the top left hand corner of the page.??
Last edited by Joeb102072; 09-13-2006 at 09:55 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|