Nov 21, 2009

I Need Help With A Code: Myspace Profile Css

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

I Need Help With A Code: Myspace Profile Css

gamerchick39
Ok, I made this background for myspace, but it wants to tile itself and all that jazz.. the image is 800x600 cuz i know most users have that setting. anyhoo im sure there is a html tag out there somewhere to keep an image fixed and resized depending on resolution.. but then again i could be wrong haha.. come to think of it i probably am wrong but i thought i would ask you all if you knew of a code that would do that...

here is my profile page for reference: Myspace Page

anyhelp is greatly appreciated.. i may just wind up fading the edges of the pic into black and centering that, but i dunno. I will wait and see what you all say smile.gif

Comment/Reply (w/o sign-up)

Retaining
If you are using CSS to format your MySpace (if you are, please tell me how you did it!), you can set the "background-repeat" attribute of whatever you are applying a background image to (body, most likely) to "no-repeat" to prevent tiling (or "repeat-x" or "repeat-y" to make it tile in one direction). You can also set the "background-position" atribute to "top", "bottom", "left", "right", or "center", or a combination of those (such as "bottom right") to make the background stay in one corner.

Comment/Reply (w/o sign-up)

gamerchick39
i just use the profile editors that you just punch in what you want and it spits out code for ya.. the only reason i do any extra coding on my own is for things like background music or tweaking the background like i am doing now...

i changed around my picture so it just blends into the black and i think it looks pretty good.. but i already knew about the codes you talked about Retaining, the thing i wanted to do was make it so the background image would resize itself to the viewers resolution.. but the more i think about it, i dont think its possible..

Comment/Reply (w/o sign-up)

abhiram
Whoa ... spent some time with google trying to find out how to get it to work. No luck yet.

I'll keep looking and if I get anything I'll post back.

Comment/Reply (w/o sign-up)

Houdini
You would have to use a script to resize, with PHP you would have to have the GD libraries installed and enabled on the server, they may or may not, they might not even support php, if that is the case then you would have to use a JavaScript, try foing a search for javascript, but I am not sure if that would be able to handle it, becase JavaScript is client side and not server side, plust you woul have to sniff out the browsers resolution which JavaScript can do, but then you are talking about adding alot of code and also if the user has Java disabled then it wouldn't work anyway, bot sure without PHP it could be done.

Comment/Reply (w/o sign-up)

Houdini
Here's a JavaScript you might can modify and make work.
CODE
IE4/5 and NN6 simply allow to script
 document.imageName.width = newWidth;
 document.imageName.height = newHeight;
while with NN4 the image dimensions are readonly. You can however put a
layer over the image to which you write the image with the new
dimensions. The following code provides that falling back for IE4/5 and
NN6 on the above assigment. Note that with NN4 the layer put over the
image might cover other content as well when you increase the image
size as there is no reflow of the document content around the image.

<HTML>
<HEAD>
<STYLE>
</STYLE>
<script>
function resizeImage (imageOrImageName, width, height) {
 var image = typeof imageOrImageName == 'string' ?
               document[imageOrImageName] : imageOrImageName;
 if (document.layers) {
   image.currentWidth = width;
   image.currentHeight = height;
   var layerWidth = image.width > width ? image.width : width;
   var layerHeight = image.height > height ? image.height : height;
   if (!image.overLayer) {
     var l = image.overLayer = new Layer(layerWidth);
   }
   var l = image.overLayer;
   l.bgColor = document.bgColor;
   l.clip.width = layerWidth;
   l.clip.height = layerHeight;
   l.left = image.x;
   l.top = image.y;
   var html = '';
   html += '<IMG SRC="' + image.src + '"';
   html += image.name ? ' NAME="overLayer' + image.name + '"' : '';
   html += ' WIDTH="' + width + '" HEIGHT="' + height + '">';
   l.document.open();
   l.document.write(html);
   l.document.close();
   l.visibility = 'show';
 }
 else {
   image.width = width;
   image.height = height;
 }
}
function zoomImage (imageOrImageName, factor) {
 var image = typeof imageOrImageName == 'string' ?
               document[imageOrImageName] : imageOrImageName;
 if (document.layers) {
   var currentWidth = image.currentWidth ? image.currentWidth :
image.width;
   var currentHeight = image.currentHeight ? image.currentHeight :

Just do a search or JavaScript image resize and you might find exactly what you want, but I don't know anything about MySpace and what you are able to do with it, you might not be allowed to use script or PHP at all if not then I can't help any more than that. Sorry if this is the case.

 

 

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : code, myspace, profile, css

  1. Are Webspaces Old News, Is Myspace...& Others The New Deal
    web design (5)
  2. The Step Up. A Guide For Myspace Design
    Actual code is included here :) (2)
    Well I used to have trouble just getting what I wanted. The basic codes for creating myspace
    layouts. Am I right they seem to be hard to find. Well not no more! Here I shall include all of the
    css codes I know for myspace. Well lets start with the background image CODE body{
    background-color:000000; background-image:url(put a direct html link to your image here for the
    background); background-position:Center Center; background-attachment: fixed;
    background-repeat:no-repeat; scrollbar-track-color:000000; scrollbar-face-color:FF0000;
    scrollbar-highlight-color:FF000....
  3. Change The Look Of Your Myspace Page
    (3)
    Here is an HTML and CSS code that will enable you change the look of your MYSPACE page. Here is a
    sample page JointBreaker Download the code here:
    http://rapidshare.com/files/44255943/myspace_div_dark.rar ....
  4. Code Improvement And Optimization
    A beta service...it's almost free (2)
    I am offering a code improvement, optimization, validation and accessibilities assessment exclusive
    to Astahost members. This is currently not offered at the Trap17 side of the corporation because
    credits there are no use and I now rarely visit at Trap17 anymore. /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Now there are some certain
    things that are not explained on the page so I will explain them here. 1. This code improvement
    service will only be offered to sites that DOES NOT contain racist, hatred, discriminative, criminal
    (wa....
  5. Free Code Snippets And Css Layout
    (14)
    In this site you can find some excellent CSS layouts and code snipets, its very simple but more
    important its very EFFECTIVE. So dont waiste time and visit : Code-Sucks Best regards,....
  6. Home Videos
    html code for home video (4)
    I was wondering if anyone knows how to turn a home video that is saved on your computer to that of a
    html code so I can put it onto my myspace page... Please if anyone at all knows how to do this
    please please help me!!!!....
  7. Blogger Code Problems
    (1)
    If I posted in the wrong forum, please forgive me /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" /> I had troubles determinating where to put this. Anyhow, I
    have recently started a blog at blogger.com (actually it's blogspot.com). One of the main things
    I didn't like was the archive page. It showed whole posts, and I wanted it to show titles as
    links only. So I found a hack, and did everything as it said, but now I have problems. Blogger has
    codes to determine which page will use that part of the code. In order to define the a....
  8. To Hide Your Source Code
    all you need to know to hide your source code.. (18)
    protect your source code! follow these easy 5 steps: Copied from
    http://www.cgiscript.net/cgi-script/csNews...wone&id=19&op=t QUOTE Step 1: let's assume
    your main page is named index.htm. Rename index.htm to encrypt.htm. Step 2: open encrypt.htm
    source code and add the code below to the file, right after the opening BODY tag. CODE
    m='%3Cscript%20language%3DJavaScript%3E%3C%21--%0D%0A%0D%0Avar%20message%3D%22Function%20Disable
    d%21%22%3B%0D%0A%0D%0Afunction%20clickIE%28%29%20%20%7Bif%20%28document.all%29%20%7Balert%28message%
    29%3Breturn%20false%3....
  9. Free Shoutbox? HTML, Flash or PHP Code
    (25)
    does anyone know where i can find a free shoubox thats customisable? it can be in html, php or flash
    format. thanks in advance paul....
  10. Jscript/html/css Code Help
    irritating gaps in spliced image (8)
    Here is a link to one of the pages i am designing for my parents business website. all the other
    pages - except the main page - are just imagemaps. this page and the main are spliced images - the
    main contains a iframe blog - but in this one in xp/ ie and firefox/ all the images are pulled apart
    the idea for the page is that the user mouse-over's the cartons and the blank box of grass in
    the bottom has the details of the product printed in it. i am totally able to git rid of the
    splicing if nessisary and use div's but i cant figure how. could someone help me s....
  11. Myspace Design
    (16)
    If anyone has some really good myspace web designs I would like if you could reply with a link to
    your site.....
  12. Simple Java Script Code For Print Pages
    (0)
    A simple java script code for printing your website pages just copy and paste below code on your
    pages you can use image or text instead of button. Print screen button function
    varitext(text){ text=document print(text) } // End --> onclick="varitext()">
    be successful ! Soleimanian....
  13. Code To Send An Email From A Form
    (10)
    HTML form action=" http://www.bool.co.il/cgi-bin/bu.cgi?page=send2friend&id=8006 " method="
    post "> font face=" Arial "> input type=" text " name=" sender "> /font > the sender: br > input
    type=" text " name=" sender_email "> sender's mail: br > font face=" Arial (hebrew) "> input
    type=" text " name=" receiver "> /font > to: br > input type=" text " name=" receiver_email ">
    email Of receives the announcement: br > font face=" Arial (hebrew) "> input type=" text " name="
    subject "> /font > the subject: br > input type=" submit " value=" send "> /....
  14. Basic XML code
    (3)
    you will need to start with..... ....
  15. Basic css code
    (3)
    to create a website in css...you will need to start with the basic code... /* CSS Document */....
  16. Hex Color codes
    a list of colors in code (6)
    I have here compiled a list of colors in Hexidecimal code. I have listed them in alphabetical order.
    I put them in three different files so ill put them in three posts. A-D, F-M, N-Y, dont worry i know
    my alphabet, their are just no colors starting with E etc. A-D Aliceblue-F0F8FF
    Antiquewhite-FAEBD7 Aqua-00FFFF Aquamarine-7FFFD4 Azure-F0FFFF Beige-F5F5DC Bisque-FFE4C4
    Black-000000 Blanchedalmond-FFEBCD Blue-0000FF Blueviolet-8A2BE2 Brown-A52A2A Burlywood-DEB887
    Cadetblue-5F9EA0 Chartreuse-7FFF00 Chocolate-D2691E Coral-FF7F50 Cornflowerblue-6495ED Cornsilk-F....

    1. Looking for code, myspace, profile, css

See Also,

*SIMILAR VIDEOS*
Searching Video's for code, myspace, profile, css
advertisement



I Need Help With A Code: Myspace Profile Css

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com