Msg#: 3672478 posted 9:06 pm on Jun 11, 2008 (gmt 0)
After using Frontpage for years, I've recently upgraded to Expression Web 2. I've just started writing my first page in EW2 and have two divs, one floated to the left and one floated to the right. In EW2's design view, the floated elements are floated right out of the window. When previewing in IE7 and FF2, The divs display correctly. Is there a setting or something I can change in EW2 to correct this behavior, or is this a bug in the program? Thanks.
Msg#: 3672478 posted 1:36 pm on Jun 12, 2008 (gmt 0)
Ah, I know what you mean. But, I've found that sometimes its the actual CSS that may have a bug somewhere. Even though it displays correctly at the browser, it still won't display properly in design view. I've found that it is usally a width somewhere that should probably be set to auto or something.
Msg#: 3672478 posted 2:12 pm on Jun 12, 2008 (gmt 0)
Thanks Pageoneresults, that was just the clue I needed to spot the problem. I had a float:right property attached to the body. I've no doubt I will learn to watch for such stupid errors as I become used to EW2's interface. :)
Msg#: 3672478 posted 2:54 pm on Jun 12, 2008 (gmt 0)
I've no doubt I will learn to watch for such stupid errors as I become used to EW2's interface.
Oh, "stupid" might be a little harsh. ;)
I've found both FrontPage and EWD's rendering engine to be fine in most instances. In fact, it has probably helped me to detect more bugs than what it may present in the Design View. The browsers are pretty good about displaying most things correctly. The Design View in FP and EWD is probably a bit more strict than a browser.