Re: css not working in CF file
[EMAIL PROTECTED] wrote: > I have two different pages: > > http://www.ocbin.org/index.cfm > > And > > http://www.ocbin.org/index.html > > They are EXACTLY the same (checked page source). No they aren't. You are sending the CFML with a HTTP header that indicates it is UTF-8 (which will overrule your ISO meta tag in the HTML), while your HTML page does not have that header. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283229 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: css not working in CF file
It could be the additional whitespace that CF generates. Try doing a view source, save as on both and run them through a diff tool. The browser might also render slightly different depending on the headers. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Monday, 9 July 2007 2:30 PM To: CF-Talk Subject: RE: css not working in CF file That worked! However, I am at a loss to explain why the setting of 79% worked of in the ...html file but not in the .cfm file ... They are identical? TNX again. -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: Sunday, July 08, 2007 8:49 PM To: CF-Talk Subject: Re: css not working in CF file Setting the #navBar{ margin: 0 0 0 79%; to 78% allows it room to display at the top of that div, or at least it does locally ;) Bob > I have two different pages: > > http://www.ocbin.org/index.cfm > > And > > http://www.ocbin.org/index.html > > They are EXACTLY the same (checked page source). > > When I run them (.cfm and html) in firefox, they render exactly the > same - no problem. > When I run them in Explorer 7, note that the sidebar is screwed up on > the right in the CFM version, but not in the html version. > > Since the page source is exactly the same, I am at a loss to explain > how this is happenening. > > Any help greatly appreciated. > > Richard Colman ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283222 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: css not working in CF file
That worked! However, I am at a loss to explain why the setting of 79% worked of in the ..html file but not in the .cfm file ... They are identical? TNX again. -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: Sunday, July 08, 2007 8:49 PM To: CF-Talk Subject: Re: css not working in CF file Setting the #navBar{ margin: 0 0 0 79%; to 78% allows it room to display at the top of that div, or at least it does locally ;) Bob > I have two different pages: > > http://www.ocbin.org/index.cfm > > And > > http://www.ocbin.org/index.html > > They are EXACTLY the same (checked page source). > > When I run them (.cfm and html) in firefox, they render exactly the > same - no problem. > When I run them in Explorer 7, note that the sidebar is screwed up on > the right in the CFM version, but not in the html version. > > Since the page source is exactly the same, I am at a loss to explain > how this is happenening. > > Any help greatly appreciated. > > Richard Colman ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283221 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: css not working in CF file
Setting the #navBar{ margin: 0 0 0 79%; to 78% allows it room to display at the top of that div, or at least it does locally ;) Bob > I have two different pages: > > http://www.ocbin.org/index.cfm > > And > > http://www.ocbin.org/index.html > > They are EXACTLY the same (checked page source). > > When I run them (.cfm and html) in firefox, they render exactly the > same - no problem. > When I run them in Explorer 7, note that the sidebar is screwed up on > the right in the CFM version, but not in the html version. > > Since the page source is exactly the same, I am at a loss to explain > how this is happenening. > > Any help greatly appreciated. > > Richard Colman ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283216 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: css not working in CF file
Ditto , might even play around with navbar a bit #navBar{ margin: 0 0 0 79%; <<< > -Original Message- > From: Will Tomlinson [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 08, 2007 11:21 PM > To: CF-Talk > Subject: Re: css not working in CF file > > It looks almost as if the width of the left side floated item is too wide > to accomodate the right. So it pushes it down below it. Just for the > heckuvit, shrink the width of the left side to see if it brings the right > back up. > > Will > > ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: css not working in CF file
It looks almost as if the width of the left side floated item is too wide to accomodate the right. So it pushes it down below it. Just for the heckuvit, shrink the width of the left side to see if it brings the right back up. Will ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4