Tags:
create new tag
, view all tags

Question

I am trying to create a table with the tablewidth as 100% . However in PatternSkin the tablewidth attribute seems to be ignored. It seems to work with other skins like dragon or classic.

e.g.

asomasdfkj asdlfkja dsf asdkajsdflj

Actually I am trying to play with the formatted search to output each result item in a separate table. I want each table to be of 100% width. I was hoping using \%TABLE{tablewidth=100%}\% before each result would solve it. I haven't been able to figure out how to include it in the format for search.(I don't know how to escape "%") I would be grateful if someone could help with that too.

TheCompanyNextDoor1
12 Lost Ave 1231
Kambah1
ACT, 29021
FredNerks change details

TouchOfElegance
23 Grath Street
Apt # 210000000235000000253
Napier 4001
PranavNaik change details

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- PravinBhandakkar - 15 Sep 2004

Answer

Fixed the searches with $percnt. The documentation you needed was FormattedSearch#Syntax. Also added \" around the 100% so that it is interpreted by the plugin as a parameter.

-- SamHasler - 15 Sep 2004

Thanks Sam for fixing the search. Now I need to find out how to get PatternSkin to use the tablewidth argument. I'm guessing there is something in the PatternSkin css which overrides the table width.

-- PravinBhandakkar - 16 Sep 2004

This is in PatternSkin:

.twikiTopic table {
   width:auto;
}

The problem with Explorer 5.x is that when the table width is 100%, it thinks that is 100% of the whole page. So you will always get tables that are too wide when there is a sidebar.

-- ArthurClemens - 16 Sep 2004

Topic revision: r5 - 2004-11-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.