Log In · Register

 
"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.
 
 
Start new topic
Replies
JlIaTMK
post Jan 9 2006, 10:36 PM
Post #2


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.
 

Posts in this topic


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