jocke76
-
Keeping floats from wrapping inside undefined width div
=) 10 years ago I had tables for it .. Back then css wasn't invented, atleast afaik =) (Atleast it was a pain) Then wasn't always 100px ,, it could be 120px aswell. Or maybe it was just my incompetens.. =)
-
Keeping floats from wrapping inside undefined width div
Bah, Found the solution (again). In the example I changed the follow in css for "ul.horz > li" display: block; to display: inline-block; float: left; (removed) Now it works in FF too.
-
Keeping floats from wrapping inside undefined width div
I understand you Paulie! You've really helped me in the right directions, and for that I'm truly grateful. I'm posting a screen shoot if you don't want to give up =) http://postimage.org/image/6v33u03el/full/ The image shows the…
-
Keeping floats from wrapping inside undefined width div
Yes, it's actually a list. I just thought it would be cleaner in the initial example to use divs instead of ul's and li's. IMHO it wouldn't matter. No, it's not a menu. It's basically a table but somewhere sometime (ar…
-
Keeping floats from wrapping inside undefined width div
Ah! Found the solution myself! =) Adding: white-space: nowrap; to the list-div (class="list") solved it!
-
Keeping floats from wrapping inside undefined width div
Ok .. the story continues.. I've now managed to change the main structure so that the content can stretch outside enclosing divs.. Now the problem is the browser windows size .. Please have a look at this example: http://codepen.io/anon/pen/…
-
Keeping floats from wrapping inside undefined width div
Paulie I'm not sure it HAS to be relative or absolute .. it's just that its not a small web application .. almost 10mb of pure perl+html+css+js so it's not easy to say if I can change the structural layout without affecting things.
-
Keeping floats from wrapping inside undefined width div
Now I've learned that floats don't wrap if they are inside an absolute positioned div, if the wrapper for that div is positioned static.... Which can be a problem for me.. I'll have to experiment a little.. I think it's strange …
-
Keeping floats from wrapping inside undefined width div
Paulie: aligned If you reload the link it should be correct now. wrote block-inline instead of inline-block at first..
-
Keeping floats from wrapping inside undefined width div
Thank you Paulie. I'll try to use absolute positioning on the innerdiv .. I'm not sure why I have relative atm ,, but I'm going to investigate it. I'm not sure how others feel .. but if I look back on my life as a web-programm…
-
Keeping floats from wrapping inside undefined width div
Toxic: I do =) Not just in this example. Thank you Toxic. Created a new example with inline-block: http://codepen.io/anon/pen/nxeFi The problem now is tampering with the extra spacing from inline-block. But I found a post/article covering that top…
-
Keeping floats from wrapping inside undefined width div
Hi Paulie "Not wrap" - As you can see at the codepen-example the last two squares wraps to the second "row". I want them all to align on the same row. This is just a simplified example of a much larger web application that I de…
-
Match first element
Hey Maybe the thread is dead .. anyways.. and maybe you only want the css-sollution.. But with javascript you could... ... According to w3c The getElementById() method returns a reference to the first object with the specified ID. (http://www.w…
-
z-index strange behavoir
Hey Thank you, Frujo, for trying to help me out. Actually I want the "box2-scenario", where box1 also places itself above the inputfield. And I can't re-arrange the code the way You did with box3. Everything is dynamic content. Wha…
-
How to stop programs gaining access & contacting you ?
Hi ikthius For sites that shouldn't be live: I guess you could set up a rule in apache to only allow certain ip-addresses to access the site/page. http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html Trying to 'hide' sites that …
-
try to make website without need of javascript
Hello I must admit I don't really get the question.. In my oppinion it's not about "is this a better way than this.." It's two separate things.. As You say.. Javascript is client side and php, perl, etc. is server side. I…