Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-05-12 22:18:24

alibaba_and_40girls
Xinha Community Member
Registered: 2006-03-23
Posts: 11

problem with image in <div> tag

Hi everybody,
Now I'm having some problems with insert image into a <div> tag, and I hope some body here can help me this problem.

1rst : in the version which I downloaded on 26-Mar-2006. I switch to Text mode and paste this code into it

<div style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 400px; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #b9b9ff"><a href="http://xinha.python-hosting.com/">
  <img alt="xinha logo" hspace="0" src="http://xinha.python-hosting.com/trac/logo.jpg" border="1" /> </a>
</div>

Then switch to WYSIWYG mode, focus on image, right click and choose "Image Properties" function, but do nothing with "insert image" popup and close it immediately --> image was lost focus. Then I input or insert anything it'll be place after <body> tag.
In this case I don't wanna lose focus of image.

2nd : in the version which I downloaded on 13-May-2006. I also do like above, paste this code into Text mode.

<div style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 400px; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #b9b9ff"><a href="http://xinha.python-hosting.com/">
  <img alt="xinha logo" hspace="0" src="http://xinha.python-hosting.com/trac/logo.jpg" border="1" /> </a>
</div>

But when I switch to WYSIWYG mode it was hang my IE.
Anyone can help me?

Last edited by alibaba_and_40girls (2006-05-14 23:02:48)

Offline

#2 2006-05-16 06:23:09

alibaba_and_40girls
Xinha Community Member
Registered: 2006-03-23
Posts: 11

Re: problem with image in <div> tag

Hi, I found out that when we delete WIDTH attribute in style element, the first case didn't happened !!!
What's the hell are going on?

Offline

#3 2006-05-22 03:57:57

alibaba_and_40girls
Xinha Community Member
Registered: 2006-03-23
Posts: 11

Re: problem with image in <div> tag

I think this's a big problem.
When I paste this simple code in to textmode : <div style="with:100"><img src=""></div>
Then switch to WYSIWYG mode, right click on image and choose any functions of context menu it'll also throw my cursor behind <body> tag.
It's only happen with IE, run normally with FireFox.
I'm Vietnamese, therefore my English not good big_smile . Hope somebody here can help me this problem.

Offline

#4 2006-05-22 04:04:26

Jupiter_v16
New member
Registered: 2006-05-22
Posts: 5

Re: problem with image in <div> tag

hic hic, i have seen this problem!

Offline

#5 2006-05-24 03:46:43

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: problem with image in <div> tag

Submit a bug report.

In the ticket system http://xinha.python-hosting.com/wiki/Tickets


James Sleeman

Offline

#6 2006-05-24 03:47:25

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: problem with image in <div> tag

Make sure to say what plugins you are using also.


James Sleeman

Offline

Board footer

Powered by FluxBB