Changing the Background Colour of an Html Webpage
A Very Warm Welcome.


 
Affiliates


Affiliates at a Glance

(Replaces the Marquee)

Latest Activity

Inaine daily personal tweeting. To follow my more serious tweets go to
@SandyYatesUK
Whatcha Up To?

This Week’s Video
Facts
Scientists say that a star goes super nova in our galaxy roughly every 26 years. They can see how many have gone super nova by the remnants left. They have counted the past super novas and have found there have been approximately 250 in the life of our galaxy. 26 years x 250 = 6,500 years - This is the approximate age of the Earth as written in the Bible.

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 : 1094
Kudos : 76
Mood : Content
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.

_____________________________________

Frank Ocean wrote:
Don't get my personality and my attitude confused.  My personality is me.
My attitude depends on you.

Back to top Go down
View user profile https://twitter.com/zandranna http://www.zandranna.com/u1wall Online
 
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:  

Advertising Us & Our Websites


The Best of Top 100s