This is a discussion on "Bullet point images - Problem with text alignment" within the Web Page Design section. This forum, and the thread "Bullet point images - Problem with text alignment are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Bullet point images - Problem with text alignment
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Bullet point images - Problem with text alignment
Has anyone encountered a problem with text alignment when using images for bullet list-style-image?
As shown in the image below, the text is aligned on the base. I have text-align set to middle which corrected to problem in IE (suprisingly) But in FF and Opera the problem remained. ![]() I have all the padding and margins set to 0 and even adjusting these does very little. Any suggestions for the best way to approach using image bullets please |
|
|
|
|||
|
tried setting the text (or bullet image) to vertical-align: middle?
|
|
|||
|
Is the bullet the same pixel size as the text? This can offset it as well I know in FF.
|
|
|||
|
add 3 pixels of white space to the top of the image.
|
|
|||
|
Hi
The vertical-align is set to middle but only corrected it in IE. Tried putting some white space at the top but the text stayed along the base. I think the best idea is reducing the size of the bullet image, but the image quality and size looks rubbish. CSS is great but I cant help thinking customising image bullet points is amaturish |
|
||||
|
Hi Andy, one way round this problem is to use the image as the background which you can force the positioning of...
Something like this:- background: transparent url(images/bullet.gif) no-repeat 5px 4px; Obviously play with the px values until you are happy. oh, and set the list-style-type to none.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| bullet, point, images, problem, text, alignment |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alignment problem in IE | Lchad | Web Page Design | 16 | Feb 10th, 2007 00:30 |
| Text Alignment on second line of Bullet point | adeking | Web Page Design | 2 | Jul 31st, 2006 20:38 |
| Text alignment | Towbar | Introduce Yourself | 2 | May 15th, 2006 23:16 |
| Alignment problem..basic | liquid | Web Page Design | 3 | Mar 2nd, 2004 07:49 |