Click here to get back home

img align=right :-(

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
img align=right :-( Roderik 05-31-2008
---> Re: img align=right :-( Jukka K. Korpel...06-01-2008
Posted by Jukka K. Korpela on June 1, 2008, 12:06 pm
Please log in for more thread options
Scripsit Gus Richter:

> Roderik wrote:
[...]
>> The problem might be interrelated but it surely had to with HTML
>> since it concerns a HTML style (or align in this case) attribute.

The usual cluelessness indicators are "on", but...

> Remove align="left" Attribute
> Add float:left; Property

... that's no excuse for giving clueless "advice". Your personal, or
even the W3C's, preference for CSS formatting as opposite to HTML
formatting has nothing to do with the problem.

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


Posted by Roderik on June 1, 2008, 12:59 pm
Please log in for more thread options
Jukka K. Korpela schreef:
> Scripsit Gus Richter:
>
>> Roderik wrote:
> [...]
>>> The problem might be interrelated but it surely had to with HTML
>>> since it concerns a HTML style (or align in this case) attribute.
>
> The usual cluelessness indicators are "on", but...
>
>> Remove align="left" Attribute
>> Add float:left; Property
>
> ... that's no excuse for giving clueless "advice". Your personal, or
> even the W3C's, preference for CSS formatting as opposite to HTML
> formatting has nothing to do with the problem.
>
I prefer CSS floating also (and use it quite often) but in this case I
prefer not to change the HTML because it is automatically generated. And
I wondered why the behaviour of the align is like this in internet
explorer when I know that internet explorer supports it.

Posted by Gus Richter on June 1, 2008, 4:27 pm
Please log in for more thread options
Roderik wrote:
>
> I prefer CSS floating also (and use it quite often) but in this case I
> prefer not to change the HTML because it is automatically generated. And
> I wondered why the behaviour of the align is like this in internet
> explorer when I know that internet explorer supports it.

It's up to you of course, but look (with any other browser other than
IE) at how the subsequent text runs into the image above when the
paragraph is not enough to clear the image. To remedy that, you have to
include a clear such as:
<p style="clear:left;">
and alternating:
<p style="clear:right">
or for all simply:
<p style="clear:both;">

else include a clearing div.

Even if you wish to use a stylesheet instead of the inline style, you
still will have to change the html to include a clearing div or add a
class/id to the <p>aragraph. What I'm saying is that you will have to
change the html anyway.

--
Gus

Posted by Roderik on June 1, 2008, 6:13 pm
Please log in for more thread options
Gus Richter schreef:
> Roderik wrote:
> >
>> I prefer CSS floating also (and use it quite often) but in this case I
>> prefer not to change the HTML because it is automatically generated.
>> And I wondered why the behaviour of the align is like this in internet
>> explorer when I know that internet explorer supports it.
>
> It's up to you of course, but look (with any other browser other than
> IE) at how the subsequent text runs into the image above when the
> paragraph is not enough to clear the image. To remedy that, you have to
> include a clear such as:
> <p style="clear:left;">
> and alternating:
> <p style="clear:right">
> or for all simply:
> <p style="clear:both;">
>
> else include a clearing div.
>
> Even if you wish to use a stylesheet instead of the inline style, you
> still will have to change the html to include a clearing div or add a
> class/id to the <p>aragraph. What I'm saying is that you will have to
> change the html anyway.
>
You give advice for something that you assume that is wrong behaviour. I
know I can overcome that by clearing (which I did on some other pages of
the same web site) but is not a browser specific issue and it has
nothing to do with images not floating to the right in IE.
The aim is that people using the WYSIWYG editor in the CMS do not have
to look at the source code before they publish in article in order to
make it look more or less similar in the major browsers.
Images usually float to the right in IE when they have the attribute
align set to right (as shown on:
http://dorayme.890m.com/alt/roderik.html), however not in this page. So
it has something to do with the combination of the align attribute with
the context or most likely some style definitions that trigger IE to
change its behaviour when the other major browsers don't.

Posted by Gus Richter on June 1, 2008, 8:17 pm
Please log in for more thread options
Roderik wrote:
> Gus Richter schreef:
>> Roderik wrote:
>> >
>>> I prefer CSS floating also (and use it quite often) but in this case
>>> I prefer not to change the HTML because it is automatically
>>> generated.

If you "prefer", it tells me that you "can".

>> It's up to you of course, but look (with any other browser other than
>> IE) at how the subsequent text runs into the image above when the
>> paragraph is not enough to clear the image.
>>
>> What I'm saying is that you will have to
>> change the html anyway.
>>
> You give advice for something that you assume that is wrong behaviour.

I'm not assuming, it's terrible as it is! You mean to say that it's
intentional?

> I know can overcome that by clearing ............

Sure you do. That's why you didn't and presented a garbage page.

> ....... but is not a browser specific issue and it has
> nothing to do with images not floating to the right in IE.

I couldn't have cared less about this since you didn't mention it, but I
thought that since you probably "should" change this and it required
markup changes, then you might "prefer" to make all changes at the same
time. If not, then don't. It's all the same to me.

> The aim is that people using the WYSIWYG editor in the CMS do not have
> to look at the source code before they publish in article in order to
> make it look more or less similar in the major browsers.
> Images usually float to the right in IE when they have the attribute
> align set to right (as shown on:
> http://dorayme.890m.com/alt/roderik.html), however not in this page. So
> it has something to do with the combination of the align attribute with
> the context or most likely some style definitions that trigger IE to
> change its behaviour when the other major browsers don't.

A page using Transitional doctype and nine stylesheets is not what I
think worthwhile responding about, however, since you seemed to get no
satisfaction, I gave you my solution. There may be better. Try Jukka's
since it's the only other one, or wait for another solution to your
liking in this NG or CIWAS. On the other hand you seem to know what the
problem is in order to use your preferred deprecated markup. I leave you
and Jukka to discuss further, because I'm out of this thread.


Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap