Web Hosting Talk







View Full Version : CSS Stylesheet


willas00
07-09-2008, 07:59 PM
I'm having problems with a CSS Stylesheet.

If you look at www.flubberhosts.com you will see the links are left allined but the code states centre.

If you look at www.flubberhosts.com/nocss the links are centre but the website is to the left and the font changes. (Thats the site without the stylesheet)

I want the site to look like it is not at www.flubberhosts.com but want the links to be centred so I can eventually change to Java menu driven links.

The style sheet is located at www.flubberhosts.com/index_files/main.css

Can any one help at all? I was given the stylesheet and code for the other stylesheet by an old friend who I'm no longer in touch with and I'm no good at css style sheets. I cant see the problem.

Would really appricate some help.

Thank You

tron-00
07-09-2008, 08:49 PM
instead of
<p align="center" style="margin-top: 0; margin-bottom: 0">

Try
<p style="margin-top: 0; margin-bottom: 0; text-align: center;">

willas00
07-09-2008, 08:53 PM
That didn't work.

biffer
07-10-2008, 02:11 AM
It seems you have it working now? The links all appear centered to me (FF2 and IE7)

willas00
07-10-2008, 06:13 AM
Nope Its not fixed and Im using IE 7 there still to the left

biffer
07-10-2008, 03:46 PM
Try adding to your .umtd class:

width:100%;
text-align:center;

-Brian-

torrentc
07-11-2008, 05:35 AM
IE 7 is awful but i would advise PHP for any webpage as it very rarly has issues with ANY browser