Actually, it's in Firefox and Opera that the layout is displayed correctly. There is a bug in IE that makes is always expand elements to the size of it's children, even when it shouldn't.
Elements that are floating does not affect the size of the parent. If you want the parent to expand to the size of the floating children, place a non-floating element as a last child, and use "clear: both;" to place it below the floating children.
I figured IE was the one that had it wrong since it was the odd man out. The solution was a lot simpler than I thought it would be and works like a charm, thanks a lot
One last small problem, both IE and Opera have a margin on the top and bottom of the container div, but firefox only has the margin on the top. As you see in my first post Container is set to margin: 20px auto;
Any programming platform for the web supports AJAX. It's the browser that does the real work, the web application only has to answer to requests and return a result, that doesn't differ from a regular web page.
ATLAS is an AJAX library for ASP.NET, you can't use it with ASP.
I installed visual studio 2005,abd i opend a new website.In that when i click on design button in default.aspx,the design is not working i.e it's not opening a design window what to do.
Thanks in advance
I need take decission from the user by diplaying a message box on an asp.net web page.
ex. displaying message box with Yes, No, Cancel buttons. I need to now which button was pressed by the user and I need to write the remaining code accordingly.
please help in this regarding how to achieve it in ASP.Net using C#.
It is very urgent to me, plz treat it as urgent.
You could generate a small web form in a popup window and handle the buttons as appropriate. However since popups are falling in to disfavor and many people block them it might not be the best solution.
I have a class in which I want to write out the trace if there is an error. I added System.Web to the class and I have System.Web referenced in my project. However, the compiler is not recognizing "Trace." I also set the trace to true in my web.config file. Trace.Write ("Unable to update!");
I can't find any documentation on what else I might be missing here.
Can anyone point me to their favorite references / websites for learning the (apparently) dark and mysterious art of laying out asp.net application pages and components. I.E. I want to create some fairly complex and sophisticated pages for an application.
I'm just not getting the layout methodology because I'm setting some controls to 100% and they only extend partway down a single screen full in my browser window, others extend mysteriously way beyond the size of my window even though there is no data in them below a third of a window.
It's like a circus or whack a mole, every change I make seemingly logically sends the whole layout into a mess of unrelated consequences.
Everything I try short of setting an explicit size in pixels seems to go weird on me and I know enough to know that setting an explicit size is wrong.
I think I need a guide for developers that is more web oriented than .net oriented. I want my pages to appear as nicely and usefully as possible on as wide a range of browser window sizes as possible within reasonable limits.
I have no books on the subject so aside from online material if you have any good ref's for books I would appreciate it. (I don't need to learn to program, I just need to learn how to get asp.net pages and components to layout properly and usefully.)
Hi Richard, I'm sorry I should have been more clear, I have a pretty good grasp of html and a full MSDN subscription with all the tools I need. I'm not exactly starting out from complete scratch, I'm just a little out of date on the xhtml stuff but learning rapidly.
What I'm lacking in is a good guide to doing layouting reliably on different browsers I guess is what it comes down to. I've found some info on "Jello mold" layouts that looks promising: