Log In · Register

 
 
Closed TopicStart new topic
"ID/#" css on myspace
JlIaTMK
post Jan 9 2006, 10:27 PM
Post #1


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



Okay, so can anyone tell me a substitute for the # / ID css coding?

Like, I know that once you click "submit" it gives the little ".." instead of the "#" and the script isn't valid. However, the class or the "." coding works fine.

Please please comment if you do.
 
freeflow
post Jan 9 2006, 10:28 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



What exactly are you asking.. Myspace doesn't suppor the whole "#" thing so you basically just put your color codes in..

example:
background-color:000000;
 
JlIaTMK
post Jan 9 2006, 10:30 PM
Post #3


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



No, I don't mean the color codes. There are some codes such as the id tags like

#table2

or

#picturecomment

and things of the such that it doesn't work with.
 
coldtrance
post Jan 9 2006, 10:31 PM
Post #4


There Are Strange Things Afoot At The Cirlce K
******

Group: Member
Posts: 1,130
Joined: Oct 2005
Member No: 253,395



you dont need css id numbers with myspace
 
JlIaTMK
post Jan 9 2006, 10:32 PM
Post #5


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



^ I just said, that's not true. There are somethings you DO need it with such as hiding the profile pic or hiding certain tables [as in table 2]

QUOTE
table#table2
 
freeflow
post Jan 9 2006, 10:34 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



In that case like you say using the "." would have to do . Just like in the hidding the comments codes you would use a "." and such.
 
coldtrance
post Jan 9 2006, 10:35 PM
Post #7


There Are Strange Things Afoot At The Cirlce K
******

Group: Member
Posts: 1,130
Joined: Oct 2005
Member No: 253,395



so what excactly are you trying to do that you need id numbers? are you trying to hide your profile pic?
 
JlIaTMK
post Jan 9 2006, 10:36 PM
Post #8


Senior Member
*******

Group: Member
Posts: 7,048
Joined: Jun 2004
Member No: 22,696



The thing is, it's not coded in the source with a "class" coding, but with an "id" coding so it doesn't work.

Let me show you the coding for this particular thing.

CODE
<table id="Table2" cellspacing="0" cellpadding="0" width="300" align="center">
       <tr>
        <td class="text" width="75" bgcolor="#ffffff" height="75">
         <a id="ctl00_Main_ctl00_UserBasicInformation1_hlDefaultImage" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&amp;friendID=29071895&amp;friendName=A_Diamant.&amp;MyToken=1f59d048-16ac-49ee-8a7c-330516d97852"><img src="http://myspace-770.vo.llnwd.net/00384/07/79/384089770_m.jpg" style="border-width:0px;" /></a>
        <td>
        <td width="15" height="75" bgcolor="#ffffff" class="text"><img src="http://x.myspace.com/images/clear.gif" width="15" height="8" border="0"
          alt=""></td>


Notice how the
QUOTE
ctl00_Main_ctl00_UserBasicInformation1_hlDefaultImage


would have to be coded as

QUOTE
a#ctl00_Main_ctl00_UserBasicInformation1_hlDefaultImage


and not

QUOTE
a.ctl00_Main_ctl00_UserBasicInformation1_hlDefaultImage


because it's an ID tag.
 

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