|
-
Feb 6th, 2003, 07:33 PM
#1
Thread Starter
Fanatic Member
DataList: Repeated Columns Width...?
Hey guys,
I have a datalist and i have it set to .RepeatedColumns = 2... hence, it repeats in columns of 2... now this works perfect except for one thing... I can't seem to find a way to specify the widths of these columns!!
i really need to make sure these columns are always equal in width... in other words, each column needs to have a width of 50%...
any ideas of how i might go about this?
-
Feb 8th, 2003, 07:37 AM
#2
Addicted Member
u can try it using tables inside your itemtemplate.
for example
Code:
<itemtemplete>
<table width=200px></table>
</itemtemplete>
this way its easy to make a layout and i allways use the repeatestyle parameter. Set it to table
-
Feb 8th, 2003, 11:45 AM
#3
Thread Starter
Fanatic Member
well, i can't set the table width in pixels... so i have it set in percentage (different browsing resolutions need me to have it as a percentage, because pixels doesn't look right)...
also, i just tried actually implicitly setting the RepeatedLayout property, and to my surprise it seems to have forced it to stay half and half.. which is weird since the default repeatedlayout is already table..
but i have a feeling this isn't very concrete... anybody come across any other ways? thanks for the response!
-
Feb 8th, 2003, 11:59 AM
#4
Thread Starter
Fanatic Member
and on another note, i have a situation where this attempt isn't working at all.. the one column is like 3 times as wide as the other... :/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|