Changing the Background Colour of an Html Webpage
A Warm Welcome


 
This site is - 321 Days Old
A Warm Welcome to Zan's Zone Guest
Please feel free to come and go as you please.
Please tell me if you see any mistakes in the skin so that I can fix it.
Feel free to add a link to your own board, blog or website in your signature.
The size of images added to signatures are restricted to avoid long scrolling passed them.
If you have made a post on your own board and you would like to post a link to it, Post it Here
This Week’s Video
Whatcha Up To?

My Time & Weather

Click for Bournemouth, United Kingdom Forecast

Worthwhile Charities

Share | 
 

 Changing the Background Colour of an Html Webpage

View previous topic View next topic Go down 
AuthorMessage
Zandranna
Owner
Owner
avatar

Name : Sandy
Location : Dorset
UK
Posts : 1232
Kudos : 103
Mood : Bunged up with a cold
Birthday : 1st Nov
Scorpio

PostSubject: Changing the Background Colour of an Html Webpage   23/05/17, 10:47 am

When you create an html page it will automatically have the same colour as the background of your content background.  You might want to change this colour to maybe match the colour of your forums or such.  If so then you can do this with the codes below.

CSS

Change the color and border to suit yourself.

Code:
.webcontent {background: #FFF; padding: 20px; overflow: hidden; border: 5px double #A16F94; margin-bottom: 10px; font-size: 14px;}

Html

In every html webpage you make you will need to add at the top of the page the class....

Code:
<div class="webcontent">

and then at the bottom of each page add a........

Code:
</div>

All text and images will need to go between those two bits of html coding.

_____________________________________

Victoria Woods wrote:
The only way there would be an uprising in England would be if they banned car boot sales and caravanning

Back to top Go down
View user profile http://www.zandranna.com/u1wall https://twitter.com/zandranna
 
Changing the Background Colour of an Html Webpage
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Zan's Zone :: How Can I Help? :: Help for Board Owners :: How to Turn a Message Board into a 3 in 1 Website-
Jump to: