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

Table Border/Resize ?

WJ
I have an Asp.Net form that hosts a "static form", a health history form,
this form is complex because it has uneven columns on different lines.
Example 1st line has 3 columns, 2nd line has 2 and 3rd line has 5. The form
and its colums/box must have black border around them. I am using Html Table
control for this purpose but it does not look good, especially when one
column hosts another table, the border lines would be doubled and it is just
a mess. Do you have any other controls that hanlde this type of form ? Also,
when a nested table exists, it leaves a big gap at the bottom that I cannot
resize (freezed) or close it up to touch the bottom of the inner table.

My goal is to find a layout control that has the same capabilities of
MS/Excel Cell format.

Thanks for your assistance,

John Webb
Nov 19 '05 #1
4 2808
Sounds like you are trying to use merged cells. This can actually be rowspan
and colspan properties of the <td> and <th> tags. For more info see:-

http://www.w3.org/TR/html4/struct/ta...tml#h-11.2.6.1

If multiple borders are a problem, then you can remove them with
stylesheets. See this link:-
http://www.w3.org/TR/CSS21/tables.html

Alternatively, you can get rid of tables completely and use <div> tags, with
absolute position, left, right, width and height set in stylesheets. (this
is in fact what visual studio .net grid-layout does by default). Only
problem is, this won't re-flow like the above might.

HTH,
ME

--
Martin Eyles
ma**********@NOSPAM.bytronic.com

"WJ" <Jo*******@HotMail.Com> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
I have an Asp.Net form that hosts a "static form", a health history form,
this form is complex because it has uneven columns on different lines.
Example 1st line has 3 columns, 2nd line has 2 and 3rd line has 5. The form and its colums/box must have black border around them. I am using Html Table control for this purpose but it does not look good, especially when one
column hosts another table, the border lines would be doubled and it is just a mess. Do you have any other controls that hanlde this type of form ? Also, when a nested table exists, it leaves a big gap at the bottom that I cannot resize (freezed) or close it up to touch the bottom of the inner table.

My goal is to find a layout control that has the same capabilities of
MS/Excel Cell format.

Thanks for your assistance,

John Webb

Nov 19 '05 #2
WJ
Thanks Martin, they are great links. But for futur? Right now I have to just
deal with it one line at a time instead of nested tables to get b?

John
Nov 19 '05 #3
No problem. Can't understand the second bit of your message though. what is
b?

Merry Christmass,

ME

--
Martin Eyles
ma**********@NOSPAM.bytronic.com

"WJ" <Jo*******@HotMail.Com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Thanks Martin, they are great links. But for futur? Right now I have to just deal with it one line at a time instead of nested tables to get b?

John

Nov 19 '05 #4
WJ
Sorry,

The meaning of my reply was: I will learn these links in the future when I
have time. Right now I have no time to learn because of project deadline, so
what I did was to use the Web.Panel layout control (one at a time), then
copy that panel into a one row/one column table (html table), it seems to
work as expected, though not perfect.

BTW: My keyboard needs to be tossed: futur?=future and b?=by. For some odd
reasons, when I press a character, it translated into a "?". Weird :) and
happen only for certain letters on the keyboard.

Merry Christmas

John

"Martin Eyles" <ma**********@NOSPAM.bytronic.com> wrote in message
news:10*************@corp.supernews.com...
No problem. Can't understand the second bit of your message though. what
is
b?

Merry Christmass,

ME

--
Martin Eyles
ma**********@NOSPAM.bytronic.com

"WJ" <Jo*******@HotMail.Com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Thanks Martin, they are great links. But for futur? Right now I have to

just
deal with it one line at a time instead of nested tables to get b?

John


Nov 19 '05 #5

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

Similar topics

7
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
3
by: fred | last post by:
Why does not the below code work in IE or FF? I have a table taking up the full browser window made up of three rows. The middle row has an ID of "row" and contains a div with an ID of "div". ...
7
by: Shawn B. | last post by:
Greetings, I am trying to create a table that has a scrolling body. The problem I'm experiencing is that if the columns in the "body" part of the table exceed the width of the "header" then...
2
by: Yama | last post by:
Hi, How can I make it resizable? For example: <pre> <!-- datagrid Header --> <table class="TableHeader" id="tblHeader" border="1" runat="server">
4
by: Gabriel | last post by:
Which is the mistake? I need one column with different size. Thanks a lot. table { border: outset 2pt; border-collapse: separate; border-spacing: 4pt; background:black;
1
by: bgraphics2031 | last post by:
Hey everyone, thanks for your previous help. My new problem is trying bound this table in Firefox so when you resize via the middle bar it doesn't resize to the right to infinity. Basically, I want...
9
by: dli07 | last post by:
Hello, I'm trying to convert a piece of code that creates a dynamic vertical resizing bar in a table from internet explorer to firefox. It's based on a post from...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
1
by: asearle | last post by:
Dear all, I have been working to implement a scrolling table into an xml / xsl interface and so far have managed to put together an acceptable version using <thead> and <tbody> syntax. Indeed for...
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
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
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...
0
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...
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: 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.