Changing the Background Colour of an Html Webpage
A Warm Welcome


 
This site is - 630 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
Gab

Gab the new social media system - A cross between Facebook and Twitter.

Testing Shoutbox
Shouting as: Guest
My Time & Weather

Click for Bournemouth, United Kingdom Forecast


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 : 1391
Kudos : 131
Mood : Very Busy
Birthday : 1st Nov

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.

_____________________________________

Back to top Go down
https://twitter.com/zandranna https://zandranna.blogspot.com/ https://gab.ai/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: