Log In · Register

 
Trying again..., i need alot of help...
Wasney
post Jun 7 2007, 08:10 PM
Post #1


RawR
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,962



Well, after failing at making my last div for myspace I am trying another go...so far I have made a nav area and just a banner to fill in space...no main img or anything else yet...here is the code...

CODE
<style type="text/css">

body
{
text-align: center;
}

div#container
{
margin-left: auto;
margin-right: auto;
width: 50em;
text-align: left;
}

#list-menu {
width: 132px;
/* this width value is also effected by
the padding we will later set on the links. */
}
#list-menu ul {
margin: 0;
padding: 0;
list-style-type: none;
font-family: verdana, arial, sanf-serif;
font-size: 12px;}

#list-menu li {
margin: 2px 0 0;
}

#list-menu a {
display: block;
width:120px;
padding: 2px 2px 2px 10px;
border: 1px solid #000000;
background: #dcdcdc;
text-decoration: none; /*lets remove the link underlines*/
}

#list-menu a:link, #list-menu a:active, #list-menu a:visited {
color: #000000;
}

#list-menu a:hover {
border: 1px solid #000000;
background: #333333 url(http://img241.imageshack.us/img241/227/smallmo2.jpg);
color: #ffffff;
}
</style>

<div id="container">

<div id="list-menu" style="position: absolute; left:000px;  top:000px; width:150px; height:110px; overflow: auto;">
<ul>
<li><a href="http://home.myspace.com/index.cfm?fuseaction=user" onfocus="this.blur()">Home</a></li>
<li><a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=36517616" onfocus="this.blur()">Add Me</a></li>
<li><a href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=36517616" onfocus="this.blur()">Message Me</a></li>
<li><a href="http://blog.myspace.com/index.cfm?fuseaction=blog.ListAll&friendID=36517616" onfocus="this.blur()">Blog</a></li>
<li><a href="http://collect.myspace.com/index.cfm?fuseaction=block.blockUser&userID=36517616" onfocus="this.blur()">Block</a></li>
</ul>
</div>

<div class="content" style="position: absolute; left:140px;  top:000px; width:600px; height:110px; overflow: auto;"><center>
<img src="http://img501.imageshack.us/img501/4853/bannervk9.jpg">
</div>
</div>


When I go to test it in myspace it changes my code so it doesn't work...is there a different set of codes i need to use?
 
 
Start new topic
Replies (1 - 5)
speakerboxx123
post Jun 7 2007, 10:27 PM
Post #2


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



but you might not want to erase the # symbols infront of the hex color codes.
 
*karmakiller*
post Jun 7 2007, 11:34 PM
Post #3





Guest






^ You don't use the # symbol at all in myspace codes.

If you want to make navigation, I'd suggest using this script instead of the ones intended for websites and not myspace.
 
Wasney
post Jun 8 2007, 12:02 AM
Post #4


RawR
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,962



Thank you very much karmakiller :) That script is awesome :D
 
speakerboxx123
post Jun 8 2007, 11:18 AM
Post #5


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



QUOTE(karmakiller @ Jun 7 2007, 11:34 PM) *
^ You don't use the # symbol at all in myspace codes.

If you want to make navigation, I'd suggest using this script instead of the ones intended for websites and not myspace.



cry.gif
 
Wasney
post Jun 8 2007, 01:21 PM
Post #6


RawR
**

Group: Member
Posts: 22
Joined: Jul 2006
Member No: 443,962



Well, I made a nav bar using the script karmakiller showed me...and right now I am playing with the code trying stuff out. And I was wondering, is there a way to make it when I hover over text a image at another part of the screen would change? I cant seem to get the image to show up anywhere besides under the text.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: