<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042814" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042814</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Thank you everyone. 
Upon</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/same-css-applies-differently-two-pages#comment-1237326</link>
    <description> &lt;p&gt;Thank you everyone. &lt;/p&gt;
&lt;p&gt;Upon side by side comparison I realized my DOCTYPE was just off by a hair on the default.htm. Since VS Web creates that with every page I must have completely skipped it in the copy/paste to subversion.htm thus explaining why it worked and the default no longer did. IE was just picking up on it and Firefox was being a bit more &quot;forgiving&quot;. &lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jan 2009 19:16:33 +0000</pubDate>
 <dc:creator>skrehlik</dc:creator>
 <guid isPermaLink="false">comment 1237326 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What kind of problems is the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/same-css-applies-differently-two-pages#comment-1237321</link>
    <description> &lt;p&gt;What kind of problems is the default.htm having in the other browsers? Is it just not centered like it&#039;s supposed to be?&lt;/p&gt;
&lt;p&gt;I would run the validator first and fix any errors. While you&#039;re at it, double check to make sure the doctypes match on the two pages. Also check to see if VSWeb (not sure what that is??) has inserted any other tags around the doctype that are different from the subversion page.&lt;/p&gt;
&lt;p&gt;You could also use the IE developer tool to see what the CSS values are for the #wrap div and see if there are any differences. Make sure haslayout is checked (I think it shows up as -1 in the developer toolbar).&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jan 2009 16:05:00 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1237321 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Excellent advice from Greg.</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/same-css-applies-differently-two-pages#comment-1237295</link>
    <description> &lt;p&gt;Excellent advice from Greg. I also would say to make sure you haven&#039;t accidentially added some additional classes to either page - in Expression (which is what we use) it&#039;s easy enough to do as every time you make a WYSIWYG change a new class appears in the code at the top of the page. You then have two competing CSS styles.&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jan 2009 12:30:07 +0000</pubDate>
 <dc:creator>jj1</dc:creator>
 <guid isPermaLink="false">comment 1237295 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Welcome to TWF  

skrehlik</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/same-css-applies-differently-two-pages#comment-1237291</link>
    <description> &lt;p&gt;Welcome to TWF  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;skrehlik&lt;/em&gt; wrote:&lt;/div&gt;I hate joining a forum and blurting out with my first question within 5 min.&lt;/div&gt;No one here minds, even if you get help with this and don&#039;t become a regular, keep us bookmarked as you never know &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I&#039;m going to point out some stuff that is plainly obvious, but without links/code etc it&#039;s hard to narrow it down (as you will obviously understand)&lt;/p&gt;
&lt;p&gt;It looks likely to be default.htm, but of course don&#039;t just presume that!&lt;/p&gt;
&lt;p&gt;Check through all the code carefully in default.htm for the CSS classes, ID&#039;s, any other layouts that could be misspelled, incorrectly coded, missing or part missing tags or end tags &lt;code&gt;&amp;lt; or &amp;gt; or &amp;quot; &lt;/code&gt; etc.&lt;/p&gt;
&lt;p&gt;A good editor will list layout colours (notepad++ for one), and when something is not right (a missing end tag etc) the colours are not as they should be, which makes it easy to spot these issues (you may already use one)&lt;/p&gt;
&lt;p&gt;Checking with the W3C validator can often point to the cause of these sorts of issues, although you wont be able to link directly to it, does the file itself actually contain sensitive data? If it only links to it and contains none, then host the file away from your intranet so no links will reveal data and check it with W3C (I can imagine this may not be viable though)&lt;/p&gt;
&lt;p&gt;CSS is case sensitive &lt;code&gt;id=&amp;quot;something&amp;quot;&lt;/code&gt; is different to &lt;code&gt;id=&amp;quot;SomETHing&amp;quot;&lt;/code&gt;&lt;br /&gt;
Often a capitalised letter in the CSS stylesheet or the HTM file happens accidentally.&lt;/p&gt;
&lt;p&gt;Check both files are correctly pointing to the same CSS file, both files not just default.htm, as daft as it sounds, perhaps the file that IS working is actually at &quot;fault&quot; and is linking to an old/backup etc CSS file that did centre correctly.&lt;br /&gt;
(these things do happen)&lt;/p&gt;
&lt;p&gt;Perhaps the subversion.htm has &quot;broken&quot; code in it - missing tag, incorrect CSS id or class etc - that allows it to center.&lt;br /&gt;
Sounds daft, but maybe the CSS needs correcting, has something that stops the page centering correctly (you know, those pesky margins, floats etc) and where default.htm code is fine, it includes the CSS issue because of that.&lt;br /&gt;
Whereas the issue in subversion.htm, this no longer impedes the center problem, such as a class or id not being called correctly, and therefore allows it to center.&lt;br /&gt;
(unlikely I know)&lt;/p&gt;
&lt;p&gt;Other than all that, carefully checking every CSS style in the htm file, checking the link to the CSS stylesheet in both files, there is nothing else I can think of&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jan 2009 07:16:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1237291 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
