Jump to content


IM LOOKING FOR A CODE


10 replies to this topic

#1 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 20 November 2005 - 04:30 PM

Does anyone know the HTML code for making a scrollable content box with the background image in the same place but the text just scrolls up and down?

#2 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 20 November 2005 - 05:05 PM

this is the box:

<div style="background-image: url(image.gif); background-repeat: no-repeat; overflow: scroll; ">
Content goes here blablabla</div>

Edited by syndrome, 20 November 2005 - 05:09 PM.


#3 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 20 November 2005 - 05:41 PM

This is what i put in:
<div style="background-image: url(images/web_19.gif); background-repeat: no-repeat; overflow: scroll; ">
Welcome to ----</div>

But i still dont see my image :S

#4 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 20 November 2005 - 05:46 PM

look, here is the link to what i want to use as background content image:

www.cheryltweedy.uni.cc . Right click the page and view source. and find "web_19.gif" . Please try making a scrollable content box for this image. Thanx

Edited by GirlsAloudFan, 20 November 2005 - 05:47 PM.


#5 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 20 November 2005 - 08:34 PM

<TD COLSPAN=7 ROWSPAN=4>
<div style="background:url(images/web_19) no-repeat;width:409px;height:451px;overflow:scroll;>
blah
</div>
</TD>


#6 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 21 November 2005 - 02:40 AM

just suddenly realised last night i forgot to put in the heights of the div. sorry ;)

#7 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 21 November 2005 - 05:49 PM

lol, thanks anyways mate. At least you done something :D

#8 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 21 November 2005 - 05:54 PM

man, i think this code is messed up. It dont show the background exept for the writing. Is there any other one for it?

#9 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 22 November 2005 - 05:02 PM

Ok, i have everything else set up now. All I need for my content box is a scroll code. a HTML one!

#10 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 22 November 2005 - 06:13 PM

whats wrong with css... it only compliments html...

either way, you would use iframes if you dont want css.

#11 GirlsAloudFan

    Young Padawan

  • Members
  • Pip
  • 29 posts
  • Location:.::[ UK ]::.

Posted 23 November 2005 - 04:05 PM

do u know the best one that i could use? btw, check out my site... www.cheryltweedy.uni.cc and check the content box. You'll see what i mean by the background image being messed up. Please give me the BEST code for a scrollable content box where the background image stays in the same postion but the text only moves. Thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users