You are here: Re: Superscript (<sup>) and middle alignment in tables « HTML « IT news, forums, messages
Re: Superscript (<sup>) and middle alignment in tables

Posted by Jukka K. Korpela on 12/23/07 14:21

Scripsit jodleren:

> On 23 Dec., 01:54, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
>> Scripsit jodleren:
>>
>>> I have this (see code below).
>> Post the URL, if you wish to create a constructive discussion.
>
> Apearently you found the problem anyway below.

No, I didn't. I just mentioned some of the markup errors (which you
could have found yourself using a validator).

Do you want constructive discussion? If yes, why didn't you post the URL
now, after having been asked to?

>The code was here and
> is simple enough to work as a small file.

No it isn't. If you knew HTML, you would have realized this.

>>> Point: I want the bar to be aligned in the middle of the text, even
>>> when with superscript.
>> Which bar? Is the bar open? What's your point?
>
> Statistics.

Statistics is a subject area, not a point.

> Save the file and you will see.

No I won't. It was part of your homework to save it and post the URL.

>>> I have a dummy gif 14 pixels high 1 wide.
>> Why?
>
> The bar.

You are not helpful in helping others to help you.

>> Using <b> is a symptom of poor coding. Is this really a heading cell?
>
> Yep. And why dont you like it?
> Above is suggested <strong>.

Which part of the sentence "Is this really a heading cell?" did you fail
to understand.

>>> <tr><td valign="middle">December 22<sup>nd<sup>&nbsp;</td><td
>> No wonder if you have problems - you have two <sup> start tags and no
>> end tag for either of them.
>
> See? the code here is enough.

It is enough for seeing that you have either misunderstood HTML or coded
sloppily without using a validator. It is not enough for seeing what you
are trying to accomplish - this would be the first part in finding a
good way to achieve it. Among other things, the &nbsp; looks suspicious.
Why do you use such a coarse and illogical method of creating padding,
instead of using CSS?

--
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

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