Connecting Tech Pros Worldwide Help | Site Map

image alignment (from html)

Roderik
Guest
 
Posts: n/a
#1: Jun 1 '08
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.
Beauregard T. Shagnasty
Guest
 
Posts: n/a
#2: Jun 1 '08

re: image alignment (from html)


Roderik wrote:
Quote:
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
Roderik
Guest
 
Posts: n/a
#3: Jun 1 '08

re: image alignment (from html)


Beauregard T. Shagnasty schreef:
Quote:
Roderik wrote:
>
Quote:
>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.
Jukka K. Korpela
Guest
 
Posts: n/a
#4: Jun 1 '08

re: image alignment (from html)


Scripsit Roderik:
Quote:
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).
Quote:
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/

Roderik
Guest
 
Posts: n/a
#5: Jun 1 '08

re: image alignment (from html)


Jukka K. Korpela schreef:
Quote:
Scripsit Roderik:
>
Quote:
>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.
Quote:
Quote:
>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.
Quote:
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.
dorayme
Guest
 
Posts: n/a
#6: Jun 1 '08

re: image alignment (from html)


In article <48429f29$1_4@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
Quote:
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
Roderik
Guest
 
Posts: n/a
#7: Jun 1 '08

re: image alignment (from html)


dorayme schreef:
Quote:
In article <48429f29$1_4@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
>
Quote:
>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).
Jonathan N. Little
Guest
 
Posts: n/a
#8: Jun 1 '08

re: image alignment (from html)


Roderik wrote:
Quote:
Jukka K. Korpela schreef:
Quote:
>Scripsit Roderik:
>>
Quote:
>>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
dorayme
Guest
 
Posts: n/a
#9: Jun 1 '08

re: image alignment (from html)


In article <48431cf0_4@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
Quote:
dorayme schreef:
Quote:
In article <48429f29$1_4@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
Quote:
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
Roderik
Guest
 
Posts: n/a
#10: Jun 2 '08

re: image alignment (from html)


dorayme schreef:
Quote:
In article <48431cf0_4@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
>
Quote:
>dorayme schreef:
Quote:
>>In article <48429f29$1_4@mk-nntp-2.news.uk.tiscali.com>,
>> Roderik <nospam@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
dorayme
Guest
 
Posts: n/a
#11: Jun 2 '08

re: image alignment (from html)


In article <48435561$1_3@mk-nntp-2.news.uk.tiscali.com>,
Roderik <nospam@atall.nlwrote:
Quote:
dorayme schreef:
....
Quote:
Quote:
Quote:
>>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).
....
Quote:
Quote:
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
Closed Thread


Similar HTML / CSS bytes