New Layout
On and off during the day, I’ve been playing around with the Switchblog template. It’s quite frustrating at times since I was trying to understand how MovableType works but I’m pretty happy with the results. It’s by no means final as I’m still trying to understand how everything blends together.
Earlier, I couldn’t help but laugh when I was “div’ed.” The DIV tag, when used improperly, is something not too friendly with Opera — and I actually forgot all about that! Many more advanced web developers forget about the global DIV CENTER … if one’s not careful and there’s no TABLE ALIGN CENTER within tables, the entire content will be globally centered. The DIV error only happens in Opera and I always treat it as a wake-up call to be more responsible with my coding. No coding is ever complete if not previewed within the Opera browser.
I’ve also decided to forego using my handwriting font for the meantime. I’ve realized that though my font looks great in OS X, it’s quite unreadable in Windows.
The tools I’ve been using were Dreamweaver, Photoshop Elements 2, different browsers, and good old Text Edit.
Juan Magdaraog 4:27 PM on July 3, 2004 Permalink
sir, there’s another way to center your divs.
html code
some text here.
css code
#centerdiv {
width: 500px /*set your width here */
marign: 0 auto; /* first value to set top and bottom margin, second to set the left and right margins. */
padding: 3px; /*set padding */
}
That should work. You could also use a class if you want.
Juan Magdaraog 4:29 PM on July 3, 2004 Permalink
oops, your mt doesn’t accept some html code
here’s the html code for the div
Some text here
Juan Magdaraog 4:30 PM on July 3, 2004 Permalink
Hahaha, stupid just repeated my mistake.
some text here
Juan Magdaraog 4:31 PM on July 3, 2004 Permalink
I give up, the code won’t display, anyway just place an id or centerdiv on the div tag you want to center and use the css code.
Joel 7:46 PM on July 3, 2004 Permalink
Thanks for the help! I’m one of the old-timers… panay html. hehe. But I’m learning about new coding :)