470,591 Members | 1,754 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

image alignment (from html)

Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
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/ro...e-vienna-2008/

Please don't bother about the few javascript errors (non-CDATA) in the
validator.
Mucht thanks for any suggestions.
Jun 1 '08 #1
10 2250
Roderik wrote:
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/ro...e-vienna-2008/
CSS:

..imgleft {
float: left;
}
..imgright {
float: right;
}

HTML:

<p>
<span class="imgright">
<img height="99" border="2" width="99" alt="to siemens building with
robots" src="http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">
</span
On the photos you can see some shots of us developing our LEGO vehicles
in ...
</p>

<p>
<span class="imgleft">
<img height="99" border="2" width="99" alt="Cheakith Chandranna with
water?" src="http://www.roderik.net/lib/img/thumbmralcohol.JPG">
</span>
On Friday we took the plane to Bratislava (that was cheaper), ...
</p>
--
-bts
-Friends don't let friends drive Windows
Jun 1 '08 #2
Beauregard T. Shagnasty schreef:
Roderik wrote:
>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/ro...e-vienna-2008/

CSS:

.imgleft {
float: left;
}
.imgright {
float: right;
}

HTML:

<p>
<span class="imgright">
<img height="99" border="2" width="99" alt="to siemens building with
robots" src="http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">
</span
On the photos you can see some shots of us developing our LEGO vehicles
in ...
</p>

<p>
<span class="imgleft">
<img height="99" border="2" width="99" alt="Cheakith Chandranna with
water?" src="http://www.roderik.net/lib/img/thumbmralcohol.JPG">
</span>
On Friday we took the plane to Bratislava (that was cheaper), ...
</p>
Yes I know that (and usually do it that way if I code it myself) but I
wanted to use the automatically generated align=left and align=right
attributes generated by the editor. So no changes to the HTML itself if
possible.
Jun 1 '08 #3
Scripsit Roderik:
This is a folluw-up from the html group
No it isn't. You started a new thread, apparently after you deciced to
post an excuse there, claiming that your posting was HTML related,
despite that having been disproved (by a reference to non-CSS
rendering).
Please don't bother about the few javascript errors (non-CDATA) in the
validator.
Nobody should bother with the problem before you do your homework as
explained in the previous discussion.

Please do not fix your forged From field before you have a clue. Thank
you in advance.

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

Jun 1 '08 #4
Jukka K. Korpela schreef:
Scripsit Roderik:
>This is a folluw-up from the html group

No it isn't. You started a new thread, apparently after you deciced to
post an excuse there, claiming that your posting was HTML related,
despite that having been disproved (by a reference to non-CSS rendering).
Well it is prob. both html and css related, although since the align
attribute is part of html it looked to be most safe to post in the html
group. Since so. didn't like it there I posted it here and noticed this
in advance not to get flamed about cross-posting or whatever.
>Please don't bother about the few javascript errors (non-CDATA) in the
validator.

Nobody should bother with the problem before you do your homework as
explained in the previous discussion.
Why is that? If I don't want the page to be valid xhtml that is my
choice, and if you don't want to help me because of that that is your
choice, but please don't judge for everybody else. I usually tend to
make things valid however but it should be worth the effort. It will
take to many hours of work for now and I think the problem is not
related to that, most of it is valid and 6 errors are related to one
thing that is wrong. Since I can't edit the html directly it will be
time consuming to change such a thing.
Please do not fix your forged From field before you have a clue. Thank
you in advance.
Well I have no clue, so I don't fix that then.
Jun 1 '08 #5
In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
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/ro...e-vienna-2008/
Does this exhibit the same problem in IE for you:

<http://dorayme.890m.com/alt/roderik.html>

?

--
dorayme
Jun 1 '08 #6
dorayme schreef:
In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
>Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
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/ro...e-vienna-2008/

Does this exhibit the same problem in IE for you:

<http://dorayme.890m.com/alt/roderik.html>

?
No, but it doesn't have the stylesheets (and it has a different doctype).
Jun 1 '08 #7
Roderik wrote:
Jukka K. Korpela schreef:
>Scripsit Roderik:
>>This is a folluw-up from the html group

No it isn't. You started a new thread, apparently after you deciced to
post an excuse there, claiming that your posting was HTML related,
despite that having been disproved (by a reference to non-CSS rendering).

Well it is prob. both html and css related, although since the align
attribute is part of html it looked to be most safe to post in the html
group. Since so. didn't like it there I posted it here and noticed this
in advance not to get flamed about cross-posting or whatever.
Maybe you should learn what crossposting and multiposting is before you
continue your faux pas...
http://en.wikipedia.org/wiki/Cross_posting
Crossposting - Wikipedia, the free encyclopedia
http://www.blakjak.demon.co.uk/mul_crss.htm
Multiposting vs Crossposting

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 1 '08 #8
In article <48********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
dorayme schreef:
In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
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/ro...e-vienna-2008/
Does this exhibit the same problem in IE for you:

<http://dorayme.890m.com/alt/roderik.html>

?

No, but it doesn't have the stylesheets (and it has a different doctype).
Yes, that is the point. Now we know it is either something to do with
your doctype or stylesheets. So this is what to do: if you are confident
about the your doctype (I would *not* be with IE), prepare a test case
that elimninates one of the 8 css sheets you have and see if the problem
disappears. And so on up to and including the embedded css. Once you
track the sheet down, the rest should be easy, and if it is not, come
back here with the minimal case that exhibits the problem.

--
dorayme
Jun 1 '08 #9
dorayme schreef:
In article <48********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
>dorayme schreef:
>>In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:

Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
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/ro...e-vienna-2008/
Does this exhibit the same problem in IE for you:

<http://dorayme.890m.com/alt/roderik.html>

?
No, but it doesn't have the stylesheets (and it has a different doctype).

Yes, that is the point. Now we know it is either something to do with
your doctype or stylesheets. So this is what to do: if you are confident
about the your doctype (I would *not* be with IE), prepare a test case
that elimninates one of the 8 css sheets you have and see if the problem
disappears. And so on up to and including the embedded css. Once you
track the sheet down, the rest should be easy, and if it is not, come
back here with the minimal case that exhibits the problem.
Problem solved. It was the img style reset in compressed.css
Jun 2 '08 #10
In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:
dorayme schreef:
....
>>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/ro...e-vienna-2008/
Does this exhibit the same problem in IE for you:

<http://dorayme.890m.com/alt/roderik.html>

?
No, but it doesn't have the stylesheets (and it has a different doctype).
....
prepare a test case
that elimninates one of the 8 css sheets you have and see if the problem
disappears. And so on up to and including the embedded css. Once you
track the sheet down, the rest should be easy, and if it is not, come
back here with the minimal case that exhibits the problem.
Problem solved. It was the img style reset in compressed.css
Well done finding it. All that stuff with robots looks like a lot of fun!

--
dorayme
Jun 2 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Derek Fountain | last post: by
2 posts views Thread by Andreas Viklund via DotNetMonster.com | last post: by
2 posts views Thread by Nathan Sokalski | last post: by
8 posts views Thread by David C. Stone | last post: by
8 posts views Thread by Cardman | last post: by
4 posts views Thread by Liming | last post: by
4 posts views Thread by tshad | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.