Jump to content

Recommended Posts

Hello.

I am new with css and i would apriciate help.

how can i make body of page to be placed like this(yellow representing where body of page shoud be) and white representing some website background. so body have one background(where yellow colour is) and website another background(where white colour is)

post-179318-0-66422600-1437487701_thumb.jpg

Link to comment
https://forums.phpfreaks.com/topic/297403-body-of-page/
Share on other sites

@NetKongen - Are you referring to the <body> tag? If so, whatever you set the background to will dictate what the overall website will look like in the browser window. So if the <body> tag is set to a white background, the entire page will be white. Note that most browsers default the <body> background color to white...which is probably why Ch0cu3r chose to use green.

 

The content that you put inside of the <body> tag will then be layered over top of whatever color or background that you used for the <body> tag. Note that all those <div> tags shown in Ch0cu3r's example would be added inside of the <body> tag.

Link to comment
https://forums.phpfreaks.com/topic/297403-body-of-page/#findComment-1517482
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.