Web Analytics Made Easy -
StatCounter Craigslist HTML Question - CodingForum

Announcement

Collapse
No announcement yet.

Craigslist HTML Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Craigslist HTML Question

    Hey everyone,

    Having a little issue getting something to show up in a craigslist posting and was hoping somebody could help.


    This is what it is supposed to look like

    I cannot get the green table at the top to show up in craigslist.

    Any ideas?

  • #2
    Might be because you're missing the opening <table> tag, among others? Try this:

    Code:
    <table width="805" cellpadding="10" cellspacing="0" >
    	<tr>
    		<td colspan="3" bgcolor="#ED924B">
    		</td>
    	</tr>
    	<tr>
    		<td bgcolor="#ED924B">
    			&nbsp;
    		</td>
    		<td bgcolor="#B8D14F">
    			<div align="center"><font color="#333" size="5"><b>CALLING ALL OUTGOING AND ENERGETIC STAFF TO WORK AN EXCITING ONE-DAY EVENT!!!</b></font></div>
    		</td>
    		<td bgcolor="#ED924B">
    			&nbsp;
    		</td>
    	</tr>
    	<tr>
    		<td colspan="3" bgcolor="#ED924B">
    		</td>
    	</tr>
    </table>
    
    ...
    Basically, validate your HTML.

    This page might be helpful as well.
    Last edited by BoldUlysses; Apr 15, 2009, 02:45 PM.
    matt | design | blog

    Comment


    • #3
      instead of trying to do it with background colors, you should use table borders with the different colors. The following code should get you started:

      Code:
      <table width="805" cellpadding="10" cellspacing="0" >
      	<tr>
      		<td style="border-top: 20px solid #ED924B;border-left: 20px solid #ED924B; border-right:20px solid #ED924B;"  bgcolor="#B8D14F" colspan="3"><div align="center"><font color="#333" size="5"><b>CALLING ALL OUTGOING AND ENERGETIC STAFF TO WORK AN EXCITING ONE-DAY EVENT!!!</b></font></div>
      		</td>
      			
      	</tr>
      	<tr>
      		<td style="border-left: 20px solid #ED924B;" bgcolor="white">&nbsp;
      				
      		</td>
      		<td style="border-right: 20px solid #ED924B;" bgcolor="white">
      			&nbsp;
      		</td>
      	</tr>
      	<tr>
      		<td colspan="3" bgcolor="white">
      		</td>
      	</tr>
      </table>

      Comment

      Working...
      X