Forums / Templates, Stylesheets, Page Layout / Fix Bullet List Left Margin on Product Description Page

Fix Bullet List Left Margin on Product Description Page

Locked

Started by gems14k on 7 Nov 2006, 1:43 AM · Views: 4,853

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
7 Nov 2006, 3:16 AM
#2
jgamio avatar

jgamio

Zen Follower

Join Date:
Nov 2006
Location:
Caracas
Posts:
114
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

I am not sure but try some like this:

.biggerText ul {
margin-left:2px;
}

because the ul take a ul atribute from another part.
if your try this maybe change

I am new in css and php but I hope this can be help you

7 Nov 2006, 3:56 AM
#3
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

Try the following in you stylesheet and adjust the other styles.

#productDescription li {
    background-color: background; /* only for visual help in test */
    list-style-type: none; /* to disable the bullet point */ 
    margin-left: 2em;
}

A New Starter again

7 Nov 2006, 4:09 AM
#4
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

And the suggestion from @ jgamio also works if change the ul to li. :smile:

.biggerText li {
margin-left:2px;
}

A New Starter again

7 Nov 2006, 5:16 AM
#5
gems14k avatar

gems14k

New Zenner

Join Date:
Jul 2005
Posts:
95
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

Thank you for the quick replies.

I tried this

#productDescription li {
margin-left: 2em;
}

and this

.biggerText li {
margin-left:2px;
}

Both of them works on Firefox, but not on IE. It's always IE... Any more suggestion?

Thank you,

7 Nov 2006, 6:27 AM
#6
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

It is a great different between FF and IE6. :(
Had tried the following and separated them to adjust each other.

#productDescription li {
	background-color: beige;  /* for test only */
        margin-left: 2em;
        _margin-left: 24.5em; /* For IE only, but will cause validation error */
	list-style: square;
} 

For pass validation, may try the following and with same result.

#productDescription li {
	background-color: beige;  /* for test only */
        margin-left: 2em;
	list-style: square;
}

/* For IE6 only */
* html #productDescription li {
	background-color: yellow;  /* for test only */
        margin-left: 24.5em;
	list-style: square;
}

A New Starter again

7 Nov 2006, 7:05 AM
#7
gems14k avatar

gems14k

New Zenner

Join Date:
Jul 2005
Posts:
95
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

seethrou:

It is a great different between FF and IE6. :(
Had tried the following and separated them to adjust each other.

For pass validation, may try the following and with same result.

#productDescription li {
background-color: beige; /* for test only */
margin-left: 2em;
list-style: square;
}

/* For IE6 only */

  • html #productDescription li {
    background-color: yellow; /* for test only */
    margin-left: 24.5em;
    list-style: square;
    }

seethrou, it works now.... Thank you so much!!!!!!!!!!!
7 Nov 2006, 7:07 AM
#8
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Fix Bullet List Left Margin on Product Description Page

You are welcome! :smile:

And glad to hear you have the problem solved. :smile:

bye,

.

A New Starter again