I am using MVC 1.0 on one site (but will be upgraded soon to 2.0).
A top header on the site and several boxes (UL elements) that contain information included.
I want to use the full width of the browser to take advantage of widescreen monitors, so that the number of boxes in each row depends on the browser window width.
The problem is that there is no fixed height of the box, the height depends on the content in each box.
The height of each row should be determined by the largest box on that line
What is the best way to do this?
I hope my question gets a sensation, it is a bit difficult to understand =)
I'm not sure it is possible using CSS only. However you can use this javascript.
class = "box wrapper" & gt; & Lt; Div id = "box1" class = "a-box" & gt; & Lt ;! - content - & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "box-wrapper" & gt; & Lt; Div id = "box2" class = "a-box" & gt; & Lt ;! - content - & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "box-wrapper" & gt; & Lt; Div id = "box3" class = "a-box" & gt; & Lt ;! - content - & gt; & Lt; / Div & gt; & Lt; / Div & gt; After that, prepare the following document:
var maxheight = $ (".a-box"). Eq (0) height (); $ (". A-box"). Each (function () (if (maxheight
Popular posts from this blog
I would like to capture all incoming HTTP packets on my machine. To do this, I am using SharpPcap which is a WinPcap The cover is. SharpPcap works very well, but it captures TCP packets and what it wants to do for me is a very low level. Does anyone know how can I easily get full HTTP requests / reactions from all these TCP packets? Thanks SharpPcap is already able to capture the packet in the same way That's what the virus does (just in the code instead of the GUI). And you can either either parse them directly or you can put them in the drive in the common .pcap file format. The steps to parse the capture are: Open a connection at any time Loop a while Or start capturing using an event callback Parsing the raw packet for the type you want If you are reading .PPP dump files In addition to calling you an offline capture reader is almost the same, there is no need to select an interface, and you can set the majority There is no need to do the modes. All st...
Has anyone written the open source XMPP library that uses the websacet and is being run by a browser? We do not yet have a standard XMPP that can enforce the server, Must be adequately faced before it may be necessary The first step is to eliminate WebSAT standardization. It seems that it can be in an IETF Haib working group, which has not been approved by the IESG so far in the writing time (see) a few weeks ago (Hiroshima), a hybrid bird-of-a-feather in IETF ( BOF), which went very well. WebSketches have a constant reference, and it seems to be systematically organized, one will make XMPP binding for webmasters, possibly with a bar for every webset frame. Edit: Jack Moffitt has written an IETF can be used with the first pass on a protocol. Warning . It is still likely to change fast enough, only apply it if you are ready to wrap it completely later. Warning
By using Wordpress I have created a multiple selection box so that users can select categories to exclude. When the page is initially loaded, I see my predefined default option. However, when I select a new value and I save ... I only see the word "Array" and have not chosen anything else? & lt; Class = "amultiple" id = "& lt; php echo $ value ['id'] ;? gt;" name = "& gt; php echo $ value ['id'] ;; gt; []" Multiple = "multiple" size = "8" & gt; & Lt ;? Php global option; Foreign currency ($ value as value $) {if (get_settings ($ value ['id']) === FALSE {$$ value ['id'] = $ value ['std']; } And {$$ value ['id'] = get_settings ($ value ['id']); }} $ Ranges = & amp; Amp; Categories ('type = post & orderbiz = name & amp; hide_empty = 1'); If ($ ranges) {$ ex_cat = implode (',', $ tt_cat_exclude); Forex Currency ($ range a...
Comments
Post a Comment