Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Changes to site colors on firefox - Advice please

andy7
Posts: 10
Joined: 31 May 07
Trust:

Changes to site colors on firefox - Advice please

Can anyone tell me why my site on firefox loooks ugly - colors r completely deferent from wat i c on ie or front page.
my site is http://www.lifecoachandy.co.uk
Ta
  • 0
Site Admin
markling
Posts: 2488
Joined: 13 Jun 06
Trust:
The only thing I really see that looks different is the border. The reason its different is that you're using Internet Explorer specific HTML in your page that Firefox won't read (because Firefox is a much more "correct" browser than IE). I suspect that this is because you're using Frontpage to create your site. (And we know that Frontpage and IE are both spawned by Microsoft)

bordercolorlight="#FD0000" bordercolordark="#FF0000" bordercolor="#0000EE"


Firefox won't listen to that.

The easiest way to specify a border on something is to use a bit of CSS. Ideally you would have an external stylesheet that would set out all these things (like what the border colour of this box should be, what your font sizes and styles should be, everything to do with the graphic layout of your page, basically) and then you'd put a little piece of code into the head of your page that says "use this stylesheet".

The quick and dirty way to do it, though, is to delete all that "bordercolor" stuff from your <table> tag and write this in there instead:



You can also specify different colors for the different sides of your box by going like this:



etc, etc.

If you want to know more about CSS and HTML in general (could be a good idea) then I recommend checking out the lessons at this site:

http://www.yourhtmlsource.com

The dude knows what he's talking about. And in future, you should be testing your websites in Firefox rather than IE, since future versions of IE should begin to get more "correct" and stop using these proprietary codes, but until this happens you're best to test on a browser that is already at this point.

Good luck
Mark
  • 0
Limited time special - Try Affilorama Premium for just $1 for 7 days: http://www.affilorama.com/premium
 
PremiumMember
simonq
Posts: 13
Joined: 20 Mar 07
Trust:
Do what Mark says.

Also center your page, you'll notice all the nice looking pages are centered these days. Like Affiliorama for example.

Also if you want some tips on how to make your site look better www.webdesignfromscratch.com has LOTS of cool IDEAS.

Also if you like video lessons in webdesign www.lynda.com has some great lessons.

Good luck!
  • 0
andy7
Posts: 10
Joined: 31 May 07
Trust:
Thx guys, :D

Atm all my pages are saved as htm, would it make a diff if i save them as all files ow webpage?

:?:
  • 0
Site Admin
markling
Posts: 2488
Joined: 13 Jun 06
Trust:
Atm all my pages are saved as htm, would it make a diff if i save them as all files ow webpage?


Not sure what "files ow webpage" means, but the answer is no. Your problem lies with your HTML code, not with your file extension.

Good luck,
Mark
  • 0
Limited time special - Try Affilorama Premium for just $1 for 7 days: http://www.affilorama.com/premium