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.

CSS Forum


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



Reply
Why is my contnt centered in IE and not FF?
Old 03-01-2010, 02:43 AM Why is my contnt centered in IE and not FF?
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Hi,
All my content in IE is centered for some reason, what could be causing this?
http://www.thai-discovery.com/index1.html
This is the new layout I am working on and it is pissing me off
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-01-2010, 05:38 AM Re: Why is my contnt centered in IE and not FF?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It could be the text-align:center applied to the body element in the CSS.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-01-2010, 07:17 AM Re: Why is my contnt centered in IE and not FF?
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
The only think I have centered is this

My intex.html
Quote:
<body id="page1" class="shadow">
My external css
Quote:
.shadow {
background:url(images/Background/shadow.jpg) center;
background-repeat:repeat-y
I can see how that can be a problem as it would center everything in the body correct, so how can I apply for only the shadow to center and not everything else?
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
Old 03-01-2010, 07:29 AM Re: Why is my contnt centered in IE and not FF?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
From thai-discovery.com/style.css
Quote:

* { margin:0; padding:0;}
body { background-color:#fff; font-family:Arial; color:#000; text-align:center; }
.shadow {
background:url(images/Background/shadow.jpg) center;
background-repeat:repeat-y

}
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Why is my contnt centered in IE and not FF?
 

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.82829 seconds with 12 queries