img align=right :-(
Collapse
This topic is closed.
X
X
-
RoderikTags: None -
dorayme
Re: img align=right :-(
In article <48420632$1_4@m k-nntp-2.news.uk.tisca li.com>,
Roderik <nospam@atall.n lwrote:
Use css to align images. Either text-align: left, or float: left;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.
Already more than a month ago, finally I've got the photo's of the RobotChallenge on my web site. The robotchallenge in Vienna is an international event where teams compete in different challenges. Chaekith Chandranna and I participated in the Parallel Slalom and Enhanced Parallalel Slalom challenges. The robotchallenge was a very nice experience. No prizes
>
Mucht thanks for any suggestions.
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.a u/alt/floatleftFloatr ight.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
-
Jukka K. Korpela
Re: img align=right :-(
Scripsit Roderik:
It is, but it can be overridden in CSS.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.
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")
Comment
-
Roderik
Re: img align=right :-(
Jukka K. Korpela schreef:I validate the page quite often. The 6 errors are in javascript of whichScripsit 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.
>>
There are 6 markup errors reported by a validator. You didn't do you
homework before posting.
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.
I use web developer tootlbar.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.The problem might be interrelated but it surely had to with HTML since>
Thus, the problem is in CSS, not HTML.
it concerns a HTML style (or align in this case) attribute.
Hence it is off-topic in thisYou shouldn't assume that I didn't.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.
Comment
-
Gus Richter
Re: img align=right :-(
Roderik wrote:The problem is not only with the right aligned, but also with the leftJukka 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/ro...e-vienna-2008/
alligned images.
Remove align="left" Attribute>>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.
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
Comment
-
Jukka K. Korpela
Re: img align=right :-(
Scripsit Gus Richter:
[...]Roderik wrote:The usual cluelessness indicators are "on", but...>The problem might be interrelated but it surely had to with HTML
>since it concerns a HTML style (or align in this case) attribute.
.... that's no excuse for giving clueless "advice". Your personal, orRemove align="left" Attribute
Add float:left; Property
even the W3C's, preference for CSS formatting as opposite to HTML
formatting has nothing to do with the problem.
--
Jukka K. Korpela ("Yucca")
Comment
-
Roderik
Re: img align=right :-(
Jukka K. Korpela schreef:I prefer CSS floating also (and use it quite often) but in this case IScripsit 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.
>
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.
Comment
-
Gus Richter
Re: img align=right :-(
Roderik wrote:It's up to you of course, but look (with any other browser other than>
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.
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:le ft;">
and alternating:
<p style="clear:ri ght">
or for all simply:
<p style="clear:bo th;">
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
Comment
-
Gus Richter
Re: img align=right :-(
Jukka K. Korpela wrote:I believe that it's you that is clueless! Indicative by not being ableScripsit 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.
to produce a cure but only to call everyone clueless.
--
Gus
Comment
-
BootNic
Re: img align=right :-(
Roderik <nospam@atall.n lwrote in news:48420632$1 _4@mk-nntp-
2.news.uk.tisca li.com:
Your issue is within your global reset.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/ro...e-vienna-2008/
--
BootNic Sunday June 1, 2008 8:06 PM
"The POP3 server service depends on the SMTP server service, which
failed to start because of the following error: The operation
completed successfully."
*Windows NT Server v3.51*
Comment
-
Roderik
Re: img align=right :-(
BootNic schreef:Thanks, that's it. Short and to the point! :-)Roderik <nospam@atall.n lwrote in news:48420632$1 _4@mk-nntp-
2.news.uk.tisca li.com:
>>>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/ro...e-vienna-2008/
Your issue is within your global reset.
>
Comment
Comment