View Full Version : Help with codes.
COBRA
April 5th, 2007, 10:24 AM
like HTML codes or something. a friend of mine, is puting icons up on her Myspace. and wanted to put them in seprate scroll boxes, side by side. but i have no idea how to do it, and neither dose she.
how would you achieve this feat? lol
Dubird
April 5th, 2007, 12:18 PM
Myspace is really weird about that. You can't directly edit the code, you have override what they use and change the entire layout to change where things are. What exactly is she wanting to do?
COBRA
April 5th, 2007, 01:04 PM
Just take abunch icons, she has, and put them in, a window, with a scroll bar. then, put another one, right beside it.
gokuDX7
April 5th, 2007, 06:20 PM
I haven't tested this on myspace yet but im pretty sure it should work.
<div style="height:200px; width:300; overflow: auto; border: 1px solid #666; padding: 8px;" align="center">
<p>CSS OVerflow Oh Noes!!!</p>
<p>
<span style="color: red;">This is red color</span>
<img src="http://i148.photobucket.com/albums/s15/Holyvampire84/Banner%20Avatars/theundertaker.jpg" /></p>
<p>This scrolling can contain normal html like <a href="index.php">link</a></p>
</div>
Just copy and past that in your about me section (or any other section you want it in). Then look at the img code that I typed in and just replace it with the location of your image. Then copy and past that image code and past it and replace the image with any other image you want to add. Hope that helps.
PS. the scroll bar(s) show up when you add images bigger or more then the height or width of the div block. If you want to change the size of the block just look at the height and width numbers and change to whatever you want. Save and then preview on your myspace.
Sledgstone
April 5th, 2007, 09:56 PM
maybe they're using an iframe code? I have no idea what myspace allows. O_o
gokuDX7
April 5th, 2007, 10:21 PM
they allow html and css but in order to modify your "theme" you cant just use plain css most of the time. You have to spend some time viewing their CSS class names and just making adjustments. It's really not that hard but thanks to the messy code myspace does it takes a long time to make a full theme on your own.
Stuff like what hes asking for can be done fast and easy by just using inline css with divs.
Sledgstone
April 5th, 2007, 10:45 PM
Ah, I see. I remember seeing pre-made themes before. maybe theres a site out there with a myspace theme tutorial?
COBRA
April 6th, 2007, 02:15 AM
there might be, but you can find theme "generators" everywhere, but nothing for the scroll boxes, or something to advanced.
gokuDX7
April 6th, 2007, 03:12 AM
did you try the code I posted? Just add the images you want between the div tags.
COBRA
April 6th, 2007, 03:56 AM
it's for a friend of mine, she hasen't tryed it yet. but thanks for all the help. i'll let ya know if it works.
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.