problems insert background

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
dialectic
Posts: 3
Joined: Tue Jul 06, 2004 1:23 pm

problems insert background

Post by dialectic »

hi, just starting html

I had a background in the body and it looked good but i added text to it and resaved it and now when i shove it in the body it dont work

i tried to copy it to other locations in my page and it works.. it opened it in explorer and its ok and irfan

i changed my file index.html to open with firefox(not sure if its suppose to open with tp ?)

but the problems is sometimes i go to view it in firefox and the url is messed up a bit: instead of saying .../index.html it shows .../tp***(textpad references ..../index.html)

and it keeps adding tp** files

ive also tried to add color into the <body> and it doesnt work either

any solutions ?
none yet
dialectic
Posts: 3
Joined: Tue Jul 06, 2004 1:23 pm

nt

Post by dialectic »

<!doctype html public"-//w3c//dtd html 4.01 transitional//en"

"http://www.w3.org/tr/html4/loose.dtd">

<html>
<head>

<meta http-euiv="content-type"
content="text/html;charset=ANSI</>

<title>Antoni Gaudi-Introduction</title>

</head>

<body background="http://imgsrc.hubblesite.org/hu/db/1995 ... lpaper.jpg">

<!--here is the table of contents which in a real document might be a good deal longer.-->
<center>
<img src="jex1.jpg" width="182" height="42" border="1" align="center" alt="Jex"</img>
</center>


<div class="toc" title="table of contents"<a href="#Antonio">Antonio Gaudi</a><br><a href="#mila">La Casa Mila</a><br /><a href="#familia">La Sagrada Familia</a></div>

<div id="gaudi">
<h1><a name="Antonio">Antonio Gaudi</a></h1>
<p>Many tourist are drawn to Barcelona to see Antoni Gaudi's increadible archetecture.</p>
<p>Barcelna celebrates the 150th anniversary of Gaudi's birth in 2002.</p>
</div>

<div class="works">
<h2><a name="mila">La Casa Mila</a></h2>
<p>Gaudi's work was essentially useful. La Casa Mila' is an apartment building and <span class="emph">real people</span> live there.</p>
</div>

<div class="works">
<h3><a name="familia">La Sagrada Familia</a></h3>
<p>The complicatedly named and curiously unfinished Expiatory Temple of the Sacred Family is the <span class="emph">most visited</span> building in Barcelona.</p>
</div>


<a href="http://www.republika.pl/kret_jr/Galeria/Kirk_1.jpeg"
<img src="http://www.republika.pl/kret_jr/Galeria/Kirk_1.jpeg" height="75" width="75"></img></a>


<marquee "behavour="scroll" direction="left" loop="infinite"><b>The kill em all Page</b></marquee>

</body>
</html>
none yet
User avatar
BenjiSmith
Posts: 49
Joined: Fri Jan 16, 2004 9:37 pm
Contact:

Post by BenjiSmith »

If you use the "view in browser" feature of TextPad on a file that has been recently saved, the URL will look normal. But if you haven't saved your file, then TextPad sends a temporary version of the file (with the tp prefix) to the browser, so that it doesn't overwrite your saved version.
dialectic
Posts: 3
Joined: Tue Jul 06, 2004 1:23 pm

re

Post by dialectic »

i originally saved it as index.html.......with the background in the body then i downloaded irfanview viewer so i could add text and i saved it over top of my fiile

the background can be placed with img src but not in the body tag

and it saves tp files everytime i hit view in browser and i have the screen to the left


also my images are in c:/webpage and no files show up in tp but they do in explorer
none yet
Post Reply