PDA

View Full Version : How do i make one of those scrolly things inside the web page?



Smith
03-23-2005, 11:54 PM
http://img216.exs.cx/img216/6358/untitled10ig.th.jpg (http://img216.exs.cx/my.php?loc=img216&image=untitled10ig.jpg)

I want to get that on my geocities test site. Im just using geocities to get a layout for my project. Its the scroll bar inside the page. Thanks

Vargas
03-24-2005, 12:19 AM
iFrames example:

<iframe src="http://spyamp.sourceforge.net/servers.php" width="350" height="200" frameborder="0" marginheight="0">

tesco
03-24-2005, 02:57 AM
if u use css you can do:


<div id="whatever">
your stuffs
</div>

then in the css you put:


#whatever {height:10px; width:10px;overflow:scroll;}


(change #whatever to some other name and set the width and ehight to whateevr u want.

Smith
03-24-2005, 09:18 PM
LOL, sorry im dumb, whats an iframes example?

Ok i get it. now what i want to do is but a picture in the background and then be able to put test over that. Like an update thing... how do i do that?

Vargas
03-25-2005, 12:00 AM
if you want a box in the middle of a picture, u you can use background image
or you can use four images one above, one right and left of the iframe and one below

attached is one using background image

there may be better ways... i used notepad :D

Smith
03-25-2005, 01:16 AM
Ok i got this far:



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><body background="background.png"><br><br><br><br><br><center>
<iframe src="update.htm" width="600" height="200" frameborder="3" marginheight="3">
</center></body></html>

Now how do i get my test in there? I want my test to be white and italic.

Thanks for your patience :01:

Vargas
03-25-2005, 01:27 AM
edit the contents of update.htm, and put your text there
update.htm is whats displayed in the scrolly thing box in iframe.htm

Smith
03-25-2005, 01:36 AM
ohhh i c, ok ill try that out now. but does that mean i have to upload the update.htm file?

Vargas
03-25-2005, 01:44 AM
yes, and a background.png also

Smith
03-25-2005, 01:45 AM
Ok i got it working with text, now all i need to know is how to add a background picture to this htm file.


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>eXeem</title></head><body bgcolor=black text=white link=lightblue vlink=pink alink=red>






<table border=3 cellspacing=0 cellpadding=4 bordercolor="white" align=center width=100% height=100%>
<tr><td bgcolor=#333333>

<font size="3" face="Verdana, Arial, Helvetica, sans-serif"><center>

<i>News</i>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</center></table></TD></TR></body></html>