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

table width

F
I have an extra wide table (a couple of screens wide) that I need to set up
in a way the table header cells are not wrapped but rather in one straight
line.

Fixing the table width (or cell width) seems to have no effect (tried up to
10000 px or 1000%).

How about CSS? Anybody have any idea?

Thanks,

F.
Jun 27 '06 #1
5 1715
"F" <F@F.COM> wrote in message news:e7**********@sunce.iskon.hr...
I have an extra wide table (a couple of screens wide) that I need to set up
in a way the table header cells are not wrapped but rather in one straight
line.
So you want no wrap in your td.. Gee... how to achieve that...
hint: google html no wrap
Fixing the table width (or cell width) seems to have no effect (tried up
to 10000 px or 1000%).

How about CSS? Anybody have any idea?


Yeah, dude, this is php group, and your question has nothing to do with php,
but html and css.

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
sp**@outolempi.net | Gedoon-S @ IRCnet | rot13(xv***@bhgbyrzcv.arg)
Jun 27 '06 #2

Kimmo Laine schrieb:
So you want no wrap in your td.. Gee... how to achieve that...
hint: google html no wrap
check http://selfhtml.org for questions concerning tables, css etc.

Yeah, dude, this is php group, and your question has nothing to do with php,
but html and css.


well try separating PHP and HTML/CSS for the common developer...
E

Jun 27 '06 #3
Erich Pul wrote:
Kimmo Laine schrieb:

So you want no wrap in your td.. Gee... how to achieve that...
hint: google html no wrap

check http://selfhtml.org for questions concerning tables, css etc.
Yeah, dude, this is php group, and your question has nothing to do with php,
but html and css.

well try separating PHP and HTML/CSS for the common developer...
E


Quite easy, actually.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 27 '06 #4
<comp.lang.php>
<F>
<Tue, 27 Jun 2006 10:34:47 +0200>
<e7**********@sunce.iskon.hr>
I have an extra wide table (a couple of screens wide) that I need to set up
in a way the table header cells are not wrapped but rather in one straight
line.

Fixing the table width (or cell width) seems to have no effect (tried up to
10000 px or 1000%).

How about CSS? Anybody have any idea?


<img src="demo.jpg" border="0" width="10000" height="2" alt=""></a>

Put it at the top of the table and ideally the image should be the same
background colour as the table or table cell .
--
www.emailuser.co.uk/?name=KRUSTOV
Jun 27 '06 #5
*** F escribió/wrote (Tue, 27 Jun 2006 10:34:47 +0200):
I have an extra wide table (a couple of screens wide) that I need to set up
in a way the table header cells are not wrapped but rather in one straight
line.


Add this to your style sheet:

th{
white-space: nowrap;
}

If you don't want to for *all* tables, apply an ID or class name.

--
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro
--
Jun 27 '06 #6

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

Similar topics

14
by: Carl Gilbert | last post by:
Hi I am currently writing a site that utilises tables. I have one page that links to a second page. The only problem is that when I link to the second page, the table loads up with a...
10
by: John | last post by:
I have a table with two rows. On the first row is a text box and in the second row is an image. I have set the table cellpadding to 0 and cellspacing to 0. The table is leaving extra spaces in the...
1
by: andrewkooi | last post by:
Greetings, I have 16 links for my horizontal menu navigation as you can see in my website www.singakad.com and at present, I am using a table and javascript for this menu. Is it possible for...
3
by: Chifo | last post by:
hello. i have a problem with a populate html table with data from table here it's the problem two querys retrieving data from table, one of querys show me a colletion of data from 6:00 am to...
5
by: outstretchedarm | last post by:
I'm extremely new to javascript and to programming in general. I am trying to create an interactive table. I have already created the table with constants, in the key of C (it is for music). ...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
1
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into...
1
by: TechnoAtif | last post by:
Hi to all. I have got a form containing of checkboxes along with other items. I have simply no clue as to (i) how to make entry for those checkbox data into the mysql table . I mean : what query...
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...
0
by: vozzek | last post by:
EDIT: Nevermind, I fixed this by using a <BR /> instead of trying to write option_a to a new row of the table. Thanks all! Hi all, This has been haunting me for over a day now, and I can't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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...

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.