I'm working on a print style sheet. I'm trying to style a data table and
make the row that contains the table header a very light gray so that it
presents as the headings when printed. I styled as below, but it does not
print with any color. Thank you for any advice.
Shouldn't there be a space before the '!' ?
Kevin
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies --
Do you have a url to the page in question.
I wouldnt think it would matter, but maybe there needs to be a space
between #dfdbdb and !important
table.PolicyHistory th {
background-color : #dfdbdb !important ;
}
Also a stab in the dark--css is case sensitive, is PolicyHistory
possibly
On 6/30/11 4:13 PM, Angela French wrote:
I'm working on a print style sheet. I'm trying to style a data table and
make the row that contains the table header a very light gray so that it
presents as the headings when printed. I styled as below, but it does not
print with any color.
Are you testing by looking at a physical printout or a PDF? Sometimes a
light grey wont be noticeable in print.
You've set the media type in the style sheet link?
eg: LINK REL=stylesheet TYPE=text/css MEDIA=screen, print
HREF=foo.css
Kevin
On Jul 1, 2011, at 5:33 AM, Tim Duffy wrote:
I wouldnt think it would matter, but maybe there needs to be a space
between #dfdbdb and !important
It does not matter (as in: white-space is optional) - and it is ignored at
parse time anyway (except with escaped characters).
see
A point I've not seen anyone make here (apologies if I missed some
postings) is that tables are still required for reliable (?) layout in
HTML e-mails. So perhaps it's as well that they be legitimate. It
doesn't mean we are required to use them for layout in browsers.
On 17/03/2011 18:20,
Tables shouldn't be used in e-mails either, because we don't know how
screen readers and other assistive technologies use the output produced by
an email client.
If the output is serialized, implying that only text will be read aloud,
there tables or not tables doesn't make any difference.
On 03/16/2011 06:13 PM, Philip Taylor (Webmaster, Ret'd) wrote:
Bobby Jack wrote:
It's just a shame that some of the big players (cough google, facebook)
are so resolute in their old, bad habits, that the W3C now feels under
pressure
to legitimise those habits.
Well, well, there's a
The site which I work on has an older form that is several pages long.
The outer shell is doctype 4.0, tabular with so many coding errors I
could only make it work in all browsers. Currently, I updated the
out shell to be standards css based with xhtml transitional but kept
the form in the
Hello Friends
I need your help regarding right selection of tags. I have created a form:
http://demo.awayback.com/maknetforms/ using tables (though I love divs). I want
to know if there is better way to code this, I mean, am I using right tags at
right place? Is it okay to use tables here over
Tables or no tables are your decision. I would suggest labeling your
form for accessibility. Fieldsets are also a good organizational tool.
Here is an article from A list Apart on tableless forms and proper
labeling using fieldsets.
http://alistapart.com/articles/prettyaccessibleforms
Another
This post has links to a number of different articles on the subject of CSS
forms:
http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/
Jim
www.jimdavis.org
__
css-discuss [EMAIL PROTECTED]
Hello,
I'm reworking a website that someone else created, and have been banging my
head against the wall a bit with it.
What happens is that the tables (that were laid out with images and
rowspans) display fine in IE but not FireFox. FireFox puts a huge blank
space between the first row of the
Hi,
I am having problems with tables, basically I want to do all formatting in CSS
but am having problems knowing how to do cellspacing and cellpadding table
attributes in CSS.
At the moment I have :-
table {
border: 1px solid black;
}
td {
border: 1px solid
Aaron Gray wrote:
Hi,
I am having problems with tables, basically I want to do all formatting in
CSS but am having problems knowing how to do cellspacing and cellpadding
table attributes in CSS.
At the moment I have :-
table {
border: 1px solid black;
}
td {
Hi all,
I'm trying to wrap up the page located at:
http://www.cprtools.net/international/inquiry.php
CSS:
http://www.cprtools.net/international/international.css
Issues I seem to be having:
1) Ideally, I'd like #head #general and the table to all appear as one
unit, with a white background,
Hi all,
I'm trying to wrap up the page located at:
http://www.cprtools.net/international/inquiry.php
CSS:
http://www.cprtools.net/international/international.css
Issues I seem to be having:
1) Ideally, I'd like #head #general and the table to all appear as one
unit, with a white background,
Ray Leventhal wrote:
Hi all,
I'm trying to wrap up the page located at:
http://www.cprtools.net/international/inquiry.php
CSS:
http://www.cprtools.net/international/international.css
snip
With thanks to Mr. Laasko for his reply on the WSG list, this issue is
mostly solved :)
Thanks,
From: Philippe Wittenbergh [EMAIL PROTECTED]
Subject: Re: [css-d] tables, table captions in I.E.6
On Oct 11, 2007, at 12:50 AM, Michael Leibson wrote:
http://members.distributel.net/~leibson/table%20or%20caption%20margins%20in%20IE.htm
First problem:
The margin for the table caption
On Oct 11, 2007, at 12:50 AM, Michael Leibson wrote:
I wonder if anyone might be able to tell me where I've gone wrong
in the following?
http://members.distributel.net/~leibson/table%20or%20caption%
20margins%20in%20IE.htm
First problem:
The margin {margin-top: 50px; margin-bottom:
I'm making a two columns layout for my website...
I face a problem in internet explorer when I used tables in the contents
column (the right one)
As the left column is floating to the left, the tables clears the right side
of that column, although all other
contents sucha s text or images are
Ahmed Essam wrote:
I'm making a two columns layout for my website...
I face a problem in internet explorer when I used tables in the contents
column (the right one)
As the left column is floating to the left, the tables clears the right side
of that column, although all other
contents
Hi there. I'm an old-school tables designer trying to kick the habit and
this should be easy. I want to convert the tabled code below to
CSS-only. My main two problems:
(1) cleanly coding in the space taken by nbsp; in the table
(2) preventing the divs from moving around when the browser is
Need to think a bit more less row by row, and instead group things together
by if they make sense.
div id=container
div id=portion
div class=headerPortion/div
divfull input id=full type=checkbox/div
divhalf input id=half type=checkbox/div
/div
div id=theID
div class=labelID/div
Hi Scott,
Just my two cents here but this actually looks like tabular data you want to
display there (will there be multiple rows ?). Remember that tables are
still valid tags in the HTML/XHTML language definition. They are just no
longer considered fitted or semantically correct for main layout
Hi,
A small question, is there a way to style entire columns in a table
(thead,tbody,tfoot) based on classes defined in the colgroup of a
table ?
example :
http://101.rosedev.nl/testbase/csstable.html
http://101.rosedev.nl/testbase/csstable.css
Regards,
ROSE Development
Silvester Kok
ROSEDEV wrote:
Hi,
A small question, is there a way to style entire columns in a table
(thead,tbody,tfoot) based on classes defined in the colgroup of a
table ?
example :
http://101.rosedev.nl/testbase/csstable.html
http://101.rosedev.nl/testbase/csstable.css
Regards,
ROSE Development
Hi all,
I came upon a Firefox bug when a 7-page order came out as 3 pages when
printed. Gunlaug had the answer with table,td { height: 100%; } here:
http://archivist.incutio.com/viewlist/css-discuss/76423
With this fix, though, when the same order is printed in IE7, each row
of the table
Austin, Darrel wrote:
Well, I've looked through the exhaustive list of 3 column layouts that
the Wiki crew has so remarkably maintained:
http://css-discuss.incutio.com/?page=ThreeColumnLayouts
Alas, I couldn't find a single layout that prevented the IE/PC problem
where if one of the columns
Austin, Darrel wrote:
Well, I've looked through the exhaustive list of 3 column layouts that
the Wiki crew has so remarkably maintained:
http://css-discuss.incutio.com/?page=ThreeColumnLayouts
Alas, I couldn't find a single layout that prevented the IE/PC problem
where if one of
What about using a min-width value to prevent the problem?
Because I'm not in control of the content, therefore, someone can always
put something wider in the content area than any min-width attribute I
set.
Seems like all the 3-column layouts work great if one is also in control
of the
well isn't that quite obvious? if you don't wan't it to drop,
you simply can't make them too wide.
I'm in control of the template. Not how wide the content inside the
template is on a page-by-page basis.
i think you should look
for something like an auto resizeable columns tutorial. not
Darrel,
I've had much success in avoiding this problem w/ a judicious use of
overflow:hidden and/or using relative positioning instead of floats.
An example is here: http://sandbox.royalrodent.com/threecol/.
NOTES AND DISCLAIMERS: there are several different alternate
stylesheets included on
Seems like all the 3-column layouts work great if one is also in control
of the content. Alas, this being a CMS that, while we try to 'police' we
simply can not enforce to the fullest extent of the 'content law' ;o)
This is a good chance to plug my project on making CMS-ready CSS
designs
In any case, if you cannot control how wide the main content
will be then you either
a) have a very bad CMS that allows the editors too much
freedom in designing the page rather than editing content or
It's our own CMS and we can only restrict content editing to a point. If
somone needs
I've had much success in avoiding this problem w/ a judicious
use of overflow:hidden
Well, we can't HIDE the content ;o)
I did try overflow: scroll, but that, while works, is goofy looking and
I'm afraid will just confuse most folks that encounter it.
There are two main culprits:
- large
Ideally, if someone WANTS to put in a really wide chunk of content, I'd
like them to be able to do it. Alas, the page would have to scroll
horizontally, but at least they could do it.
What about an overflow: auto on the content section. That way they'd
be able to scroll horizontally, too, but
On 4/11/06, Austin, Darrel [EMAIL PROTECTED] wrote:
There are two main culprits:
- large images (which I think overflow: hidden would be fine for)
- semi-large tables (alas, a necessity for some of our data)
Think you can post an example w/ the typical offenders?
--
Bryce Fields
What about using a min-width value to prevent the problem?
Because I'm not in control of the content, therefore, someone can
always put something wider in the content area than any min-width
attribute I set.
Seems like all the 3-column layouts work great if one is also in
control of the
:21 -0500
From: Austin, Darrel [EMAIL PROTECTED]
Subject: [css-d] Tables it is! (no luck finding a 3-column layout that
works in IE...)
To: css-d@lists.css-discuss.org
Message-ID:
[EMAIL PROTECTED]
A.courts.state.mn.us
Content-Type: text/plain; charset=us-ascii
Well, I've looked through the exhaustive list of 3 column layouts that
the Wiki crew has so remarkably maintained:
http://css-discuss.incutio.com/?page=ThreeColumnLayouts
Alas, I couldn't find a single layout that prevented the IE/PC problem
where if one of the columns has content too wide, it
Austin, Darrel wrote:
Well, I've looked through the exhaustive list of 3 column layouts that
the Wiki crew has so remarkably maintained:
http://css-discuss.incutio.com/?page=ThreeColumnLayouts
Alas, I couldn't find a single layout that prevented the IE/PC problem
where if one of the
I am looking for a good tutorial on creating Tables that validate.
any good recommendations?
-jeremy
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub --
On 09/02/06, jeremy [EMAIL PROTECTED] wrote:
I am looking for a good tutorial on creating Tables that validate.
any good recommendations?
http://www.w3.org/TR/html4/struct/tables.html
--
David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk
This is an excellent write-up:
http://www.456bereastreet.com/archive/200410/bring_on_the_tables/
On 2/9/06, Zoe M. Gillenwater [EMAIL PROTECTED] wrote:
jeremy wrote:
I am looking for a good tutorial on creating Tables that validate.
any good recommendations?
Jeremy,
This a question
I'm trying to move a table-based design to css layout, and I have a
few questions. I'm not trying to make it a perfect match (I'm not the
designer) but I want to get it close, and use it to answer a few
questions I have.
Here's the table layout that was given to me:
Bill,
on Tuesday, December 27, 2005 at 16:23 Bill Moseley wrote:
1) The table version has an explicit width and so shrinking the window
doesn't effect the design (just requires scrolling). In the css
version the DO SOMETHING links starts wrapping. I'm not really sure
what the correct
Bill Moseley wrote:
I'm trying to move a table-based design to css layout...
Here's the table layout that was given to me:
http://hank.org/demos/bannertable.html
http://hank.org/demos/global.css
Here's the css version:
http://hank.org/demos/banner.html
On Tue, Dec 27, 2005 at 11:38:42AM -0500, David Laakso wrote:
In addition to Martin's suggestions, start with a proper doctype (you
have none now; consequently, ie is in quirks mode) and validate the
markup. That sure is a lot of code for a banner.
I knew someone would comment about about
[EMAIL PROTECTED] wrote:
please advice me any code that will make the tables in this URL
(http://freenet.am/~mib/Gtest.html) wrap normally, when resizing
browser window, or changing monitor's resolution.
It's ok when tables have the same size, but when they don't, it's a
problem.
Hi,
please advice me any code that will make the tables in this URL
(http://freenet.am/~mib/Gtest.html)
wrap normally, when resizing browser window, or changing monitor's resolution.
It's ok when tables have the same size, but when they don't, it's a problem.
Sorry for poor English.
Hi,
please advice me any code that will make the tables in this URL
(http://freenet.am/~mib/Gtest.html)
wrap normally, when resizing browser window, or changing monitor's
resolution.
It's ok when tables have the same size, but when they don't, it's a problem.
Sorry for poor English.
Hi Guys
I have been styling a site at:
http://www.bazaarbuilder.com/cgi-bin/Wilsons/myshop.php?
catparid=347merchant=Wilsons
The css is embeded. I have used tables but cannot get to grips with
vertical-alignment. I have styled the tables using css and used
vertical-alignment: top; to get
Richard,
On Nov 1, 2005, at 10:27 AM, Richard Brown wrote:
Hi Guys
I have been styling a site at:
http://www.bazaarbuilder.com/cgi-bin/Wilsons/myshop.php?
catparid=347merchant=Wilsons
The css is embeded. I have used tables but cannot get to grips with
vertical-alignment. I have styled
I have been meaning to ask this, and I can not remember the exact case, but
I am sure it is basic to most of you.
If I set a overall font-size, for example:
.wrapper {
font-size: .8em;
}
I then wrap the entire page in that, any table I use, seems to not follow
that font size. Setting the
Setting the td and table to a specific font size of the
same, I think, if I remember, makes the fonts smaller than the .8em, can
someone tell me whats happening here and how you work around it?
You set the td and table to 1em, that makes it 1 em times the page's .8 em
which equals .8 em.
on 10/12/05 6:46 PM, Christian Montoya at [EMAIL PROTECTED] wrote:
You set the td and table to 1em, that makes it 1 em times the page's .8 em
which equals .8 em. Rather than .8 em times .8 em which is .64 em. See?
Also, have you tried setting the table to font-size:inherit? I haven't tried
HI Guys
I'm facing now the dilemma between working with tables or div's
im trying to figure what is the golden path
Sometimes div's seems to be overkilling achievement when I'm working
with a layout of 3 standing columns and one should relate to his
brother height
Even though div's are so
shlomi asaf wrote:
I'm facing now the dilemma between working with tables or div's
im trying to figure what is the golden path
Hi
IMHO it shouldn't be a tables Vs divs argument - because both have their
place when correctly marked up. It should be a tables for formatting
Vs CSS argument.
*hey guys*
thanks so much for your replies
*cristina*, have u found your css fails? mine never fall down.
ill read more in details your email, later on- promise :)
*dwain, **cristina, *look at this example, plz enlighten my eyes if im doing
something wrong.
If web design was easy, companies wouldn't pay hundreds, even thousands of
dollars for great web sites. CSS is about learning to do it right. I can
assure you that once you learn the techniques of CSS, you'll find it's a lot
faster than designing with tables. You just have to keep working on it.
Thanks again to Paul and Martin for help with laying out the products.
I have been putting the parts together as both had things I needed, and this
is where I am. http://www.kingfisherdesigns.com/Test/rings2.htm
The problem I am seeing here is that the top two product descriptions don't
At 05:53 PM 7/22/2005, L Coulson wrote:
Thanks again to Paul and Martin for help with laying out the products.
I have been putting the parts together as both had things I needed, and
this is where I am. http://www.kingfisherdesigns.com/Test/rings2.htm
The problem I am seeing here is that
At 08:35 PM 7/17/2005, Lst Recv wrote:
If I set properties of a td, such as margin and padding, do they apply
to the td in relation to other cells, or to the text within the td?
It depends -- margins separate an object from adjacent objects, while
padding separates the perimeter of an object
65 matches
Mail list logo