This is a discussion on "Text Alignment on second line of Bullet point" within the Web Page Design section. This forum, and the thread "Text Alignment on second line of Bullet point are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Text Alignment on second line of Bullet point
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Text Alignment on second line of Bullet point
Hi,
I am creating a site that uses quite a lot of bullet points in various areas of the design, such as content and navigation. I have designed my own bullet image, which is applied through my stylesheet. Is there a way to get the second (and subsequent) lines of text all to align together when using bullet points. An example is below - Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah This is what I currently have, but I want all the lines of text to be aligned with the first "B" on the first line. Thanks for your time, I hope I have explained myself correctly! Adrian |
|
|
|
#2
|
|||
|
|||
|
Re: Text Alignment on second line of Bullet point
Try the following:
|
|
#3
|
|||
|
|||
|
Re: Text Alignment on second line of Bullet point
Hi Geoff,
Thanks for you reply. Unfortunately this is not working. I have applied a padding so that the text is an acceptable distance from the bullet image. When I apply your snippet of code, the text padding seems to be overridden and the text overlaps the image. The CSS I am using is below... #content li { background: URL(images/bullet.gif) no-repeat 5px 5px; padding: 2px 0 2px 5px; list-style-position:outside; } Thanks once again for your time Adrian. |
![]() |
| Tags |
| text, alignment, second, line, bullet, point |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have a major problem with Text Line-Height | vidoewebmastery | Web Page Design | 2 | Mar 24th, 2008 20:15 |
| scroll does not line up text and background | cherishkiss | Web Page Design | 2 | Feb 22nd, 2007 15:40 |
| text in one line - How To Avoid TABLE tag and use CSS ? | pugo | Web Page Design | 4 | Jan 18th, 2006 04:14 |
| Bullet point images - Problem with text alignment | Andy K | Web Page Design | 6 | Aug 16th, 2005 15:09 |