Calling All Geeks
- Posted by justin on May 16th, 2008 filed in Business, News, Technical, Technology, Tutorials
*** Creepy music starts playing***
Hey there all you geeks, nerds, newbies and novices!
My name is Justin and I will be your guide through this journey we call the PowWeb Blog.
***Creepy music fades out***
Yeah, I know that was cheesy, like some opening line of a lame Twilight Zone rip-off show on the sci-fi channel, but I just wanted to grab your attention for a quick minute and introduce myself.
As I said, my name is Justin and I am the new Marketing Manager for PowWeb. Oh, yes, I see the gears in your head turning – you’re thinking… wait isn’t that blog post below from ‘Paul’ introducing himself as the new Marketing Manager for PowWeb? Yep, it is, you are correct. I knew you guys were smart. Paul is still with us, but has just moved on to another role in the company, leaving me the amazing opportunity to step in to this role and work with all you wonderful people!
A little about my background in web hosting (we can get in to my personal background another time, as I am sure it will come through in my writing) - I have been working in this industry for the last 6.5 years; mostly in the sales and affiliate marketing departments. So, with that being said you will find my technical skills are somewhat lacking. BUT, I am working to change that by taking classes in UNIX system administration and client side web programming – so my kung fu is getting better! But, as any student or, Padawan learner, I am in search of knowledge, so I figured that this would be a great place to get it. I thought I could use this blog as a place post things that I am learning (maybe some of you newbies can pick up a thing or two) and get feedback from some of you with master kung-fu skills, and we can kinda get our geek on together. A give and take kinda thing – so what say you? Are you in? Sweet!
Ok, I guess I will start –
I have been learning about HTML and CSS. I am building a site and I want to center justify the entire site. In my style sheet I am using:
( I am using a table as my main layout)
table.one
{
margin:0 auto 0 auto;
position:relative;
table-layout:automatic;
border-collapse:collapse;
border-size:5px
}
This code seems to work just fine with Firefox, but is not being read by IE (stupid IE). So, my question to you is, how to make it so both IE and Firefox will read the site and center justify it?
What I ended up doing was wrapping each page with the following HTML code:
<table width=”100%” bgcolor=”#whatever”>
<tr> <td align=”center”>
Is this the best way to do this? Or can some of you super geeks tell me another way? I am listening. I really want to see if you guys are with me on this whole give and take knowledge sharing style of blog. So, please post back and teach me something. If you guys aren’t feeling this style of blogging, then just comment back and let me know where you would like to take this blog. I am here as your friend, student, and teacher, so I am open to any and all suggestions.
I look forward to reading your comments and will be talking to you all again next week.
Cheers!
-Justin

May 19th, 2008 at 3:12 pm
Hey Justin,
How are things? Glad to see you guys blogging again.
To answer your question, there are several ways of centering the entire site. Here’s one way that should work (I haven’t tested it since I’m writing it all here)
HTML
[content here]
CSS
#wrapper
{
width: 800px;
margin: auto;
}
This will make your main content area 800px wide and make the margins on each size equidistant from the edges centering it.
You could also give the table an id and center it with the margin: auto similarly.
As a side note, check out Eric Meyer’s CSS Reset:
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
It’s a pretty nifty way of *helping* create some consistency in styles among the different browsers.
- Joshua
May 19th, 2008 at 3:13 pm
Looks like WP stripped my html. The HTML is just wrapping your content with a div that has an id of wrapper.