Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » XML+XSL matters » So I just inserted radicore into a pre-existing website
So I just inserted radicore into a pre-existing website [message #1362] Wed, 04 June 2008 13:50 Go to next message
cpscdave is currently offline  cpscdave
Messages: 20
Registered: June 2006
Junior Member
Process was fairly easy with once exception.
After I had copied all the html into custom.detail1.xsl the spacing of the website had been pushed off entirely.

After a day and a half of trying to fix the spacing I finally stumbled across the issue.

All the website <img> tags in the original site were not terminated properly, and this cause xslt parse errors. So I went through and changed them to be <img ... />


This apparently causes FF and IE6 (not sure about IE7 or Safari) to implicitly add a newline after the image, and thusly throw off the spacing of the webpage.

Solution is to add style="display: block" to the img tag and it show fix the spacing.

I found the solution here:

Hoping this will help someone avoid the same time waste that I went through Smile
Re: So I just inserted radicore into a pre-existing website [message #2357 is a reply to message #1362] Mon, 09 November 2009 10:20 Go to previous message
tivamill is currently offline  tivamill
Messages: 1
Registered: November 2009
Junior Member
Wasting a day and a half is not that bad at all compared to what I have wasted.  I never figured out how to fix the spacing. And the more I hate myself when the solution is as simple as adding style="display: block" to the img tag. Huh! That's life indeed...continuous learning and searching will show us the way. Another point is that experiences must always be shared to help others. Bless you cpscdave!

_________________
Landing Page Optimization

[Updated on: Fri, 27 November 2009 12:28]

Report message to a moderator

Previous Topic: XSL error when supposedly using csxslt
Goto Forum:
  


Current Time: Thu Nov 21 04:39:32 EST 2024

Total time taken to generate the page: 0.01078 seconds