468,532 Members | 1,733 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,532 developers. It's quick & easy.

How to put spacer column between 2 columns in datalist

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of
the distance between these 2 columns. Is this possible? And by the way, I
find it a little difficult to control the spacing and alignment of template
items (cells). For examle the right cell/column is a little lower than the
left one.

--
mo*******@nospam.com
Nov 18 '05 #1
2 5330
Thanks!

--
mo*******@nospam.com
"Bill Borg" <an*******@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Not sure if this is the *best* way to do this, but presuming this is your same example with name/address, etc., I'd wrap that whole block within a
table, and use cellpadding/cellspacing to create the extra space, and that
will probably clean up your other alignment issue. For your own sanity
someday, you might also consider creating a user control for that block, to
clean up the syntax in the template and make it easier to modify later.
----- moondaddy wrote: -----

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of the distance between these 2 columns. Is this possible? And by the way, I find it a little difficult to control the spacing and alignment of template items (cells). For examle the right cell/column is a little lower than the left one.

--
mo*******@nospam.com

Nov 18 '05 #2
Thanks!

--
mo*******@nospam.com
"Bill Borg" <an*******@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Not sure if this is the *best* way to do this, but presuming this is your same example with name/address, etc., I'd wrap that whole block within a
table, and use cellpadding/cellspacing to create the extra space, and that
will probably clean up your other alignment issue. For your own sanity
someday, you might also consider creating a user control for that block, to
clean up the syntax in the template and make it easier to modify later.
----- moondaddy wrote: -----

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of the distance between these 2 columns. Is this possible? And by the way, I find it a little difficult to control the spacing and alignment of template items (cells). For examle the right cell/column is a little lower than the left one.

--
mo*******@nospam.com

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Joe Van Meer | last post: by
1 post views Thread by Eirik Eldorsen | last post: by
1 post views Thread by Rachel Devons | last post: by
5 posts views Thread by Ben Fidge | last post: by
3 posts views Thread by trvlDev | last post: by
3 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by =?Utf-8?B?UGF1bCBT?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.