My Mind = Blown, New Piece Again…..

July 28th, 2010

HTML/CSS HAS JUST BLOWN MY MIND

Ok so I’m coding this website for this freelance’ish job of mine. Due to my lack of knowledge I am using separate images for the rounded tops and bottoms of pretty much every box shape in the site. So I have separet divs simply for a rounded top/bottom of the sidebar for example. As you can see I have a ton of random divs and it caused a bit of a problem for my sidebar. The top rounded box of the sidebar lined up with the actual “content” box of the post area INSTEAD of the post areas rounded top box. You follow me? So this has been giving me trouble for about a week now and I sorta moved on as I figured I’d just ask the guy who I’m working with for help. I go back to it today and look at the margins for the top rounded of the sidebar. All of them are at 0 pixels so they can’t be lowered any further. I chuckle to myself as I type in “-15″ in the spot for the top margin. “Negative numbers.” I chuckle to myself. “How silly.” I hit save on the script and reload the website……. Lo and Behold the sidebar just lined up perfectly. I go back and forth checking this to make sure I’m not crazy and come to the realization that negative numbers can be input into CSS and HTML variables. I had NO idea.

STELLAR CROSSING

Been pumping out pieces lately and this I the next in line for my portfolio power-up extravaganza. Enjoy!

Stellar Crossing

Leave a Reply