Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

If using doctype, button images are not shown (2.1.5 version from CVS)

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I put a correct doctype at the top of the HTML page, like
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">,
then firefox 1.5 doesn't display quote and edit button (post_show_action_buttons_inc.htm template file).
I need the doctype declaration, because JForum pages are embedded inside JetNuke pages and JetNuke uses doctype.
You can test the same behaviour in JForum, putting the doctype declaration in the header.htm template file
[originally posted on jforum.net by mazzolini]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, I'm aware of that.

Do you know how to fix the HTML code to work correctly with the doctype?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hm.. well, I can't reproduce the bug. I saw it once, but I'm adding doctypes here and all images are displaying correctly.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The attached files are with and without the doctype declaration.

This is the html fragment


<div class="action">
<script type="text/javascript">writeStars(0, 1);</script>








[originally posted on jforum.net by mazzolini]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Andrea, are you sure you have the file "transp.gif" in the "images" directory? I had the same problem here, and it was because the image didn't exist

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I added that DOCTYPE declaration to both JForum, as well as to my own pages.

First, it did not cause any problems with my JForum pages (2.1.4), so I think Rafael may be correct about the image missing.

Second, that DOCTYPE declaration broke my own webpages. Not images, and not terribly, but the "TABLE.width" styling was lost. Not sure what other problems manifested. That is not to say that there is something wrong with my own page, but this is suspicious.
[originally posted on jforum.net by time]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rafaeil is right. The file transp.gif was missing
[originally posted on jforum.net by mazzolini]
 
You showed up just in time for the waffles! And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic