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 am checking around MSDN and Microsoft dot com but I can only find archived platforms. Are there any Microsoft DirectX forums for DirectX? Here it is: You can use XNA, D3, D3 10, D311 etc. Everything will be related.
Just want to know how I will create UIPickerView in a UIActionSheet with a simple array. Well, I really know how to put it in an action sheet but I like my way because it is more for my app, thanks, but I I also want to know how to put options in UIPKviewView, I just have an array with colors already on top of that part: red, green, blue, yellow, black, etc. in this, but I want to know how it In the preview d L'be if I am using the already Instifrem:? Please help anyone. I know that this is a stupid question, but I'm cheating my head on my $$$$$$ MacBook. Instead you want to do this, create your UIPickerView interface builder and have it in your view controller Connect to the outlet. Add it as a subview of your main view and set its frame coordinates so that it is offset right below the edge, x = 0, y = 480 Then, when you want to display a picker, animate it like something with the screen: [UIView startup permissions: zero reference: zero]; [Color picture setfr...
There is an object like "set" in Java that can contain only unique string values, but it also includes a count Is the number of string value in number? This idea is simple. A data set, ALA ... ABBCCC I will set the text of each line set- I want to add to the object every time a non-unique text is added to the set, I also want to show a numeric value associated with the set to show how often it was added. So if I run it on the above data then set output will be something like this: A: 1B: 2C: 3 Any ideas? Maps & lt; String, integer & gt; add public null (strings) {if (map.containsKey (s)) {map.put (s, map.get (s) + 1); } And {map.put (S, 1); }}
Comments
Post a Comment