This is a discussion on "[SOLVED] a span alignment" within the Web Page Design section. This forum, and the thread "[SOLVED] a span alignment are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] a span alignment
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] a span alignment
hey
I'd like to get an unordered list of the form:
However, the layout I get is: * item_1 3 * item_2 26 * item_3 6 * item_4 234 Obviously, it doesn't recognize the span width. Do you have any idea why it could be so???? ... and how I could fix it. thanks, P |
|
|
|
|||
|
Re: a span alignment
hm, then the numbers go to the right, but fall on the next line (below)
I'm afraid that some of the style attributes may be inherited from higher-order tags and therefore I get this strange result. Do I have to add anything else except for the width to overcome overriding of a (important) attribute in my case? thanks! |
|
|||
|
Re: a span alignment
not sure if this is what you are after but this seems to work.
|
|
|||
|
Re: a span alignment
The above ^ is maybe not the best way, but the idea is good. If you put the number into a span like dab42pat did, and use CSS to push that span to the right, you should get the desired effect.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: a span alignment
Quote:
That's not an unordered list; it's an unordered table. Why not use a <table>? |
|
|||
|
Re: a span alignment
yup, in the end I fixed it using table...
thanks |
|
||||
|
Re: a span alignment
thread marked as solved
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can <span></span> tags have position relative? | Oak | Web Page Design | 13 | Mar 9th, 2008 17:04 |
| [SOLVED] CSS Alignment Issue | AaronSmith | Web Page Design | 5 | Jan 23rd, 2008 14:21 |
| [SOLVED] Annoying.. alignment. | PicoDeath | Web Page Design | 9 | Dec 12th, 2007 11:15 |
| [SOLVED] Cross browser alignment | Mulith | Starting Out | 12 | Nov 14th, 2007 04:07 |
| <SPAN> help | Access | JavaScript Forum | 2 | Nov 3rd, 2007 18:13 |