Re: Superscript (<sup>) and middle alignment in tables
am 23.12.2007 01:54:21 von jkorpela
Scripsit jodleren:
> I have this (see code below).
Post the URL, if you wish to create a constructive discussion.
> 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?
> The problem is, that the content in the 2nd
is top aligned at all
> times.
No it isn't.
> Superscript is somewhat higher than normal text,
Huh? You have done something odd. URL, please.
> but the following ts
> does not align as I want it to. Can anyone help me here?
Try wanting something else. Try posting a URL. Try explaining what you
are really doing.
> I have a dummy gif 14 pixels high 1 wide.
Why?
> Any gif can be used for testing.
Maybe, but we still want the URL.
>
Try using valid markup. A validator would help you.
> Day |
Using is a symptom of poor coding. Is this really a heading cell?
> December 22nd | |
No wonder if you have problems - you have two start tags and no
end tag for either of them.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Re: Superscript (<sup>) and middle alignment in tablesam 23.12.2007 11:00:22 von jodleren
On 23 Dec., 01:54, "Jukka K. Korpela" 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. The code was here and
is simple enough to work as a small file. Even without the picture.
> > 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. Save the file and you will see.
> > I have a dummy gif 14 pixels high 1 wide.
> Why?
The bar. I agree that one pixel is enough. Just ended up that way and
it is only 884 bytes, same saize as it would have been for a 1x1 pixel
thing.
But my idea is to make some shades into it later. Not important right
now btw.
> >
> Try using valid markup. A validator would help you.
Agree.
> > Day |
> Using is a symptom of poor coding. Is this really a heading cell?
Yep. And why dont you like it?
Above is suggested .
> > December 22nd | |
> No wonder if you have problems - you have two start tags and no
> end tag for either of them.
See? the code here is enough. And it is ok.
And I once again realise, that working to late is not always
good.... :-)
Probably I'd have seen it today... when reading it over with a fresg
mind.
Re: Superscript (<sup>) and middle alignment in tablesam 23.12.2007 11:37:38 von jodleren
On 23 Dec., 00:53, dorayme wrote:
> In article
> <26aff379-bb0a-4515-b0c0-fd40bf193...@d21g2000prf.googlegroups.co
> m>,
> =A0jodleren wrote:
> Recheck your mark up here.
>
> Is this the markup you want to know something about:
I tested it on validator.w3.org and it found 54 errors.
Some of them were my typos above etc and other simple stuff caused by
my tiredness yesterday. And it is ok on.
Still, I get some 26 errors mostly by nested tables... other pages
give none. I cannot see why they are different, as they are all based
on the same system and headers... but sometimes it claims that
not allowed here and
ok. On of the better ones on closing an unopened , as
far as I can read, it is there... :)
I have a small htm file which I include in as first thing in all
files, so thay are all the same. But the validated result is
different...
Am I the only one seeing this?
WBR & merry christmas
Sonnich
Re: Superscript (<sup>) and middle alignment in tablesam 23.12.2007 15:14:08 von Rob_W
jodleren schreef:
> Am I the only one seeing this?
>
> WBR & merry christmas
> Sonnich
Yes,
because you still haven't given us a URL.
--
Rob
Re: Superscript (<sup>) and middle alignment in tablesam 23.12.2007 15:21:58 von jkorpela
Scripsit jodleren:
> On 23 Dec., 01:54, "Jukka K. Korpela" 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 is a symptom of poor coding. Is this really a heading cell?
>
> Yep. And why dont you like it?
> Above is suggested .
Which part of the sentence "Is this really a heading cell?" did you fail
to understand.
>>> December 22nd | |
>> No wonder if you have problems - you have two 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 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/
Re: Superscript (<sup>) and middle alignment in tablesam 23.12.2007 22:30:19 von dorayme
In article
<068812fa-291b-44be-839d-119415b5cc1a@e4g2000hsg.googlegroups.com
>,
jodleren wrote:
> On 23 Dec., 00:53, dorayme wrote:
> > In article
> > <26aff379-bb0a-4515-b0c0-fd40bf193...@d21g2000prf.googlegroups.co
> > m>,
> > jodleren wrote:
>
> > Recheck your mark up here.
> >
> > Is this the markup you want to know something about:
>
> I tested it on validator.w3.org and it found 54 errors.
> Some of them were my typos above etc and other simple stuff caused by
> my tiredness yesterday. And it is ok on.
>
> Still, I get some 26 errors mostly by nested tables... other pages
> give none. I cannot see why they are different, as they are all based
> on the same system and headers... but sometimes it claims that
> not allowed here and
> ok. On of the better ones on closing an unopened , as
> far as I can read, it is there... :)
> I have a small htm file which I include in as first thing in all
> files, so thay are all the same. But the validated result is
> different...
>
> Am I the only one seeing this?
>
> WBR & merry christmas
> Sonnich
And best wishes to you too. I am a bit miffed at your above? I
included for you some html markup that was not error riddled and
was asking you if it was roughly what you had in mind and did you
have some specific question about it. But you are talking about
all sorts of errors as if you had not looked at my effort (which
was not meant to solve any problem but to supply, because it is
xmas, somthing a bit more error free).
But this xmas spirit is getting real strong today and I will go
one further, I will do what you are being urged to do by JK,
namely supply a url:
http://netweaver.com.au/alt/sonnich.html
Now is there some question you have about this (which is sort of
a mildly cleaned up version of yours - "it" does not have 54
errors)?
--
dorayme
Re: Superscript (<sup>) and middle alignment in tablesam 02.01.2008 14:30:41 von jodleren
On Dec 23 2007, 4:14=A0pm, Rob Waaijenberg
wrote:
> jodleren schreef:
> > Am I the only one seeing this?
> Yes,
> because you still haven't given us a URL.
Here you are:
http://panbaltica.com/sandpit/test/test.htm
Re: Superscript (<sup>) and middle alignment in tablesam 02.01.2008 22:32:31 von jkorpela
Scripsit jodleren:
> On Dec 23 2007, 4:14 pm, Rob Waaijenberg
> wrote:
>> jodleren schreef:
>>> Am I the only one seeing this?
>> Yes,
>> because you still haven't given us a URL.
>
> Here you are:
> http://panbaltica.com/sandpit/test/test.htm
And the problem was...? I see no superscript there, and I see no
markup in the source. Is this about something completely different from
the Subject line's topic?
I do see an error message about some scripting error.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Re: Superscript (<sup>) and middle alignment in tablesam 03.01.2008 07:34:42 von jodleren
On Jan 2, 11:32=A0pm, "Jukka K. Korpela" wrote:
> Scripsit jodleren:
>
> > On Dec 23 2007, 4:14 pm, Rob Waaijenberg
> > wrote:
> >> jodleren schreef:
> >>> Am I the only one seeing this?
> >> Yes,
> >> because you still haven't given us a URL.
>
> > Here you are:
> >http://panbaltica.com/sandpit/test/test.htm
>
> And the problem was...? I see no superscript there, and I see no
> markup in the source. Is this about something completely different from
> the Subject line's topic?
>
> I do see an error message about some scripting error.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
It was meant as an answer to Rob Waaijenberg
Re: Superscript (<sup>) and middle alignment in tablesam 03.01.2008 10:30:12 von jkorpela
Scripsit jodleren:
> On Jan 2, 11:32 pm, "Jukka K. Korpela" wrote:
>> Scripsit jodleren:
>>
>>> On Dec 23 2007, 4:14 pm, Rob Waaijenberg
>>> wrote:
>>>> jodleren schreef:
>>>>> Am I the only one seeing this?
>>>> Yes,
>>>> because you still haven't given us a URL.
>>
>>> Here you are:
>>> http://panbaltica.com/sandpit/test/test.htm
>>
>> And the problem was...? I see no superscript there, and I see no
>> markup in the source. Is this about something completely
>> different from the Subject line's topic?
>>
>> I do see an error message about some scripting error.
>>
>> --
>> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
>
> It was meant as an answer to Rob Waaijenberg
Are you completely clueless, or just making a great effort in imitating
cluelessness?
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Re: Superscript (<sup>) and middle alignment in tablesam 04.01.2008 02:22:50 von GTalbot
On 2 jan, 08:30, jodleren wrote:
> On Dec 23 2007, 4:14 pm, Rob Waaijenberg
> wrote:
>
> Here you are:http://panbaltica.com/sandpit/test/test.htm
Hello Jodleren,
You should change your doctype declaration to HTML 4.01 strict and
then correct all of the validation markup errors.
I highly and strongly recommend
Using Web Standards in your Web Pages:Making your page using web
standards - how to
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_ your_Web_Pages:M=
aking_your_page_using_web_standards_-_how_to
Nested tables should always be avoided.
The default vertical alignment in cell is middle in all modern
browsers; so there is no need whatsoever to add valign=3D"middle" in all
your cells.
is a deprecated, old, rusted HTML element. Please upgrade. You
will find how to do all this (convert bgcolor, replace , how to
validate, etc) by consulting the "Using Web Standards in your Web
Pages" link I mentioned.
All of your webpage indicates over-constraining, over-declaring, over-
formating and over-attributes-specifying. You can reduce your webpage
markup code to half of what it is easily if you read a bit and then
keep your mind open about what people are trying to tell you in this
forum newsgroup.
Regards, G=E9rard
|