can someone tell me please how to change the background colour on my website. i beleive it is a .gif but i have photoshopped the gif so that it is white in the middle with grey shading on each side. when i view the site on my pc it looks ok, but on my phone, the background is slightly grey so you can see white edges around images where the bg doesnt match. is it my phone / bg colour etc? please help. site is http://www.prosimulator.net/
Just add the following code to your web page between the <HEAD> and </HEAD> tag's. <HEAD> <BODY bgcolor="#000000"> </HEAD> Just change the #000000 with the color code that you want. If you do not know what the color code is of the color you want, visit this link. angelfire.com/nm/thehtmlsource/color
LOL, that's not how you apply CSS. First: bgcolor is obsolete. It's called background-color now Second: If you put the CSS in your <head> you would do it like this <head> <style type="text/css"> body{ background-color: #000000; } </style> </head> HTML: Third: He would have to search his existing CSS files for other already existing body backgrounds and alter them if needed.
When you are designing any site then you should keep this in your mind that your site may be visited either from pc or from mobile. So this is also necessary to develop a mobile site that fits best in the mobile phones.
<body bgcolor="#000215" /> changed the background color body { background: url('file-name.gif') Changed the background image
Don't worry, no matter how many times you say it you'll STILL get the dumb as fried **** re-re posters saying to use attributes like bgcolor that have no business even being on a website written after 1997 in the first damned place. See pretty much everyone other than you who responded to this thread, who to be frank have no business flapping their gums on the subject! As to OP's question, the site itself is filled with the typical decade or more out of date coding snafu's... kind of what one comes to expect from joomla or wordpress templates. The endless pointless DIV, tables and IMG doing UL+background-image's job on the list, mixing multiple clearing styles when it should need none, nonsensical use of heading tags, nine separate stylesheets when you don't even have media types (say hello to slow pageloads), etc, etc... and that's before we even talk the uselessly tiny fixed metric (px) fonts and fixed width layout. It's a laundry list of how not to build a website, and as I tell many people -- it's time to throw that away and start over from scratch; there's little if anything worth saving from that.
Yes, but there is still the probability that a sane person, with a similar problem, might come by and read this thread. Hope dies last