Sent by Felix Miata on 8 November 2005 01:01
M. Montgomery wrote:
> Finishing up a site for a client: http://photosbykat.net/
> I know it doesn't validate, but she absolutely insists on the
> right-click disable (though I explained it's easy to work around), and
> I don't know how to do it validly.
> I'm working on the gallery pages, and a sample from a ministry trip is
> posted at: http://photosbykat.net/cuba/
> The css file is at:http://photosbykat.net/textpattern/css.php?s=cuba
> The xhtml and css for the gallery page both validate.
> My question is about the (ugly) help text on the right, below the
> search box, a paragraph currently in what ought to be an unnecessary
> div="help"
> The css includes some generic styling for p elements.
> The #sidebar sets font-size and line-height, and the #help div (inside
> the #sidebar) attempts to bring the size back down to something
> reasonable.
> Why isn't it working?
I'm not sure exactly what you mean by "not working", but I suspect a
combination line-height/font-size problem. See if the following don't
get you pointed in the right direction:
In #sidebar, change:
font-size: 1.5em; to font-size: x-large;
and
line-height: 2em; to line-height: 2;
and in #help p, change:
font-size: .9em; to font-size: medium;
and
line-height: 1.6em; to line-height: 1.3;
Pay a visit here too:
http://members.ij.net/mrmazda/auth/line-height.html
--
"I can do all things through Him who gives me strength."
Philippians 4:13 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/auth/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/