...

View Full Version : list problem in ie



ds67
01-13-2008, 04:30 AM
Hi:

I looked and couldn't find the solution to my problem. I've created a bullet list in CSS. Looks great in FF but the alignment in IE is off. Is there a way I can fix this? You can see the problem at the following page:

http://netsitemaker.com/nsmjan08/design.html

Also, using CSS, is there a way I can change the font color of a few words within a paragraph without using <font color="123456"></font>???

Thanks so much.

Majoracle
01-13-2008, 04:44 AM
IE uses margin to create the space on the left of a list, where Firefox uses padding. Because you have the margin on the left set to 0, if pushes all the way to the left in IE. You SHOULD be able to fix it by just removing the margin all together:


.bulletlist1 {
color:#000000;
margin:20px 0px 20px 0px;
text-align:left;
font-size:10pt;
}

and yeah, <span style="color:#123456">text</span>.

ds67
01-14-2008, 02:46 AM
Thanks so much Majoracle. Worked just the way I wanted to. I really appreciate it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum