I can't find an HTML newsgroup that's at all active! Thought I'd ask here
anyway...
I've noticed that a table cell width is ignored if the content contains
words that (themselves) are wider than the specified width. The table just
grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content frequently
makes them bleed off the page.
TIA,
John 6 1492
Hi
If I understand correctly you are setting the cell width, try setting the
table width as below instead
<table width="640">
<tr>
<td></td>
<tr>
<table>
Hope this helps
Publicjoe
C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"John Wood" <sp**@isannoyin g.com> wrote in message
news:%N******** **************@ news4.srv.hcvln y.cv.net... I can't find an HTML newsgroup that's at all active! Thought I'd ask here anyway...
I've noticed that a table cell width is ignored if the content contains words that (themselves) are wider than the specified width. The table just grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content frequently makes them bleed off the page.
TIA, John
"John Wood" <sp**@isannoyin g.com> wrote: I can't find an HTML newsgroup that's at all active!
This might be useful next time:
comp.infosystem s. www.authoring.html
P.
Make that
<table width="640">
<tr>
<td></td>
</tr>
</table>
"Mike Kitchen" <mi**@publicjoe .f9.co.uk> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Hi
If I understand correctly you are setting the cell width, try setting the table width as below instead
<table width="640"> <tr> <td></td> <tr> <table>
Hope this helps
Publicjoe C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"John Wood" <sp**@isannoyin g.com> wrote in message news:%N******** **************@ news4.srv.hcvln y.cv.net... I can't find an HTML newsgroup that's at all active! Thought I'd ask
here anyway...
I've noticed that a table cell width is ignored if the content contains words that (themselves) are wider than the specified width. The table
just grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content
frequently makes them bleed off the page.
TIA, John
Well I do that, but if one of the cells contains a word that it cannot break
up (eg. let's say a 30 digit number) then the cell resizes beyond its
specified width. Can't seem to figure out how to stop it...
eg.
<table width=100 border=1>
<tr>
<td>this is 100 pixels<td>
</tr>
</table>
<table width=100 border=1>
<tr>
<td>this is not !!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!<td>
</tr>
</table>
"Mike Kitchen" <mi**@publicjoe .f9.co.uk> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Hi
If I understand correctly you are setting the cell width, try setting the table width as below instead
<table width="640"> <tr> <td></td> <tr> <table>
Hope this helps
Publicjoe C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"John Wood" <sp**@isannoyin g.com> wrote in message news:%N******** **************@ news4.srv.hcvln y.cv.net... I can't find an HTML newsgroup that's at all active! Thought I'd ask
here anyway...
I've noticed that a table cell width is ignored if the content contains words that (themselves) are wider than the specified width. The table
just grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content
frequently makes them bleed off the page.
TIA, John
Hi John,
AFAIK that is not possible, you could try using javascript to format the
cell after the page is loaded and rended, other than that I cannot think of
a better idea.
Cheers,
pd:
if you find the answer post it back here
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"John Wood" <sp**@isannoyin g.com> wrote in message
news:%N******** **************@ news4.srv.hcvln y.cv.net... I can't find an HTML newsgroup that's at all active! Thought I'd ask here anyway...
I've noticed that a table cell width is ignored if the content contains words that (themselves) are wider than the specified width. The table just grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content frequently makes them bleed off the page.
TIA, John
Aha, figured it out.
Seems that you can use the DIV tag with overflow set to hidden to do it...
Cool huh?
<table width=100 border=1>
<tr>
<td><div style="width: 100px; overflow: hidden"> this is not
!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!</div><td>
</tr>
</table>
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:OF******** *****@TK2MSFTNG P09.phx.gbl... Hi John,
AFAIK that is not possible, you could try using javascript to format the cell after the page is loaded and rended, other than that I cannot think
of a better idea.
Cheers, pd: if you find the answer post it back here
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"John Wood" <sp**@isannoyin g.com> wrote in message news:%N******** **************@ news4.srv.hcvln y.cv.net... I can't find an HTML newsgroup that's at all active! Thought I'd ask
here anyway...
I've noticed that a table cell width is ignored if the content contains words that (themselves) are wider than the specified width. The table
just grows width-wise.
Is there any way to stop this?
I'm trying to get my tables to fit 640px wide, but the content
frequently makes them bleed off the page.
TIA, John
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Johnson |
last post by:
I am looking for a way to combine the functionality of "include" and
"here documents" so that an included html file containing $variables
is expanded and handled (normally printed to stdout).
It would be something like:
print <<<HERE
include file.html;
HERE;
|
by: Moosebumps |
last post by:
Is there a standard solution for writing HTML web pages with Python? I
don't know that much about web programming, but basically I want to generate
some internal reports on a web page.
It doesn't need to be fancy, just basic tables and linking, maybe indexing
and navigation, but I want it to all look nice and I want to be able to
change the formatting easily without combing through source code (hence my
next question about CSS).
I...
|
by: tomy_baseo |
last post by:
I'm new to HTML and want to learn the basics by learning to code by hand
(with the assistance of an HTML editor to eliminate repetitive tasks).
Can anyone recommend a good, basic HTML editor that's a step beyond
Notepad (not a WYSIWYG tool). Thanks.
|
by: Michael C |
last post by:
Anyone know of a good HTML Rendering control? I need a control that will
render and display HTML in a Windows form. It doesn't need to pull down
HTML pages from the Web - I'll feed it all the HTML it needs to display.
I've already spent way too much time trying to get the Microsoft WebBrowser
control to work, and I have too many other things to work on to waste any
more time on it. If you know of any third-party HTML Renderers out there,...
|
by: John |
last post by:
Last year, I remember finding a web page describing how to pass the
name of a file to another web page, and have that web page load that
image file.
Now, I can't find my record of that (it was saved on another computer
that I can't get to right now), and I can't remember what search
parameters I used to find it when I googled the topic.
Can anyone point me the right direction? I'd like to use a method that
would be accessible to the...
| |
by: Ori |
last post by:
Hi , I'm working with C#.NET and I'm looking for the following.
I have a web page content and I want to pull all the text which appear
in the page without all the HTML tags.
I know that there is a way to do it with regular expression.
Does someone know how to do it ?
Please help….
|
by: Lennart Björk |
last post by:
Hi All,
I have a tiny program:
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>MyTitle</title>
<meta http-equiv="Content-Type" content="text/html;
|
by: Yeah |
last post by:
Ever since I upgraded my Windows display to 120 DPI (kind of a necessary
change), fonts have been clearer and graphics have been crisper. However,
the 25% automatic increase in the text size on my web site has thrown it all
askew.
Combining my monitor's native resolution of 1280x1024 and the XP setting of
120 DPI, everything else is great, but now standard Serif on my web site
looks like I'm reading a Dr. Seuss book.
Obviously,...
|
by: saurabh |
last post by:
Can anybody tell me how to change the value of an html control from the
c#....
eg i hv one asp.net radio button control and one html hidden
variable...
so on page load in case the radio button is checked i want to set this
hidden variable to 1 else 0...
I am not getting what to write in Page_Load(object sender,
System.EventArgs e) function to change the value of this html
variable...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |