473,434 Members | 1,405 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,434 software developers and data experts.

how to give just enough space between two <asp:button> that are in 2 rows of a cell?

Dee
Hi
I have to <asp:button>'s one on top of the other in a cell of a Table
layout. When I put a <br> I get
too big a gap. Without it they are touching. The only way I can think of
separating them is if I make
another table inside that cell and have a cellspacing that's suitable. But
that sounds overkill.
Anyone has solved this puzzle before?
Thanks for sharing.
Dee
Nov 19 '05 #1
2 6901
A table sounds like a reasonable solution in this case.

Here's a more extensive examination of your positioning options:
http://www.aspnetpro.com/NewsletterA...200504so_l.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Dee" <dee@home> wrote in message
news:e1**************@TK2MSFTNGP09.phx.gbl...
Hi
I have to <asp:button>'s one on top of the other in a cell of a Table
layout. When I put a <br> I get
too big a gap. Without it they are touching. The only way I can think of
separating them is if I make
another table inside that cell and have a cellspacing that's suitable. But
that sounds overkill.
Anyone has solved this puzzle before?
Thanks for sharing.
Dee

Nov 19 '05 #2
Dee
Excellent article, thanks Steve.
Dee

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:ue*************@TK2MSFTNGP10.phx.gbl...
A table sounds like a reasonable solution in this case.

Here's a more extensive examination of your positioning options:
http://www.aspnetpro.com/NewsletterA..._l/asp200504so
_l.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Dee" <dee@home> wrote in message
news:e1**************@TK2MSFTNGP09.phx.gbl...
Hi
I have to <asp:button>'s one on top of the other in a cell of a Table
layout. When I put a <br> I get
too big a gap. Without it they are touching. The only way I can think of
separating them is if I make
another table inside that cell and have a cellspacing that's suitable. But that sounds overkill.
Anyone has solved this puzzle before?
Thanks for sharing.
Dee


Nov 19 '05 #3

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

Similar topics

1
by: RSB | last post by:
Hi Every one, Having tuff time to make this work .. i want to have a button and on my form say Delete button. So once i click on it i want to confirm "Are you sure?" on the Client Side and if...
6
by: Fred Phase | last post by:
The following button definition works fine in Mozilla where the value "in" is assigned to "awol_status". In Internet Explorer 6.0.2800.1106 on Win 2K the value "switch status" is assigned to...
0
by: Drew Pawlik | last post by:
Hey guys, I'm having a problem and need some help. I have an <asp:table ...> in my web page, and this table has 2 rows, the first being a header row, and the second row containing an <asp:button>...
4
by: z. f. | last post by:
Hi, I'm having an aspx page with a server form. i have a grid with a delete button and below the grid, another area with inputs for inserting new values and an "add" button for submiting the...
2
by: Ed Chiu | last post by:
Hi, I would like to add a <asp:button> to a webform. When user click on this button, the page will connect to SQL server and update tables, then the browser window will be closed. I know how...
13
by: tperri | last post by:
I have an HTML table with several fields like this: <A href="Savings.aspx?category=Food"><asp:imagebutton id="imgFood" ImageUrl="images\buttons\btn-food-i.gif"...
3
by: Randall Parker | last post by:
I have this element in an asp:DataGrid: <asp:TemplateColumn HeaderText="Edit Record Button"> <ItemTemplate> <asp:Button ID='<%# "Edit" + DataBinder.Eval(Container, "DataItem.owner_serial_num")...
1
by: CharlesA | last post by:
Hi folks, first off, I'm using Framwork 1.1 with ASP.net and C# I'm trying to do something quite basic and can't figure out why it won't behave without going into massive details I want a...
1
by: FredZimmerman | last post by:
How do I dynamically generate <ASP:buttoncontrols for a repeating recordset (using reader with while loop). Each row would have ASP:Button and CommandName="sameFunctionForAll()"...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.