Hello Karlis,
ok, my prefered doctype is XHTML 1.0 Transitional: When i add an image with drag & drop from the File Explorer, i get:
<img src="images/test.gif" width="10" height="7" border="0">
When i check this page in the W3C validator, i get a message:
You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".
So, HTMLPad should close an IMG tag with "/>".
When i insert an <IMG> tag manually with auto complete, the tag is closed correctly.
Oh, and i don't need the "border="0"" because i define this trough CSS, so i don't mind if you would remove this from the code i get via drag & drop.
Invalid code when inserting an <IMG> with File Explore
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Hallo Karlis,
i have the same problem. I use WeBuilder 2005 6.3.0.58 and XHTML 1.0 Strict.
If i put a image with drag & drop form the File Explorer i get this
<img src="image/test.png" width="30" height="25" border="0">
and i would like to have this (if possible):
<img src="image/test.png" width="30" height="25" alt="" />
End-Tag and alt-attrib are missed, border-attrib not needed (for me).
Is there any way to change it?
i have the same problem. I use WeBuilder 2005 6.3.0.58 and XHTML 1.0 Strict.
If i put a image with drag & drop form the File Explorer i get this
<img src="image/test.png" width="30" height="25" border="0">
and i would like to have this (if possible):
<img src="image/test.png" width="30" height="25" alt="" />
End-Tag and alt-attrib are missed, border-attrib not needed (for me).
Is there any way to change it?