473,561 Members | 3,596 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="blockCondit ionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownLi st runat="server" id="ob" CssClass="dropd own" 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:DropDownLis t>
</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 8938
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:2 0px;"></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********@mai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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="blockCondit ionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownLi st runat="server" id="ob" CssClass="dropd own" 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:DropDownLis t>
</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******** ******@TK2MSFTN GP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:2 0px;"></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********@mai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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="blockCondit ionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownLi st runat="server" id="ob" CssClass="dropd own" 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:DropDownLis t>
</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********@mai l.com> wrote in message
news:OD******** ******@TK2MSFTN GP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov******** ******@TK2MSFTN GP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:2 0px;"></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********@mai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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="blockCondit ionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownLi st runat="server" id="ob" CssClass="dropd own" 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:DropDownLis t>
</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******** ********@TK2MSF TNGP11.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********@mai l.com> wrote in message
news:OD******** ******@TK2MSFTN GP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov******** ******@TK2MSFTN GP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:2 0px;"></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********@mai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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="blockCondit ionMeasure" Text="[{0}]"
Visible="False" />
</td>
<td>
<asp:DropDownLi st runat="server" id="ob" CssClass="dropd own" 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:DropDownLis t>
</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;paddin g-right:5px;paddi ng-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********@mai l.com> wrote in message
news:uZ******** ******@TK2MSFTN GP12.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******** ********@TK2MSF TNGP11.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********@mai l.com> wrote in message
news:OD******** ******@TK2MSFTN GP14.phx.gbl...
thats nice, but i want to decrease it :(

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Ov******** ******@TK2MSFTN GP10.phx.gbl...
one easy way is to simply add a filler row
<tr>
<td colspan="4" style="height:2 0px;"></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********@mai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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="blockCondit ionMeasure" Text="[{0}]"
> Visible="False" />
> </td>
> <td>
> <asp:DropDownLi st runat="server" id="ob" CssClass="dropd own"
> 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:DropDownLis t>
> </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
2814
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 the page and a screen shot a friend took for me because I use Windows. Shot: http://www.bikesummer.org/2003/local/rentals.jpg Page: ...
3
4278
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; background: transparent; color: #000099;
16
9243
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 (as I want). At one point, I set some negative top margins which moved the graphics above the page in IE. Here's the link: http://abateofnm.org/ ...
0
1147
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 aspx page, and being somewhat lazy I just copy and paste from a single text box, so that finally I end up with a control named Textbox52. So I...
3
1413
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" RepeatDirection="Vertical" OnItemDataBound="dlChapter_OnItemDataBound"> <ItemTemplate> <table> <tr> <td colspan="2"><%#...
2
3213
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 vertically by the amount of padding I used to vertically center the text on the button. IE7 has vertical spacing also, but only a small amount. ...
1
6153
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="" src="images/image3.jpg" /></li> <li><img alt="" src="images/image4.jpg" /></li> <li><img alt="" src="images/image5.jpg" /></li>
1
3341
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 vertical spacing for each node seperately? Thanks.
1
3111
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 see I simply set it to "height:800px;" - which looks bad on really short pages (http://www.coloradopedia.com/~newports/HoursOfOperation.html ) or...
0
7637
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7558
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5462
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3609
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3591
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1171
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
884
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.