473,394 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Repeater vertical spacing

Hello,
w/ code like this:

<table border="0" cellspacing="0" cellpadding="0">
<asp:Repeater runat="server" id="op">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<tr>
<td class="label-item" align="left">
<asp:Label runat="server" id="b1" />
<asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownList runat="server" id="ob" CssClass="dropdown" Width="50"
TabIndex="9">
<asp:ListItem Value="1">&gt;</asp:ListItem>
<asp:ListItem Value="2">&lt;</asp:ListItem>
<asp:ListItem Value="3">=</asp:ListItem>
<asp:ListItem Value="4">&lt;=</asp:ListItem>
<asp:ListItem Value="5">=&gt;</asp:ListItem>
</asp:DropDownList>
</td>
<td width="7"><img src="space.gif" width="7" height="1" alt=""
border="0"></td>
<td>
<asp:TextBox runat="server" id="pv" CssClass="input" Width="95" TabIndex="9"
MaxLength="6" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
</table>

how can i change the vertical space b/w elements?
TIA
Nov 19 '05 #1
5 8918
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:20px;"></td>
</tr>
</ItemTemplate>

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
w/ code like this:

<table border="0" cellspacing="0" cellpadding="0">
<asp:Repeater runat="server" id="op">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<tr>
<td class="label-item" align="left">
<asp:Label runat="server" id="b1" />
<asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownList runat="server" id="ob" CssClass="dropdown" Width="50"
TabIndex="9">
<asp:ListItem Value="1">&gt;</asp:ListItem>
<asp:ListItem Value="2">&lt;</asp:ListItem>
<asp:ListItem Value="3">=</asp:ListItem>
<asp:ListItem Value="4">&lt;=</asp:ListItem>
<asp:ListItem Value="5">=&gt;</asp:ListItem>
</asp:DropDownList>
</td>
<td width="7"><img src="space.gif" width="7" height="1" alt=""
border="0"></td>
<td>
<asp:TextBox runat="server" id="pv" CssClass="input" Width="95"
TabIndex="9" MaxLength="6" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
</table>

how can i change the vertical space b/w elements?
TIA

Nov 19 '05 #2
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:20px;"></td>
</tr>
</ItemTemplate>

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
w/ code like this:

<table border="0" cellspacing="0" cellpadding="0">
<asp:Repeater runat="server" id="op">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<tr>
<td class="label-item" align="left">
<asp:Label runat="server" id="b1" />
<asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownList runat="server" id="ob" CssClass="dropdown" Width="50"
TabIndex="9">
<asp:ListItem Value="1">&gt;</asp:ListItem>
<asp:ListItem Value="2">&lt;</asp:ListItem>
<asp:ListItem Value="3">=</asp:ListItem>
<asp:ListItem Value="4">&lt;=</asp:ListItem>
<asp:ListItem Value="5">=&gt;</asp:ListItem>
</asp:DropDownList>
</td>
<td width="7"><img src="space.gif" width="7" height="1" alt=""
border="0"></td>
<td>
<asp:TextBox runat="server" id="pv" CssClass="input" Width="95"
TabIndex="9" MaxLength="6" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
</table>

how can i change the vertical space b/w elements?
TIA


Nov 19 '05 #3
Hahah..you have to admit that wasn't at all clear from your orignal post :P

Try making use of the padding style for setting different padding-top/bottom
and padding-left/right

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:OD**************@TK2MSFTNGP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:20px;"></td>
</tr>
</ItemTemplate>

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
w/ code like this:

<table border="0" cellspacing="0" cellpadding="0">
<asp:Repeater runat="server" id="op">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<tr>
<td class="label-item" align="left">
<asp:Label runat="server" id="b1" />
<asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownList runat="server" id="ob" CssClass="dropdown" Width="50"
TabIndex="9">
<asp:ListItem Value="1">&gt;</asp:ListItem>
<asp:ListItem Value="2">&lt;</asp:ListItem>
<asp:ListItem Value="3">=</asp:ListItem>
<asp:ListItem Value="4">&lt;=</asp:ListItem>
<asp:ListItem Value="5">=&gt;</asp:ListItem>
</asp:DropDownList>
</td>
<td width="7"><img src="space.gif" width="7" height="1" alt=""
border="0"></td>
<td>
<asp:TextBox runat="server" id="pv" CssClass="input" Width="95"
TabIndex="9" MaxLength="6" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
</table>

how can i change the vertical space b/w elements?
TIA



Nov 19 '05 #4
:( no good so far
i tryed adding padding="0px" to all hr and hd tags w/ no result
can go into some more details ?
TIA

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
Hahah..you have to admit that wasn't at all clear from your orignal post
:P

Try making use of the padding style for setting different
padding-top/bottom and padding-left/right

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:OD**************@TK2MSFTNGP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:20px;"></td>
</tr>
</ItemTemplate>

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
w/ code like this:

<table border="0" cellspacing="0" cellpadding="0">
<asp:Repeater runat="server" id="op">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<tr>
<td class="label-item" align="left">
<asp:Label runat="server" id="b1" />
<asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownList runat="server" id="ob" CssClass="dropdown" Width="50"
TabIndex="9">
<asp:ListItem Value="1">&gt;</asp:ListItem>
<asp:ListItem Value="2">&lt;</asp:ListItem>
<asp:ListItem Value="3">=</asp:ListItem>
<asp:ListItem Value="4">&lt;=</asp:ListItem>
<asp:ListItem Value="5">=&gt;</asp:ListItem>
</asp:DropDownList>
</td>
<td width="7"><img src="space.gif" width="7" height="1" alt=""
border="0"></td>
<td>
<asp:TextBox runat="server" id="pv" CssClass="input" Width="95"
TabIndex="9" MaxLength="6" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
</table>

how can i change the vertical space b/w elements?
TIA



Nov 19 '05 #5
well, <td
style="padding-top:0px;padding-left:5px;padding-right:5px;padding-bototm:0px;">aa</td>

or the shorthand <td style="padding:0px 5px 0px 5px;">aa</td>

Keep in mind though that ultimately, the browser will render the necessary
spacing it needs to display the content.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:uZ**************@TK2MSFTNGP12.phx.gbl...
:( no good so far
i tryed adding padding="0px" to all hr and hd tags w/ no result
can go into some more details ?
TIA

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
Hahah..you have to admit that wasn't at all clear from your orignal post
:P

Try making use of the padding style for setting different
padding-top/bottom and padding-left/right

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:OD**************@TK2MSFTNGP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:20px;"></td>
</tr>
</ItemTemplate>

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Goldy" <no********@mail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> Hello,
> w/ code like this:
>
> <table border="0" cellspacing="0" cellpadding="0">
> <asp:Repeater runat="server" id="op">
> <HeaderTemplate></HeaderTemplate>
> <ItemTemplate>
> <tr>
> <td class="label-item" align="left">
> <asp:Label runat="server" id="b1" />
> <asp:Label runat="server" id="blockConditionMeasure" Text="[{0}]"
> Visible="False" />
> </td>
> <td>
> <asp:DropDownList runat="server" id="ob" CssClass="dropdown"
> Width="50" TabIndex="9">
> <asp:ListItem Value="1">&gt;</asp:ListItem>
> <asp:ListItem Value="2">&lt;</asp:ListItem>
> <asp:ListItem Value="3">=</asp:ListItem>
> <asp:ListItem Value="4">&lt;=</asp:ListItem>
> <asp:ListItem Value="5">=&gt;</asp:ListItem>
> </asp:DropDownList>
> </td>
> <td width="7"><img src="space.gif" width="7" height="1" alt=""
> border="0"></td>
> <td>
> <asp:TextBox runat="server" id="pv" CssClass="input" Width="95"
> TabIndex="9" MaxLength="6" />
> </td>
> </tr>
> </ItemTemplate>
> <FooterTemplate></FooterTemplate>
> </asp:Repeater>
> </table>
>
> how can i change the vertical space b/w elements?
> TIA
>
>



Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Analysis&Solutions | last post by:
Hi Folks: I've got a weird phenomenon going on with Internet Explorer on the Macintosh... The vertical cell borders are missing between the cells but appear above and below the cells! Here's...
3
by: Frank Wheeler | last post by:
Why am I unable to attain proper vertical alignment between a DIV and a TABLE here: http://www.whbvillage.com/agenda-archives/agendex.html The DIV is coded: <DIV style="float: left;...
16
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly...
0
by: teddysnips | last post by:
I have a form with 52 text boxes set out in 4 columns of 11 and one column of 8. Guess what they're used for? That's right, displaying weekly information. So, I'm setting them out on a normal...
3
by: GD | last post by:
I'm using a DataList and a Repeater (nested in the DataList) to display a list of "Chapters" and "Documents" within the Chapters. <asp:DataList ID="dlChapter" Runat="server" RepeatColumns="2"...
2
by: larzeb2000 | last post by:
I made a vertical navbar using a background image for the buttons. When I tested under FF or Opera, it looks fine, with the buttons touching vertically. However, in IE6 the buttons are spaced apart...
1
by: dave8421 | last post by:
Hi, I have a (strict) html document with the following portion: <ul> <li><img alt="" src="images/image1.jpg" /></li> <li><img alt="" src="images/image2.jpg" /></li> <li><img alt=""...
1
by: quantass | last post by:
Just a quick question in regards to the Obout Tree View. How do i go about adjusting the horizontal spacing before & after the plus/minus button for each node seperately? Also how do i adjust the...
1
by: mactelesis | last post by:
I have searched for "vertical stretch, align, etc." and have tried (and failed) with all of the solutions to stretch the "#nav vertical" div so that it streches to the height of the page. As you can...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.