RE: bullet list w/CSS problem

by "Ben Chang" <ben.chang(at)>

 Date:  Wed, 20 Mar 2002 11:50:50 -0500
 To:  <ben.chang(at)>,
  todo: View Thread, Original
Hi David,

I can not use fix font size, i.e. 12pt, 12px....etc.
We need to use %.



>>> "Barnes, David (D.)" <dbarne20(at)> 03/20/02 11:09AM >>>
Can you use something other than the percentage for your size, i.e. if you
put font size 15px in the ul class then the size would remain the same
throughout all the nested lists. =20


Dave Barnes=20

Body, Safety, and Security Lab=20
Room LS-115C=20
dbarne20(at) =20

-----Original Message-----
From: Ben Chang [mailto:ben.chang(at)]=20
Sent: Wednesday, March 20, 2002 10:03 AM
To: hwg-techniques(at)
Subject: bullet list w/CSS problem


I have tried to figure this out for a quiet some time...but still no luck.

I have a problem putting font size 90% in the HTML bullet lists by using
I can not put font size 90% in the <BODY> selector in CSS because of some
other reasons; therefore, I need to create=20
another class for <UL> and <OL> to use (ex. <UL class=3D"fontsize90%">). =
If I put font size 90% in the <UL> and <OL> selector in CSS, the child =
and <OL> will be cascaded (the font size will become smaller and smaller). =

Does anyone know any other way to do this quick and easy?  without putting =
class in the <UL> and <OL> tags?
I have enclosed an example at the bottom of the message.



Example code:
	<title>CSS List testing</title>
	<style type=3D"text/css">
	/* can not put 'font-size: 90%;' in the body because of other
reasons */ =20
	ul     { list-style-type: disc;  }  /* can not put 'font-size: =
here, will casue cascade effects */ =20
	ul ul  { list-style-type: circle; } /* second child level */
	ul ul ul  { list-style-type: square; } /* third child level */
	/* only way to do it now is to create a class for UL and OL.
	ex. .fontsize { font-size: 90%; } */ =20


			<li>TV Dinner</li>
			<li>Junk Food
					<li>Potato Chips w/ salsa</li>


HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA