Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2007
    Posts
    72
    Thanks
    4
    Thanked 0 Times in 0 Posts

    list problem in ie

    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.

  • #2
    Regular Coder
    Join Date
    Nov 2006
    Posts
    247
    Thanks
    13
    Thanked 26 Times in 24 Posts
    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:

    Code:
    .bulletlist1 {
            color:#000000;
            margin:20px 0px 20px 0px;
            text-align:left; 
            font-size:10pt;
    }
    and yeah, <span style="color:#123456">text</span>.

  • Users who have thanked Majoracle for this post:

    kaitimae (01-14-2008)

  • #3
    New Coder
    Join Date
    Apr 2007
    Posts
    72
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks so much Majoracle. Worked just the way I wanted to. I really appreciate it.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •