Can Some One Help Me Edit This Myspace Layout Code

Discussion in 'HTML & Website Design' started by moneybrown, Sep 10, 2008.

  1. #1
    NOW THIS IS the code to 50 cents page... www.myspace.com/50cent...go there and see the layout and how it is...what im trying to do...find the coding in this code to change the top banner..i alredy place this code on my profile..got what i want ..but ...the part at the top of 50 pages....i want to put my pic( a gif file ) there ..but on my page after putting the code that top part is empty...can someone help me find the part in this code where i would place my gif file at...my myspace is myspace.com/jmoneygetmoney...look there then look at 50's page and you will see on my page the top moving banner or movie is not there..im sure on 50's page is prob a flash video..but i jsut want to my gif file..which is

    <a href="http://photobucket.com" target="_blank"><img src="http://i254.photobucket.com/albums/hh109/BNBDESIGN/smoking.gif" border="0" alt="Photobucket Image Hosting"></a>


    <a href="http://photobucket.com" target="_blank"><img src="http://i254.photobucket.com/albums/hh109/BNBDESIGN/smoking.gif" border="0" alt="Photobucket Image Hosting"></a>







    <style>
    .mygen { Created using MyGen 2.5 - www.mygen.co.uk }

    .mygen { Background Properties }
    table, tr, td { background-color:transparent; border:none; border-width:0;}
    body {
    margin-top: 770;
    background-color:000000;
    background-image:url("http://i300.photobucket.com/albums/nn21/mp3leak/50%20Cent/background.jpg");
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    }


    .mygen { Text Properties }
    table, tr, td, li, p, div { font-family:arial; color:FFFFFF; font-size:11px; }
    .btext { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    .blacktext10 { font-family:arial; color:FFFFFF; font-size:11px; }
    .blacktext12 { font-family:arial; color:FFFFFF; font-size:11px; }
    .lightbluetext8 { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    .orangetext15 { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    .redtext { font-family:arial; color:FFFFFF; font-size:11px; }
    .redbtext { font-family:arial; color:FFFFFF; font-size:11px; }
    .text { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    .whitetext12 { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    font { font-family:arial; color:000000; font-size:11px; }
    a:active, a:visited, a:link { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    a:hover { font-family:arial; color:FFFFFF; font-size:11px; }
    a.navbar:active, a.navbar:visited, a.navbar:link { font-family:arial; color:FFFFFF; font-size:11px; }
    a.navbar:hover { font-family:arial; color:FFFFFF; font-size:11px; }
    a.redlink:active, a.redlink:visited, a.redlink:link { font-family:arial; color:FFFFFF; font-size:11px; font-weight:bold; }
    a.redlink:hover { font-family:arial; color:FFFFFF; font-size:11px; }
    .nametext {display:block; font-size:0%; width:100%; background-image:url

    (http://i300.photobucket.com/albums/nn21/mp3leak/50 Cent/mainname.jpg);

    background-position:top center; background-repeat: no-repeat; width:330px; height:424px; margin:0px; padding:0px;}
    font {color:FFFFFF;}

    .topbanner {
    width: 890px ;
    height: 500px ;
    position: absolute ;
    top: 5px !important;
    margin-left: -445px ;
    left: 50% ; }

    </style>


    <style>
    .contactTable { display: none; }
    </style>


    <style>
    table.friendsComments, table.friendsComments table, table.friendsComments td {width:850px;}
    table.friendsComments table table td.columnsWidening{ width:850px !important; }
    table.friendsComments table table td {width:100px !important;}
    </style>


    <style>a .text { font-weight: bold; font-family: Arial, Helvetica, sans-serif; }</style>


    <style type="text/css">


    .commentlinks a { font-weight:normal; font-size:9px; }


    td.columnsWidening img, td.columnsWidening object { max-width:260px; }


    </style>


    <style type="text/css">
    td.columnsWidening img, td.columnsWidening object { width: expression(this.width > 260 ? 260 : true); }
    </style>


    <style type="txt/css">
    .loc2 a small { font-size:12px; } div.srchButton div input#submit { padding:5px 0 5px 0; } div#shortcuts {margin: 4px 0px 0px 5px !important; padding: 7px 0 0 7px !important;}
    </style>


    <style type="text/css">
    #header * { font-family:verdana,arial,sans-serif,helvetica; }
    .popup_wrapper {z-index: 1000001 !important;}
    </style>


    <style type="text/css">
    #headerWrap #header #topnav
    {
    background: none !important;
    }
    </style>


    <style type="text/css">
    #header TABLE DIV#srchMenuListBox_Header{display: none !important;}
    #header TABLE DIV#srchMenuListBox_Header.open{display: block !important;}
    div#searchContainer_Header{ margin-top: 5px !important;}
    </style>


    <style type="text/css">
    #srchMenuListBox_Header{white-space:nowrap !important;background-image:none !important;}
    #srchMenuListBox_Footer{white-space:nowrap !important;background-image:none !important;}
    DIV.srchfieldLayer{width:304px !important;}
    DIV#srchMenuListBox_Header{width :auto !important;}
    DIV.srchfieldLayer DIV{width:auto !important;}
    DIV.srchfieldLayer DIV DIV{width:auto !important;}
    DIV#srchMenuContainer{width:auto !important;}
    DIV.srchButton{width:auto !important;}
    div.srchButton div{width:auto !important;}
    div#srchMenuListBox_Header{display:none !important;div#srchMenuListBox_Footer{display:none !important;}
    </style>


    <style type="text/css">
    #musicnav {width:800px; border-bottom:1px solid #000; background-color:#990033; color:#FFFFFF;}
    #musicnav a {color:#FFFFFF; font-weight:normal; font-size:90%; display:inline-block;}
    </style>


    <STYLE type=text/css>
    #browseMain td {text-align:left;}
    </STYLE>


    <style type="text/css">
    body, html {visibility:visible !important; display:block !important}
    </style>
     
    moneybrown, Sep 10, 2008 IP
  2. farley

    farley Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it's not in the styles (css), it's in the html.

    first, yeah it is flash, you can tell by right clicking on it, you see Flash settings.

    and you know flash files end in .swf

    so you go to 50's page and look at the Page Source (html)
    (in firefox, View->Page source)

    now you can search for "swf" in there
    (in firefox, Edit-->Find in this page)

    you find the following object with link to "http://www.leakdesign.com/50cent/myspace/ecard.swf"

    so to test is that it, you copy that link (just the link part as shown in the line above) and pull it up with the browser, yup that's it

    so you can copy the html into yours and just change that object to your gif

    now you still might have to tweak the styles (margins, etc) to get in in the same place because a flash is handled differently than a gif
     
    farley, Sep 10, 2008 IP
  3. moneybrown

    moneybrown Peon

    Messages:
    308
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    so there is nothing in the code i pasted in the thread that i can insert my gif link?...i thought there would be becasue my page has everything i want...even the space i need at the top for my gif... but empty...there is no wehre in the code that i can place my gif at and i will see my gif instead of emplty black space...they way you told me....i understand it..will try again...but i still cant get it lol...just let me know..thanks for taking the time out
     
    moneybrown, Sep 10, 2008 IP
  4. farley

    farley Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    well you can include a pic in the styles (by using background-image:url) but that's usually for backgrounds. it gets limiting when you want to include a bunch of pics, better to put them in the html. that's what 50's designer did.

    the styles are creating that big empty space for the pic. but you still have to put something in the space. and that would usually be by editing the html.

    now this is a general approximation but it -looks- like:

    topbanner style is going to give that big empty space anytime you call it.

    so you wrap your pic in topbanner div.

    IN STYLES
    topbanner {
    width: 890px ;
    height: 500px ;
    position: absolute ;
    top: 5px !important;
    margin-left: -445px ;
    left: 50% ; }

    IN HTML
    <div class="topbanner">

    <object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="440" width="890" data="http://www.leakdesign.com/50cent/myspace/ecard.swf">
    <param name="allowScriptAccess" value="never" />
    <param name="allowNetworking" value="internal" />
    <param name="movie" value="http://www.leakdesign.com/50cent/myspace/ecard.swf" />
    </object><br />
    <img src="http://i300.photobucket.com/albums/nn21/mp3leak/50%20Cent/instructions.jpg" /><br />

    etc etc
    and evenually close the div:
    </div>

    50's code is loaded with tables so it will probably be a pain to work with.... tables can be pesky.
     
    farley, Sep 11, 2008 IP
  5. moneybrown

    moneybrown Peon

    Messages:
    308
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you know what...after looking at the code i noticed that...the top part dont have no top banner url to point to...but in the middle it does..which i know is for the back ground its self... but couldnt get to fix the code at top to insert my gif..ima look at it some more again
     
    moneybrown, Sep 11, 2008 IP