Changing the Background Colour of an Html Webpage

Also find Zan's Zone on

 
Affiliates


Affiliates at a Glance

(Replaces the Marquee)

Latest Tweet
Whatcha Doin’ Now
This Week’s Song
Facts

Shakespeare made up the name “Jessica” for his play Merchant of Venice.
Shakespeare probably based it on the biblical name ISCAH, which would have been spelled Jescha in his time.
Advertising Us & Our Websites

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 : 944
Kudos : 57
Mood : Happy
Birthday : 1st Nov
Scorpio Rat

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
View user profile https://twitter.com/zandranna http://pottyprofiles.forumotion.com http://www.zandranna.com/u1wall
 
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:  


The Best of Top 100s