• table width? CSS?

    By Jonathan Torres 2 decades ago

    Is there a way to set a default TABLE WIDTH? Want to default the table width for all views etc to 98%

    • default table width

      By Mark Bryson 2 decades ago

      Include a statement like this in a TD that spans an entire TR - not foolproof but might help



      IMG WIDTH="98%" HEIGHT="0" alt="" src="ecblank.gif"

      • By Jonathan Torres 2 decades ago

        Could you do that some how in the profile doc for the skin? Like put a table tag in the header and end in the footer and set width to 98%? im trying to do this so I dont have to modify any of the forms. Currently on the dev copy Im playing around with I just changed all the table width=100% html to 98% in the actual forms. Just trying to get away from hard coding any of this.

        • Eh answered my own question

          By Jonathan Torres 2 decades ago

          Set my header to this:



          ————————————————————————————————

          <DIV ALIGN=CENTER>

          <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0>

          &lt;TR&gt;<br/>
              &lt;TD VALIGN=TOP&gt;<br/>
                  &lt;td bgcolor=&quot;#0362AA&quot; width=&quot;100%&quot; align=&quot;center&quot; valign=&quot;middle&quot; &gt;<br/>
                      &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;5&quot;&gt;<br/>
                          &lt;td&gt;<br/>
                              &lt;a href=&quot;domBulletin11a.nsf/Redirect?OpenPage&quot; class=&quot;path&quot;&gt;<br/>
                              &lt;img src=&quot;domBulletin11a.nsf/Skins/6BVRUG/$File/logo.gif&quot; border=&quot;0&quot;/&gt;<br/>
                              &lt;/a&gt;<br/>
                          &lt;/td&gt;<br/>
                      &lt;/table&gt;<br/>
                      &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;5&quot;&gt;<br/>
                          &lt;td&gt;<br/>
                              &lt;a href=&quot;http://www.openntf.org&quot; class=&quot;path&quot;&gt;<br/>
                              &lt;font color=&quot;#FFFFFF&quot;&gt;Click here to go to the openntf website.&lt;/font&gt;<br/>
                              &lt;/a&gt;<br/>
                              &lt;BR&gt;<br/>
                              &lt;BR&gt;<br/>
                          &lt;/td&gt;<br/>
                      &lt;/table&gt;<br/>
                  &lt;/td&gt;<br/>
                  &lt;TABLE&gt;&lt;/TABLE&gt;<br/>
              &lt;/TD&gt;<br/>
          &lt;/TR&gt;<br/>
          

          </TABLE>

          <TABLE WIDTH=98% CELLPADDING=0 CELLSPACING=0>

          &lt;TR&gt;<br/>
              &lt;TD VALIGN=TOP&gt;<br/>
          

          ————————————————————————————————



          That works fine