Previous Message
Next Message

<tr> style problem

Sent by Marty Martin on 15 July 2004 15:03


Hi Everyone!

I am having a problem that is driving me crazy, naturally.  I worked on 
some styles on a site a while back, and applied a style to alternating 
rows.  You can see an example of this by visiting this url:

http://www.mulhollandcorporate.com/index.cfm/fa/search.results.htm?keyWords=alligator&priceFrom=&priceTo=&x=0&y=0

I am trying to duplicate this in another site I am working on, however 
it is password controlled so I can't show it to you, but basically it 
isn't working.  Here is the code I have, maybe someone can suggest what 
I've done incorrectly, I hope!

STYLE:

div.formpage tr.oddrow {
	background-color: #000;
}

div.formpage tr.evenrow {
	background-color: #FFF;
}

CODE:

<div.formpage>
<table>
<tr class="evenrow">
	<td class="left">Listing for: Abingdon Visitor Center</td>
	<td nowrap class="buttons">
		<a href="test.cfm" class="button">Edit</a>
		<a href="test.cfm" class="button">Delete</a>
	</td>
</tr>
			
<tr class="oddrow">
	<td class="left">Listing for: Abingdon Visitors Bureau</td>
	<td nowrap class="buttons">
		<a href="test.cfm" class="button">Edit</a>
		<a href="test.cfm" class="button">Delete</a>
	</td>
</tr>
</table>
</div>

This code above doesn't work, the code at the url does work.  Can anyone 
find my error?

Thanks!

-- 
Marty Martin
ICN.NET (Icons, Inc.)
Internet Development | Hosting | Support
[EMAIL-REMOVED]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: