Gabriel wrote :
Which is the mistake?
I need one column with different size.
Thanks a lot.
table { border: outset 2pt;
border-collapse: separate;
separate is the default, initial value of border-collapse: so there is
no need to set it.
border-spacing: 4pt;
background:blac k;
color:white;
table-layout:fixed;
Browsers will trigger table-layout fixed algorithm under certain
conditions: here, we do not see/know what is the markup code, so we
can't say if your css declaration is any useful.
width:600;
1-
Unitless measurements will be treated (by CSS parser) differently
depending on browser, browser version and browser rendering mode
(standards compliant or quirks/compatibility). For best and consistent
rendering across browser, browser versions, I recommend to use a strict
DTD and to always define units.
CSS 1 and CSS 2.x specifications require that non-zero values must be
specified with a length unit; otherwise, the css declaration will be
ignored. Mozilla-based browsers, MSIE 6+, Opera 7+ and other W3C
standards-compliant browsers enforce such handling of parsing error.
CSS 1 Forward-compatible parsing
http://www.w3.org/TR/REC-CSS1#forwar...atible-parsing
CSS 2.1 Rules for handling parsing errors
http://www.w3.org/TR/CSS21/syndata.html#parsing-errors
Using Web Standards in your Web Pages
http://developer.mozilla.org/en/docs...ing_Properties
"Lengths other than zero should be followed by a proper unit without a
space between the number and the unit (eg. 1.2em)."
Mozilla Web Author FAQ: My style sheet doesn't work! Why?
http://www.mozilla.org/docs/web-deve...tylenotworking
So, here, your width:600 could be ignored depending on browsers, browser
versions and rendering mode triggered.
2-
I strongly recommend not to use pt unless the stylesheet is for
printing. I strongly recommend to use only 1 unit for 1 type of
measurement and not 2. If you use, say, px, then only use px and do not
mix with other units.
}
/* I want this one the biggest */
.comentario {
border: inset 2pt;
font-size:28px;
width:400px;
}
.fecha {
border: inset 2pt;
font-size:12px;
For people over 40 years old, 12px may be a bit small. I have customized
Firefox's minimum font size to 13. So, if your webpage design is rigid,
not fluid, not scalable, then setting fixed font-size may break layout.
width:100px;
}
.nombre {
border: inset 2pt;
font-size:12px;
width:100px;
}
600 is not equal to 2pt + 400px + 2pt + 4pt + 2pt + 100px + 2pt + 4pt +
2pt + 100px + 2pt
Gérard
--
remove blah to email me