473,412 Members | 2,067 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,412 software developers and data experts.

Simple Question on Table formating....

Hello All,
In the below code even though I specified 50% width for each TD, left side
cell is not getting wraped after reaching 50%. How to make sure when my cell
data is "/" to set to the required width ? How to make sure the left side
data will be 50% wdth. If I use any other character it works great. Thanks,
Veer
<table width='100%' border = "1">
<tr>
<td width = "50%">/////// //////// //////// /////// //////// ///////
////// //////// /////// /////// ////// ///// /////// /////// ////////////
///// ////// //////// ///////</td>
<td width = "50%">******* ******** ******** ******* ******** *******
****** ******** ******* ******* ****** ***** ******* ****** *************
***** ****** ******** *******</td>
<tr>
</table>
Nov 18 '05 #1
3 854
Take the spaces out of your attribute declaration:

<td width="50%"...

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Veeresh" <Ve******@hotmail.com> wrote in message
news:ef*************@tk2msftngp13.phx.gbl...
Hello All,
In the below code even though I specified 50% width for each TD, left side
cell is not getting wraped after reaching 50%. How to make sure when my cell data is "/" to set to the required width ? How to make sure the left side
data will be 50% wdth. If I use any other character it works great. Thanks, Veer
<table width='100%' border = "1">
<tr>
<td width = "50%">/////// //////// //////// /////// //////// ///////
////// //////// /////// /////// ////// ///// /////// /////// ////////////
///// ////// //////// ///////</td>
<td width = "50%">******* ******** ******** ******* ******** *******
****** ******** ******* ******* ****** ***** ******* ****** *************
***** ****** ******** *******</td>
<tr>
</table>

Nov 18 '05 #2
Kevin
I really appreciate your answer. It appears that my problem is still not
solved.
On my production report has these kind of data and literally it is going
beyond 100% resulting not able to take prinout in A4 size prinouts. Badly
need help.
Veer

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
Take the spaces out of your attribute declaration:

<td width="50%"...

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Veeresh" <Ve******@hotmail.com> wrote in message
news:ef*************@tk2msftngp13.phx.gbl...
Hello All,
In the below code even though I specified 50% width for each TD, left side cell is not getting wraped after reaching 50%. How to make sure when my

cell
data is "/" to set to the required width ? How to make sure the left side data will be 50% wdth. If I use any other character it works great.

Thanks,
Veer
<table width='100%' border = "1">
<tr>
<td width = "50%">/////// //////// //////// /////// //////// ///////
////// //////// /////// /////// ////// ///// /////// /////// //////////// ///// ////// //////// ///////</td>
<td width = "50%">******* ******** ******** ******* ******** *******
****** ******** ******* ******* ****** ***** ******* ****** ************* ***** ****** ******** *******</td>
<tr>
</table>


Nov 18 '05 #3
On Fri, 25 Jun 2004 09:25:56 -0700, "Veeresh" <Ve******@hotmail.com>
wrote:
Kevin
I really appreciate your answer. It appears that my problem is still not
solved.
On my production report has these kind of data and literally it is going
beyond 100% resulting not able to take prinout in A4 size prinouts. Badly
need help.
Veer


it seems to be an IE bug. I tried firefox and ie and firefox handles
it properly.

-Adam
Nov 18 '05 #4

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

Similar topics

7
by: Marek Mänd | last post by:
When using <TABLE rules="all"> Mozilla 1.6 and previous versions draw a nasty interiour border, which doesnt go away though I have on TD's css border:none set. Is it something wrong with my...
1
by: Robert | last post by:
I created two pages. One using CSS and the other using a table. I'd like the css version to work like the table version. The problem arises when the full image doesn't fit in the window. Click...
2
by: Charles Wilt | last post by:
I have a IBM iSeries (aka AS-400) running v5r3 of OS/400 that I access via a linked server from SQL Server 2000. The following select works fine: select * from...
5
by: kkddrpg | last post by:
the database looks like this the database is called username_tpp (not really just using username as a sub) the table is called home it has field 1 : varchar(50) | latin1_swedish_ci | no...
7
by: Kat | last post by:
How do you center a table in visual studio 2005? It used to be align=center but now it tells me it is an out of date method.
3
by: dubing | last post by:
Hi, I'm trying to do align table center in CSS like this. But it doesn't work. ..tx-gooffotoboek-pi1 table { text-align: center; } I can do <table align="center"but it's said deprecated....
0
by: Fonix | last post by:
I'm trying to make table border with pyExcelerator. As i can see there is only cell formating!? If i'm wrong pls tell me what is method to make more then one cell to have same format, other then...
2
by: sitko | last post by:
Hi, I'm in the process of converting a VB.net program into a C program so it can run on a unix like machine. I've been moving along at a nice pace, but this conversion has stumped me. I need...
4
by: Newbie12345 | last post by:
I have a crosstab query which gathers data from a regular table and creates columns for the months in the year with volume for each month. I want to be able export/send the data to a brand new table,...
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
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
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...

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.