473,473 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2360
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Edd | last post by:
Hi, I have built a basic WYSIWYG HTML editor using Javascript the ExecCommand commands. What is fustrating me is that, according to the MSDN site, there is no way to set the alignment of an...
4
by: Mimo Zus | last post by:
I'm hoping that someone can explain what's going on; better yet provide a workaround. I'm designing a centered CSS site based on a 550 pixel wide vertical background image. Onto this background...
5
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%"...
2
by: Andreas Viklund via DotNetMonster.com | last post by:
Hi! I am developing an application in ASP.NET that takes an image, that have been created with a digital camera or camera phone, and processes it, to get data from it. The image taken by the user...
2
by: Nathan Sokalski | last post by:
When using a System.Web.UI.WebControls.Image object, how do I control both vertical and horizontal alignment? Both directions are controlled using the ImageAlign property, which prevents setting...
8
by: David C. Stone | last post by:
I'm stuck trying to validate an html 4.01 page that uses an image map. I copied the second client-side example from here: <http://www.w3.org/TR/html401/struct/objects.html#h-13.6> and...
8
by: Cardman | last post by:
I am hopeful that someone can quickly solve my image alignment issue when things are just not going right and where my attempts to solve this alignment issue have all failed. First of all take a...
4
by: Liming | last post by:
Hi, I've managed to create a bitmap and output it via the httphandler by setting Response.ContentType="image/gif" the resulting GIF quality is REALLY bad. I searched around the web, the only...
4
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. ...
2
by: Kevin G. | last post by:
Hello, I'm exporting an ASP page to Excel using 'Response.ContentType = "application/vnd.ms-excel"' and it is working fine for the most part except the particular page I'm exporting has images,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.