ThemeRepublic

Premium Joomla Templates

  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
bexDK on Thursday, October 28 2010, 12:14 PM

Controlling Width of Tables in Articles

0
Is there a way to override whatever it is that forces tables to be full width using this template?

I have put a table in an article and no matter how I modify the HTML to control the width of the table, it shows up at full width. When I have a picture in the article, this means I end up with a large empty space in the display so the table can be shown full width under the image.

I tried temporarily changing the template used in that menu area to the purity one and the table displayed as desired. So clearly I am dealing with an override of some sort in the CSS or something else, but my attempts to find it failed.

If it makes a difference, my site is set up for fluid width. You can see it at <!-- w --><a class="postlink" href="/http://www.rrww.dk">www.rrww.dk</a><!-- w --> and the table under &quot;Reb&quot; -&gt; &quot;Rebgrimer&quot; in the Danish version. Not sure how quickly I will have the US translation completed.

I'd really hate to have to change templates just because of this, but my own attempts at finding a workaround have failed. I tried setting pixel widths on tds and I tried a % width overall on the table. The only difference I could make was on the comparative widths of the columns, not the overall width.

If it makes a difference, I am displaying the site on Firefox on Windows, but since I can change the result by swapping the template, I am pretty sure it isn't a browser issue.

sorry to have so many questions alreayd. But in any case, thanks again for the great template.
Locked
The discussion has been locked.
       
  •  
    0
    Replied by zahir on Tuesday, November 09 2010, 06:06 AM · Hide · #1
    Try adding to the bottom of your template.css file:

    [code:ixmtbn2s]&#46;contentpaneopen &#46;table {
    width&#58;auto;
    }[/code:ixmtbn2s]
Discussions are now locked. You will not be able to reply to this discussion

Recent Themes

The Joomla!™ name is used under a limited license from Open Source Matters in the United Statesand other countries.
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.