Apply style to tables in Mobile Form

Discussion in 'ASP .Net Mobile' started by mk.gln41@gmail.com, Feb 28, 2007.

  1. Guest

    Hello Everyone:

    I'm trying soo hard to find ways to assign style to a table in a
    mobile form. When the device specific tag is added in, I cannot seem
    to assign the style to the table.
    Is there any way to work around this? Any form of help will be
    appretiated.
    Thank you.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
    <mobile:StyleSheet id="StyleSheet1" runat="server">
    <mobile:Style name="Text" font-name="Arial"
    backcolor="#E0E0E0" wrapping="Wrap">
    </mobile:Style>
    <mobile:Style name="Col" font-name="Arial"
    backcolor="#222BF5" wrapping="Wrap">
    </mobile:Style>
    </mobile:StyleSheet>

    <mobile:Form ID="Form1" Runat="server" >
    <%--<mobile:panel ID="Panel1" Runat="server">--%>
    <mobile:DeviceSpecific ID="DeviceSpecific1"
    Runat="server">
    <Choice Xmlns="http://schemas.microsoft.com/mobile/
    html32template" >
    <HeaderTemplate>
    <table id="BrinkTable" style="font-size: 8pt"
    runat="server" border="0">
    </table>
    <table id="LinksTable" style="font-size: 8pt"
    runat="server" border="0" >
    </table>
    <table id="AdminTable" style="font-size: 8pt"
    runat="server" border="0">
    </table>
    <table id="TableDescription" style="font-size:
    8pt" runat="server" border="0">
    </table>
    <table id="HeaderTable" style="font-size: 8pt"
    runat="server" border="0">
    </table>
    <table id="MenuTable" runat="server" border="0">
    </table>
    </HeaderTemplate>
    </Choice>
    </mobile:DeviceSpecific>
    <uc1:Menu ID="Menu1" runat="server" />
    </mobile:Form>
    </body>
     
    , Feb 28, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?bnN2a2V5YW4=?=

    how to apply css class style to web controls

    =?Utf-8?B?bnN2a2V5YW4=?=, Feb 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,678
    Chris Jackson
    Feb 20, 2004
  2. Stefan Siegl
    Replies:
    1
    Views:
    964
    Marrow
    Jul 18, 2003
  3. chen selina
    Replies:
    0
    Views:
    1,324
    chen selina
    Jul 13, 2010
  4. Ken Varn
    Replies:
    0
    Views:
    472
    Ken Varn
    Apr 26, 2004
Loading...

Share This Page