Jump to content

JCBrinegar

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by JCBrinegar

  1. Disregard everyone. I found the issue. I was missing the viewport meta data <meta name="viewport" content="width=device-width, initial-scale=1"> this corrected my issue...
  2. I was wondering if someone could assist. I am attempting to use the w3css responsive social media template. When I view the demo using my cell phone, the site reacts as expected and displays the page correctly. http://www.w3schools.com/w3css/tryw3css_templates_social.htm However, when I leverage this template and stylesheets in my MVC (dotNet) site, it displays correctly on a computer screen, but not on my cell phone. <--link removed--> Is there something that is corrupting the stylesheet to keep it from being responsive? Any assistance would be helpful...
  3. Looking for a little bit of help and refresher. I have a list of data that I would like to have output into 2 column sets. Right now, the data comes out like this... Column1 Column 2data1 count1data2 count2data3 count3etc..... What I am looking for is something like this... Column1 Column2 Column1 Column2data1 count1 data2 count2data3 count3 etc... I recall that this might be accomplished with using the MOD and POSITION...but I can not remember or figure it out. I have attached myXML file and below is my XSL...any help would be great. Jack <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="http://www.butternutskipatrol.com"> <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <html> <body> <table border="0"> <tr><td colspan="2" align="center"> <h3>2012-2013 Service Day Report</h3> </td></tr> <tr><td colspan="2" align="center"> <h4>as of <xsl:value-of select="a:Data/@ServiceDayRecord"/> </h4> </td></tr> <tr bgcolor="#999999"> <th>Person</th> <th>Service Days</th> </tr> <xsl:for-each select="a:Data/a:Roster/a:Person"> <tr> <td> <xsl:value-of select="@LastName"/>, <xsl:value-of select="@FirstName"/> </td> <td align="center"> <xsl:value-of select="count(a:ServiceDay)"/> </td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template></xsl:stylesheet> DataFile.xml
×
×
  • Create New...