﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebCombo - custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Mon, 27 Dec 2010 20:09:51 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;p&gt;Hello Nico,&lt;/p&gt;&lt;p&gt;You can use custom CSS to configure WebCombo style without no issue. But, there are some major styles that could not be changed due to design or function purpose. Those are very basic style which should not be changed.&lt;br /&gt;E.g some of the styles are used for properties function purpose which can only work in XHTML doctype or etc.&lt;/p&gt;
&lt;p&gt;However, WebCombo still allow user to configure its style freely, except some basics styles. You can see that we provide some WebCombo style sample in our WebCombo sample. &lt;br /&gt;For easy customization, please set &lt;i&gt;&lt;b&gt;UseDefaultStyle &lt;/b&gt;&lt;/i&gt;as &lt;b&gt;&lt;i&gt;false&lt;/i&gt;&lt;/b&gt;. Then, you can customize WebCombo style with your own custom CSS. Below are the list of properties that allow user to customize its style.&lt;/p&gt;
&lt;p /&gt;
&lt;ul&gt;&lt;li&gt;HeaderStyle&lt;/li&gt;&lt;li&gt;DropDownStyle&lt;/li&gt;&lt;li&gt;TextBoxStyle&lt;/li&gt;&lt;li&gt;ResultFrameStyle&lt;/li&gt;&lt;li&gt;ColumnStyle&lt;/li&gt;&lt;li&gt;FrameStyle&lt;/li&gt;&lt;li&gt;MoreButtonStyle&lt;/li&gt;&lt;li&gt;StatusBoxStyle&lt;/li&gt;&lt;li&gt;ResultBoxStyle&lt;/li&gt;&lt;li&gt;RowStyle&lt;/li&gt;&lt;li&gt;SelectedRowStyle&lt;/li&gt;&lt;/ul&gt;Those collection of properties are enough for user to customize their own style.&amp;nbsp;
&lt;p /&gt;
&lt;p&gt;About the last differences display between IE7 and IE8, that is a browser behaviour.&lt;br /&gt;In IE8, some properties need to be turned off manually.&lt;br /&gt;For this case, please try to turn off &lt;i style="font-weight: bold; "&gt;AllowFloatingText&lt;/i&gt; under &lt;b&gt;&lt;i&gt;LayoutSettings &lt;/i&gt;&lt;/b&gt;properties.&lt;br /&gt;You can see that there is no differences between the layout now.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Thu, 23 Dec 2010 04:09:45 GMT</pubDate><dc:creator>lybax</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;p&gt;I just noticed there are a lot of posts regarding webcombo compatibility issues on IE8.&lt;/p&gt;
&lt;p&gt;So no wonder why I get different displays between IE7 and IE8...&lt;/p&gt;
&lt;p&gt;Concerning a simple working sample that replicates my issue:&lt;br /&gt;Just put a simple webcombo from your samples into a DIV element and set the webcombo's width to 100% and the DIV's width to let say 500px, then compare between IE7 and IE8.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;Nico&lt;/p&gt;</description></item><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Wed, 22 Dec 2010 04:40:12 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;p&gt;Hello Nico,&lt;/p&gt;
&lt;p&gt;Regarding your issue, I need to discuss with the development team to be investigated further.&lt;/p&gt;
&lt;p&gt;Do you have any working simple sample that replicates your issue?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Tue, 21 Dec 2010 08:34:04 GMT</pubDate><dc:creator>lybax</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;ul&gt;&lt;li&gt;Why is the WebCombo designed with hardcoded style (absolute, width, font-size)?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;WebCombo control is not hardcoded design. You can simply configure its width from the property provided in the WebCombo.NET Designer.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;Yeah, and what if I want to configure the width in CSS? &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0070c0"&gt;If you look using Developer Tools for instance (HTML display), you see that the main dropdown DIV has its width hardcoded&amp;nbsp;(see my original post). &lt;/span&gt;&lt;/p&gt;&lt;span style="color: #0070c0"&gt;&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV id="wcTest_f" &lt;strong&gt;class="WC4-F-N"&lt;/strong&gt; style="POSITION: relative; &lt;strong&gt;WIDTH: 200px&lt;/strong&gt;; FLOAT: left; VERTICAL-ALIGN: middle; OVERFLOW: hidden"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;And if I override it&amp;nbsp;in CSS, it does not work as it IS hardcoded...&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0070c0"&gt;So how can I set the width in CSS?&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why is the WebCombo HTML structure (div elements) so weird and complicated?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Could you clarify in which parts does the WebCombo's HTML structure look weird and complicated?&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;It's a bit complicated to explain... but if you take the 2 DIVs inside the main dropdown DIV:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV id="wcTest_search" &lt;strong&gt;class="WC4-DD-N"&lt;/strong&gt; hideFocus style="TEXT-ALIGN: center; FILTER: ; FLOAT: right; OVERFLOW: hidden; opacity: 1; MozOpacity: 1; KhtmlOpacity: 1"&amp;gt;&amp;lt;/DIV&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV hideFocus style="&lt;strong&gt;POSITION: absolute&lt;/strong&gt;; FONT-FAMILY: Webdings; COLOR: black; &lt;strong&gt;FONT-SIZE: 9pt&lt;/strong&gt;; OVERFLOW: hidden; TOP: 0px; CURSOR: default; RIGHT: 1px"&amp;gt;6&amp;lt;/DIV&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;I don't understand why the "wcTest_search" DIV does not contain the second DIV (the symbol "6" = arrow), as it is supposed to be the DIV for the dropdown button (arrow). And I don't understand why this second DIV's position is absolute?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;Anyway the most important problem here is to configure dropdown's WIDTH in CSS. &lt;br /&gt;As explained in my original post, it used to work on IE7 setting IS control width to 100% and setting width in a global DIV CSS class.&lt;br /&gt;But it does not work in IE8 anymore... what can I do?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;Thank you and best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0070c0"&gt;Nico&lt;/span&gt;&lt;/p&gt;</description></item><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Wed, 08 Dec 2010 04:00:17 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;p&gt;Hello Nico,&lt;/p&gt;
&lt;p&gt;Here is the answer to your questions.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why is the WebCombo designed with hardcoded style (absolute, width, font-size)?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;WebCombo control is not hardcoded design. You can simply configure its width from the property provided in the WebCombo.NET Designer.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why isn't there any way to properly override style using css class without breaking default style and without redefining all default style?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I apologize for any inconvenience this problem may have caused you. For the current version, you need to redefine all default styles since the combo is designated with its default style initially. However, we are going to enhance the combo in the next version. We are going to implement and provide a property that allows user to override style using Css class without having to redefine all default styles. It is more like AllowDefaultStyleMerging property available in WebGrid.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Some default css class are available (e.g. WC4-F-N), but not on all div: why?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;It is probably because other div does not require to have css class for its styles. &lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why is the WebCombo HTML structure (div elements) so weird and complicated?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Could you clarify in which parts does the WebCombo's HTML structure look weird and complicated?&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>custom css width not working under ie8</title><link>http://www.intersoftsolutions.com/Community/WebCombo/custom-css-width-not-working-under-ie8/</link><pubDate>Fri, 03 Dec 2010 11:28:20 GMT</pubDate><dc:creator>lybax</dc:creator><category>WebCombo</category><category>IE8</category><category>Style</category><category>Width</category><category>css</category><category>class</category><category>size</category><category>hard coded</category><category>hardcoded</category><category>FrameStyle</category><description>&lt;p&gt;Hi there!&lt;/p&gt;
&lt;p&gt;As IS WebCombo does not provide a CssClass in the main control, as overriding LayoutSettings styles (e.g. FrameStyle) using CssClass breaks the default design, we decided to set WebCombo.Width to 100% and define the actual (expected) width in a parent div element. &lt;/p&gt;
&lt;p&gt;This solution (workaround) was rather satisfying on IE7 and FF (a bit less), but is not working anymore on IE8. Setting Width="100%" displays the WebCombo with a size of 150px. Without setting the Width, its size is 200px (hardcoded in inner controls!!!).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So my question is: What can I do?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why is the WebCombo designed with hardcoded style (absolute, width, font-size)?&lt;/li&gt;&lt;li&gt;Why isn't there any way to properly override style using css class without breaking default style and without redefining all default style?&lt;/li&gt;&lt;li&gt;Some default css class are available (e.g. WC4-F-N), but not on all div: why?&lt;/li&gt;&lt;li&gt;Why is the WebCombo HTML structure (div elements) so weird and complicated?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;I'm scratching my head for hours finding a "workable" bastard solution using "!important" css keyword everywere I can, in order&amp;nbsp;to ignore IS hardcoded style (e.g. width:auto !important; height:inherit !important), but I'm stuck&amp;nbsp;in this poor design...&amp;nbsp;please help me!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV id="wcTest_f" &lt;strong&gt;class="WC4-F-N"&lt;/strong&gt; style="POSITION: relative; &lt;strong&gt;WIDTH: 200px&lt;/strong&gt;; FLOAT: left; VERTICAL-ALIGN: middle; OVERFLOW: hidden"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV id="wcTest_search" &lt;strong&gt;class="WC4-DD-N"&lt;/strong&gt; hideFocus style="TEXT-ALIGN: center; FILTER: ; FLOAT: right; OVERFLOW: hidden; opacity: 1; MozOpacity: 1; KhtmlOpacity: 1"&amp;gt;&amp;lt;/DIV&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV hideFocus style="&lt;strong&gt;POSITION: absolute&lt;/strong&gt;; FONT-FAMILY: Webdings; COLOR: black; &lt;strong&gt;FONT-SIZE: 9pt&lt;/strong&gt;; OVERFLOW: hidden; TOP: 0px; CURSOR: default; RIGHT: 1px"&amp;gt;6&amp;lt;/DIV&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;DIV style="&lt;strong&gt;WIDTH: 179px; HEIGHT: 18px&lt;/strong&gt;; OVERFLOW: hidden"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;INPUT id="wcTest_text" &lt;strong&gt;class="WC4-TB-N" &lt;/strong&gt;style="PADDING-LEFT: 2px; &lt;strong&gt;WIDTH: 100%"&lt;/strong&gt;&amp;nbsp; name="wcTest_text" autocomplete="off" value="" /&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;/DIV&amp;gt;&amp;lt;/DIV&amp;gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;TABLE style="DISPLAY: none" id="wcTest_udata"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;TBODY&amp;gt;&amp;lt;TR &lt;strong&gt;class="WC4-Row-N"&lt;/strong&gt; dataValue="Col1Row1"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;TD style="&lt;strong&gt;WIDTH: 200px"&lt;/strong&gt; &lt;strong&gt;class="WC4-C" &lt;/strong&gt;noWrap="noWrap"&amp;gt;&amp;lt;NOBR&amp;gt;Col1Row1&amp;lt;/NOBR&amp;gt;&amp;lt;/TD&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;/TR&amp;gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&amp;lt;/TBODY&amp;gt;&amp;lt;/TABLE&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;We are working on a project for more than a year using IS solution and we still hope there will be a clean solution for all our workaround we needed. And I'm not talking about WebGrids...&lt;/p&gt;

&lt;p&gt;This becomes URGENT! &lt;/p&gt;
&lt;p&gt;Thank you for your feedback and help.&lt;/p&gt;
&lt;p&gt;Nico&lt;/p&gt;</description></item></channel></rss>