Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problem with centering with html or css.. I don't know.
Old 01-03-2007, 02:59 PM Problem with centering with html or css.. I don't know.
croix's Avatar
Skilled Talker

Posts: 87
Name: Colin Roy
Location: Dallas, TX
Trades: 0
OK, so I have a website that I just put together...

www.voiceman.com

The css that I am using is just a style sheet that I adapted from one of many other sites that I have built previously.

The problem is, the new site will not center on the page in IE6.

It is fine in Mozilla / Firefox on PC and on Mac, and its fine in Safari and Opera.

IE6 shows the page as left justified.


Like I said, the style sheet is just one I edited from a previous site, and that site shows up centered no problem on all browsers. I have compared the two sites pages and style sheets, and I am not noticing anything different.



Im sure this is going to be a stupid mistake on my part somehwere, but please take a look and tell me what you think.
www.voiceman.com
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
croix is offline
Reply With Quote
View Public Profile Visit croix's homepage!
 
 
Register now for full access!
Old 01-03-2007, 03:29 PM Re: Problem with centering with html or css.. I don't know.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You are using this to center:
Quote:
<div align="center">
You don't need it. You're already centering using margin: 0 auto on the #container. Just add "text-align: center" to the body element to make it center in IE. Then add "text-align: left" to #container if you want the text inside to be left-justified as normal.

Also, I noticed you have almost everything set to position:relative. Not necessary, looks to me like the only thing that needs that positioning is #container.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 03:54 PM Re: Problem with centering with html or css.. I don't know.
croix's Avatar
Skilled Talker

Posts: 87
Name: Colin Roy
Location: Dallas, TX
Trades: 0
Thank you red.


I knew i was screwin something simple up.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
croix is offline
Reply With Quote
View Public Profile Visit croix's homepage!
 
Old 01-03-2007, 04:03 PM Re: Problem with centering with html or css.. I don't know.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It's always the simple little things that will bite you in the you-know-what
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 04:46 PM Re: Problem with centering with html or css.. I don't know.
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
The armpit?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 01-05-2007, 09:23 PM Re: Problem with centering with html or css.. I don't know.
Banned

Posts: 905
Name: Travel Agent
Trades: 0
Quote:
Originally Posted by LadynRed View Post
It's always the simple little things that will bite you in the you-know-what
ROTFLMAO -- do tell!
travelagent is offline
Reply With Quote
View Public Profile
 
Old 01-07-2007, 02:48 PM Re: Problem with centering with html or css.. I don't know.
Average Talker

Posts: 29
Name: Adam
Trades: 0
I do believe it is the AR-AR-AR-AR-ARTICHOKE!! rofl.
RaelRode is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with centering with html or css.. I don't know.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18658 seconds with 12 queries