I\'m testing the slider and it works in Chrome and IE 9+ but doesn\'t work properly in earlier versions.
The problem that occurs to me is that while the previous sli
In the source code of your page, i see:
This is not valid img tag as W3C specify:
The tag is empty, which means that it contains attributes only, and has no closing tag.
BTW, an alt
attribute is required by standard, however, no browsers will complain about that.
So in your case, you should rewrite all your img tags as follow: {no '/' at end of img tag and of course no '' closing tag}
Plus note tip still from W3C:
Tip: It is a good practice to specify both the height and width attributes for an image. If these attributes are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image. The effect will be that the page layout will change during loading (while the images load).
Not sure your problem come from something here, but i'm sure that non-valid html can lead in some problems.
UPDATE
Following your update, i see you are using (asp) to render html. You should try this at end of your function:
return MvcHtmlString.Create(tag.ToString(TagRenderMode.StartTag));
PS: i cannot test any asp code.