Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 31st, 2004, 10:40 AM
Authorized User
 
Join Date: Aug 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default color attribute with <li>

I've got a web page with all my fonts in a brown (#511e00). However on an iBook running IE5 for Mac the print remains black even when I insert color="#511e00" into the <li> tag. (All the rest of the print is properly colored, however.)

Is there some way I can get the desired results on those lines of type?

Thanks.
econophil

 
Old August 31st, 2004, 12:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Try:

<li>Text

Or:

<li style="color:#511e00">

Brian
 
Old August 31st, 2004, 02:22 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

 is depreciated, so, yes, use CSS.

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating <li> as per xml using xslt 1.0 tims XSLT 9 May 12th, 2008 01:30 AM
<li></li> issue Adam H-W CSS Cascading Style Sheets 1 November 5th, 2007 06:41 AM
How To PopUp Text Message within <li> tclotworthy Javascript How-To 1 February 18th, 2007 09:07 PM
create <ul> with alternating class on <li> element Brian Campbell XSLT 2 November 3rd, 2006 06:07 PM
Problem with text-decoration in cascaded <li> setesteve CSS Cascading Style Sheets 6 January 7th, 2005 10:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.