I’m kanneimi, a novice front-end web developer working here in the Philippines and this is my attempt to get back to a 3 years love-hate relationship in blogging,..I’m going to be a little bit straightforward to my posts.

These are thoughts, things I see, or bits people ask me to write about. So.. yea thanks.

{ Table } vs { Div }

I’d been gone for a week… SOPA / PIPA proposed law has been indefinitely postponed and ACTA is making all the internet users going all out war again in this ‘impossible’ law. So, we’ve been working on our small fancy requested bridal shoppe for our project and I noticed my coding is a little bit.. messy… not a little bit… ITS REALLY MESSY… NESTED TABLES ALL OVER… TABLECEPTION shocked

messy coding

I quite bothered me since I’ve been programming in-house CMS that I forgot that my client will be an outsider… so I did a little bit research on using DIV tags… at first its kinda confusing but since I’ve been exposed well enough to CSS, I only encounter few problems. So, I apply immediately on what I learned using DIVs and after 3 hours of transfering my nested TABLE tags to nested DIV tags, I noticed that using DIV tags makes my coding cleaner but my CSS took almost x2 of its former size than having a long and confusing {/tr} and {/td} in  tables. I had fun using DIV but I have problem on cross-browser compatibility… I’ll try to understand DIV CSS further.

Follow

Get every new post delivered to your Inbox.

Join 122 other followers