XSL Table Problem

Hey, I am developing a Shopping cart and we’ve a xsl family table that queries many of the items in the db but displaying your inventory my table is usually messed up.
figuring out how it looks like currently:

http: //img40. imageshack. us/img40/182/contentx. jpg

the table spacign and alignment are messed up i want it to become spaced out evenly like http: //www. djpremium. com/shop/G1-V70359-R54352/christian-audigier. htmlcm_re=Top_Brands_Men-_-Christian_Audigier-_-0309

This is my XSL table code:

Code:
< div id=" content" >
< h3> Content< /h3>
<! -- Print output inside a table-->
< family table width=" 100%" border=" 0" cellspacing=" 15" cellpadding=" 10" >

<! -- iterate via a row of Solutions (default row width is 4; view toXml() documentation in model. php) -->
< xsl: for-each select=" root/row" >
< tr>
<! -- With each table cell display the product's label, thumbnail picture, cost, and product id -->
< xsl: for-each select=" Style" >
< your href=" controller. phpstyle_id=style_id" > <! -- INSERT POINT TAG WITH JAVASCRIPT ONCLICK TO PICK THIS PRODUCT (BY ID NUMBER) AND WEIGHT IN viewProductDetail. xsl -->
< td>
< div id=" thumbnailFrame" >
< img src=" small_pic" alt=" The item picture" />
< /div>
< span id=" styleName" >
< xsl: value-of select=" style_name" />
< /span> < br/>

< span id=" price" >
$< xsl: value-of select=" retail_price" />
< /span>
< /td>
<! -- NEARBY ANCHOR TAG--> < /a>
< /xsl: for-each> <! -- Ending of product show cell -->
< /tr>
< /xsl: for-each> <! -- Ending of row -->
< /table>
< /div> 

I’m sure the problem is with all the html… you should put the < a> included in the < td>. That might fix it.

Thanks smosely it been effective! how would we make the title with the product display similar to tat site now, becasue the platforms keep getting delivered over for how much time the name will be.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *