html-rendering

Carriage return causes a visual space in Internet Exporer 8

A carriage return in my html code causes a visual space in the rendered html in Explorer 8. I'm guessing this will affect other versions too. For example: <span> (111)&nbsp; 222- 3333&nbsp; 444444 </span> looks like this: (111) 222- 3333 444444 There should be only 1 space after the first bracket, no space after the dash and on...

pocket ie renders carriage returns in html?

We're writing a series of screens designed to be used on Pocket IE, on a batch of handheld scanner units from Motorola (aka Symbol). As is typical, I am trying to layout my HTML in something of a readable format, which new controls on new lines, instead of just running my code all together into one big giant unreadable mess. Here is an...

CSS sometimes does not load properly on initial load

Sometimes the header of my website does not form properly when I first load a page. Incorrect: In the screenshot below the headings are inside the black horizontal line After refreshing the page, there is space below the headings: This issue has been seen on several pages, not just the one I have taken a screenshot of (http://...

cross-platform html widget for pygtk

I'm trying to write a small gui app in pygtk which needs an html-rendering widget. I'd like to be able to use it in a windows environment. Currently I'm using pywebkitgtk on my GNU/Linux system, and it works extremely well, but it seems it's not possible to use this on Windows at this time. Can anyone give me any suggestions on how to...

HTML Rendering with C#

Let's say I'm crazy and I want to implement an basic HTML rendering engine with c#. I would like to use WPF Controls to display the HTML Layout. While there is nothing to gain with such an idea, I still want to try it out! So what libraries, projects and documentation would help me get this done? ...

HTML renderer drop-in, C++ code

I want to drop in an HTML renderer that will basically be used for render-to-texture operations. If I can render the HTML to an HDC, that would be perfect. I found HTMLayout, which isn't bad. But it isn't open source. But I'm wondering if there's a way to somehow tap into IE or Mozilla/Gecko code, how realisitic/difficult this will b...

Getting a scriptmanager into a dynamically rendered page

Hi, We are rendering usercontrols dynamically like this: public string RenderControl(string pathcontrol) { string html; var page = new Page(); var control = page.LoadControl(path); page.Controls.Add(control); // do stuff to the control (give it some data to work on) using (var writer = new String...

rendering html to png (server-side)

I have a workflow model. Internet Explorer doesn't support some features required for model editing functionality (and regular user doesn't need it). I want a read-only preview of my model. Is it possible to server-side render my HTML to an image? I would prefer offline solution to allow our system run in corporate LAN without accesss ...

Display Simple Web Page In My Application Using Blackberry BrowserField

Hello All, What I am trying to do is display a simple web page in my application (no javascript,cookies or any scripting and not trying to detect any events such as mouse click etc.). I am using the code below and right now all I get is empty screen .. I know that the application is accessing the internet (the data transfer arrow flash...

create a simple pdf report from html

I'm looking for a way to generate pdf files from html In order to make simple tabular reports I would need the following features table rendering variable page size repeating headers / footers on every page calculated page number / total page css support would be nice I know there have been many similar questions in stackoverflow, b...

Strategies for selective rendering of views based on authorization in ASP.NET MVC?

I can do authorization easily on the controller actions using the Authorization attribute. But how do I render views as easily as using Authorization attribute? For example, if I have a menu and the user is unauthorized for certain menus, how would I hide those menu items? Let's say I have a page that renders a table with add/edit/dele...

PGU HTML Renderer can't render most sites

I am trying to make a web browser using pygame. I am using PGU for html rendering. It works fine when I visit simple sites, like example.com, but when I try and load anything more complex that uses an html form, like google, I get this error: UnboundLocalError: local variable 'e' referenced before assignment I looked in the PGU html r...

Internet Explorer IE 8 overlay lines render issue on dropdown

I have an issue with menu dropdowns that use JQuery. Using IE8, take a look at my menu just below the header. Hover over 'Acrylic Awards', then 'Award Plaques', then 'Crystal Awards'. http://www.blackacedesign.com/ Anyone know what causes this issue in IE8? And how I can fix it? ...

Pull image of rendered HTML from a specific browser

I am working on an app that will be able to pull an image of rendered HTML from a specific browser. I would like the user to be able to select a specific browser to render an HTML file in, and capture the rendered output in an image file. I also want to capture the entire HTML render at once, not simply what is visible in the browser at ...

Strategies for rendering HTML with Javascript

I take a fat JSON array from the server via an AJAX call, then process it and render HTML with Javascript. What I want is to make it as fast as humanly possible. Chrome leads over FF in my tests but it can still take 5-8 seconds for the browser to render ~300 records. I considered lazy-loading such as that implemented in Google Reader ...

Outputting something like rowspan with dynamic number of records

Given a table like this: Col 1 | Col 2 1 2 1 3 2 4 ...and could be any number of 1's, 2's, etc. in Col 1. I want to dynamically output something that would look like this: <table> <tr> <td rowspan="2"> 1 </td> <td> 2 </td> </tr> <tr> ...

SSRS 2008, Force HTML3.2

I'm trying to export reports using the URL In 2005, I could use rs:Format=HTML3.2 and life was good Now, with 2008, it appears all I have is HTML4.0 but I need it in HTML3.2 for a variety of reasons, the main one being, it is basic html and works in all our viewing devices. Is there a way to get this renderingExtension enabled in 2008...

Convert HTML page to an image

I want to change my HTML page as an image. Is there a way in PHP to change or save an HTML page as an image? ...

Page Break / HTML Formatting Issues in Outlook 2007/2010

We have a very lengthy newsletter that has been designed and developed to look great in Email Clients. It's very simple, and we really tried adhering to the limitations of viewing HTML in Email Clients, including Outlook 2007/2010. And yes, I'm fully aware that Outlook 2007/2010 uses the Word HTML Formatting Engine, which is pretty gim...

Sizes calculation with JavaScript and jQuery

Sometimes i'm facing problems, trying to get sizes of an HTML element in question. I'm tracing JavaScript code and see, that width and height of this element are returned as 0. When i do the same piece of code in browser's console, correct sizes are returned. Example code, that demonstrates this problem is following: <!DOCTYPE html> ...