Note that there are some explanatory texts on larger screens.

plurals
  1. POMy 'ASP.Net Dev Server' is having formatting issues
    primarykey
    data
    text
    <p>Using Visual Studio 2008, running a project.. any project it seems. It appears as though any centering is ignored when run through my 'ASP.Net Dev Server' yet once published to any of our IIS servers the centering is fine. I say centering because that seems to be the only problem.</p> <p>I've seen this question before but the reverse.</p> <p>example:</p> <p>I use this DIV tag to center contents:</p> <pre><code>&lt;div style="text-align:center"&gt; Contents... &lt;/div&gt; </code></pre> <p>On the Dev server, no formatting takes placed. Once published it looks as it should.</p> <p>We have the same problem using VS2010.</p> <p>Does anyone know how to fix this?</p> <p>Once the page is rendered, this is what the source looks like:</p> <pre><code>&lt;div style="text-align:center"&gt; &lt;table width="90%" cellpadding="0" cellspacing="0" border="0"&gt; &lt;tr style="background-color: #FF3700;"&gt; &lt;td&gt; ...and so on.. </code></pre> <p>Just as I expect. I don't know of any other way to test this stuff. It works the same in IE as it does in FF. As I said, the page renders fine when running from an IIS server but from this dev server.. no go.</p> <p>I'm not new.. but this makes absolutely NO sense to me. AFAIK, it's the browser's job to render the html &amp; css. Why it renders differently is beyond me. I am going to try a couple more tests.</p> <p>This might be a case of PEBKAC.. it has something to do with my MASTER page because when I created a page not using it the formatting worked as expected. It doesn't make sens why it would render differently on the dev server tho.. in any case thanks for your help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload