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 Roderik on May 31, 2008, 10:15 pm
Please log in for more thread options
Hi,

I am wondering why (half of the) squared images are not aligned on the
right of the text in Internet Explorer (using <img ... align="right" />.
I thought this was supported even in IE. In FF and Opera it works fine.
http://www.roderik.net/2008/05/25/robotchallenge-vienna-2008/

Mucht thanks for any suggestions.

Posted by dorayme on May 31, 2008, 11:22 pm
Please log in for more thread options

> Hi,
>
> I am wondering why (half of the) squared images are not aligned on the
> right of the text in Internet Explorer (using <img ... align="right" />.
> I thought this was supported even in IE. In FF and Opera it works fine.
> http://www.roderik.net/2008/05/25/robotchallenge-vienna-2008/
>
> Mucht thanks for any suggestions.

Use css to align images. Either text-align: left, or float: left;

Your site is much more accessible when all your stylesheets are turned
off.

There is no excuse for the main content not being able to squeeze
tighter when the browser window width is reduced.

Use 4.01 Strict doctype, get rid of align="" in favour of CSS. For an
example of floating pics left and right:

<http://netweaver.com.au/alt/floatleftFloatright.html>

See what happens when you play about with the browser size and compare
with yours. You need to get this kind f flexibility into your pages if
you want to jump in class.

--
dorayme

Posted by Jukka K. Korpela on June 1, 2008, 7:53 am
Please log in for more thread options
Scripsit Roderik:

> I am wondering why (half of the) squared images are not aligned on the
> right of the text in Internet Explorer (using <img ... align="right"
> />. I thought this was supported even in IE.

It is, but it can be overridden in CSS.

> http://www.roderik.net/2008/05/25/robotchallenge-vienna-2008/

There are 6 markup errors reported by a validator. You didn't do you
homework before posting.

If you switch stylesheets off, e.g. using a Tantek favelet (
http://tantek.com/favelets/ ), you'll see that IE applies align="right"
as defined.

Thus, the problem is in CSS, not HTML. Hence it is off-topic in this
group. Moreover, you should do your homework by using the available
tools for checking the syntactic correctness of your HTML and CSS before
asking for help in public.

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


Posted by Roderik on June 1, 2008, 9:05 am
Please log in for more thread options
Jukka K. Korpela schreef:
> Scripsit Roderik:
>
>> I am wondering why (half of the) squared images are not aligned on the
>> right of the text in Internet Explorer (using <img ... align="right"
>> />. I thought this was supported even in IE.
>
> It is, but it can be overridden in CSS.
>
>> http://www.roderik.net/2008/05/25/robotchallenge-vienna-2008/
>
> There are 6 markup errors reported by a validator. You didn't do you
> homework before posting.

I validate the page quite often. The 6 errors are in javascript of which
I was aware. It is a matter of adding a CDATA statement but the
javascript is automatically generated so that is a time consuming code
change. However it seemed to be quite unlikely to me that that
javascript (I mean provided by Google) was related to the image placement.

> If you switch stylesheets off, e.g. using a Tantek favelet (
> http://tantek.com/favelets/ ), you'll see that IE applies align="right"
> as defined.

I use web developer tootlbar.
>
> Thus, the problem is in CSS, not HTML.

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

Hence it is off-topic in this
> group. Moreover, you should do your homework by using the available
> tools for checking the syntactic correctness of your HTML and CSS before
> asking for help in public.

You shouldn't assume that I didn't.

Posted by Gus Richter on June 1, 2008, 11:09 am
Please log in for more thread options
Roderik wrote:
> Jukka K. Korpela schreef:
>> Scripsit Roderik:
>>
>>> I am wondering why (half of the) squared images are not aligned on the
>>> right of the text in Internet Explorer (using <img ... align="right"
>>> />. I thought this was supported even in IE.
>>> http://www.roderik.net/2008/05/25/robotchallenge-vienna-2008/

The problem is not only with the right aligned, but also with the left
alligned images.

>> If you switch stylesheets off, e.g. using a Tantek favelet (
>> http://tantek.com/favelets/ ), you'll see that IE applies
>> align="right" as defined.
>> Thus, the problem is in CSS, not HTML.
>
> The problem might be interrelated but it surely had to with HTML since
> it concerns a HTML style (or align in this case) attribute.

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

Example for your first instance:

<p><img height="99" border="2" width="99" alt=""
style="padding: 5px; margin-right: 5px; float:left;"
src="http://www.roderik.net/lib/img/thumbtesttrack.JPG" />
Already more than a month ago,..........

Astually, I prefer this structure:

<img height="99" border="2" width="99" alt=""
style="padding: 5px; margin-right: 5px; float:left;"
src="http://www.roderik.net/lib/img/thumbtesttrack.JPG" />
<p>Already more than a month ago,..........

--
Gus



Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap