Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2083
Li problem
Results 1 to 9 of 9

Thread: Li problem

  1. #1
    Registered organ's Avatar
    Join Date
    Dec 2005
    Posts
    81

    Li problem

    HTML Code:
    li {
    	list-style-type: none;
    	text-align: left;
    	vertical-align: baseline;
    	list-style-image: url(1.gif);
    }
    I want let the text left, how can i do?

  2. #2
    Future AstonMartin driver r2d2's Avatar
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,608
    You could try adding 'padding-left:0; margin-left:0;'.

  3. #3
    Registered organ's Avatar
    Join Date
    Dec 2005
    Posts
    81
    Quote Originally Posted by r2d2
    You could try adding 'padding-left:0; margin-left:0;'.
    Thanks r2d2, but without result.
    look the example
    http://www.e-loan-debt-consolidation.info/
    Last edited by organ; 04-07-2006 at 06:12 AM.

  4. #4
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    <ul style="margin: 0; padding: 0;">

    It needs to be in the ul tag

  5. #5
    Registered organ's Avatar
    Join Date
    Dec 2005
    Posts
    81
    It's ok.
    Thanks!

  6. #6
    Registered organ's Avatar
    Join Date
    Dec 2005
    Posts
    81
    The text is ok but "1.gif" gone.

  7. #7
    Future AstonMartin driver r2d2's Avatar
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,608
    Try increasing the 0 a bit, e.g. <ul style="margin: 8px; padding: 0;">

    You need to put 'px' after the value when its non-zero, so it knows what units to use. No need when using 0, since 0 is 0pixels whatever the unit.

  8. #8
    Registered organ's Avatar
    Join Date
    Dec 2005
    Posts
    81
    Quote Originally Posted by r2d2
    Try increasing the 0 a bit, e.g. <ul style="margin: 8px; padding: 0;">

    You need to put 'px' after the value when its non-zero, so it knows what units to use. No need when using 0, since 0 is 0pixels whatever the unit.
    I see! Thank your guide.

  9. #9
    I'm the oogie boogie man! James's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    1,566
    I doubt that has to do with your CSS; unless you've accidently changed the path to the image.

Similar Threads

  1. AWS Price Problem
    By ForgottenCreature in forum Website Programming & Databases
    Replies: 2
    Last Post: 10-20-2004, 12:59 PM
  2. viewing problem
    By fellboyzs in forum HTML, CSS, Layout, and Design
    Replies: 2
    Last Post: 05-05-2004, 06:15 PM
  3. Search Engine Friendly URLs Problem
    By cameron in forum Search Engine Optimization
    Replies: 5
    Last Post: 02-24-2004, 08:43 PM
  4. Strange DB Selection Problem
    By Mike in forum Website Programming & Databases
    Replies: 10
    Last Post: 02-12-2004, 01:06 PM
  5. Problem with my links
    By Mike in forum HTML, CSS, Layout, and Design
    Replies: 3
    Last Post: 11-15-2003, 03:25 PM

Bookmarks

Posting Permissions

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