Bill Marshall wrote:
Quote:
Good Morning,
I am using the following ID with a layer (below) but when I enter
text it seems to try and justify the copy which in turn is causing
larger than usual space between words. Does this ID look correct to
you? Is there something I am missing? By the way I am using pure
layers and CSS - no tables. |
You don't say which browser is giving you this problem, or whether you're
using a Doctype, but in IE6 with a Doctype, the text does not appear
justified. It's quite possible the effect is coming from elsewhere in your
stylesheet.
A couple of points about your style, though:
"links" is not a good name to use for an ID. Ken Ford of PVII sorted out a
problem a few days ago for a German who was finding it caused conflicts with
JavaScript in his page (he'd used it because "links" is German for left, but
it's also used by JavaScript to create an array of <a> tags on a page).
You start off with a definition for background, then override it later with
background-color. When setting a font-family, it's always advisable to use a
generic font (such as serif or sans-serif) at the end of the list, in case
your chosen font is not available on the visitor's computer.
--
David Powers
*******************************************
No-nonsense reviews of computer books
http://japan-interface.co.uk/webdesign/books.html
Save 10% on TopStyle CSS Editor
*******************************************