Against passive types I like a bet because lots of hands will check behind. However, this is an aggro online game where punishing people who float around has more merit.

Your line is fine if you think he's betting a wide range. Otherwise, you need to value bet this.

kind of turned my hand into a bluff here
Not really, the player described will call you with worse hands.