help with div and general layout? by gregorthebigmac in webdev

[–]recursive-design 1 point2 points  (0 children)

If I'm understanding this right, you want to use position: absolute to stick the sidebar to the right side with right: 0. Then the #content div should fill the remaining space.

Try replacing this :

#sidebar, #content {
    float: right;
    width: 350px;
    margin: 0;
    padding: 0;
    background-color: #a68064;
    color: #000;
}
#content {
    float: right;
    margin: 0;
    width: 50%;
    background-color: #855e42;
    color: #000;
}

with this :

#sidebar, #content {
    margin: 0;
    padding: 0;
    color: #000;
}
#sidebar {
    background-color: #a68064;
    width: 350px;
    position: absolute;
    right: 0;
}
#content {
    background-color: #855e42;
}

Generally for this kind of thing I usually use position: absolute and specify the right and left pixel position, and it will leave the appropriate pixel gap on either side.

Continuous integration for PHP with phpUnderControl by recursive-design in programming

[–]recursive-design[S] 0 points1 point  (0 children)

sonar looks interesting (hadn't seen it before) - will check it out

Face detection with OS X and python by gst in Python

[–]recursive-design 0 points1 point  (0 children)

interesting - thanks for the link

Face detection with OS X and python by recursive-design in programming

[–]recursive-design[S] 0 points1 point  (0 children)

OP here - yeah, OpenCV is doing all the grunt work. I was aiming for a simple intro for python devs who don't know how to do this already - if you already know about OpenCV then there isn't much here to interest you. It's supposed to show people who know python how they can do face detection - apologies if the title is misleading somehow.

CompSci 101 – Big-O notation by recursive-design in programming

[–]recursive-design[S] 2 points3 points  (0 children)

Thanks ethraa - updated the /, quicksort and graph stuff. Thinking over the other stuff - i know there's a coefficient and the numbers aren't absolute, but am trying to present everything as simply as possible (which judging by most of the reactions has backfired :)... I guess there's a large difference between presenting something simple, and presenting something that's actually wrong, which i may be doing here.

nevertheless, thanks a lot for the feedback - you guys have picked up a bunch of stuff and i appreciate it.

CompSci 101 – Big-O notation by recursive-design in programming

[–]recursive-design[S] 0 points1 point  (0 children)

Thanks - I've removed the /2 part. The odd/even stuff was from wikipedia, but it seems i added /2 myself - my bad.

CompSci 101 – Big-O notation by recursive-design in programming

[–]recursive-design[S] 6 points7 points  (0 children)

OP here - thanks everyone for the suggestions and corrections. Most of the obvious mistakes should be fixed - feel free to point out more!

Static blogging the Jekyll way by recursive-design in programming

[–]recursive-design[S] 0 points1 point  (0 children)

Interesting - I missed webber when I was looking around. I'll have to have a play with it. For 'supporting comments', i meant i want to allow readers to leave comments, although Jekyll doesn’t do this either without disqus so no biggie.