You are here: Re: left and right text align in li « HTML « IT news, forums, messages
Re: left and right text align in li

Posted by Jukka K. Korpela on 12/15/06 22:28

Scripsit Andy Dingley:

> frank.vandenbogerd@pandora.be wrote:
>
>> Actually the real problem is, both <td>'s contain one link : the
>> date & the text are one <a href>
>>
>> That's why I couldn't split it into 2 div's, or 2 td's...
>
> You can split it easily, just use two <a> with the same href values.

That's bad usability and bad accessibility, especially as regards to
tabbing. It _doubles_ the number of times you need to press Tab to get to a
specific link. It also pollutes the list of all links on the page; such a
list is available to the user in some browsers, and essential to some users.

I would expect that one could set up one <a> element inside a <td> element,
with some inner inline markup (probably <span>) inside the <a> element, and
then set display: block and width: 100% for the <a> element and align the
inner elements suitably. But I'm now too tired to test it.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация