Board index PBase HTML and Style Sheets need help , for changing background color thx

HTML and Style Sheets

need help , for changing background color thx

Customize your galleries.
leced
 
Posts: 5

need help , for changing background color thx

Post Wed Nov 17, 2004 3:21 pm


hi everybody !
I'm sure It will be easy but there are things I don't understand ....
I use the webved style sheet, the backgound color on my PC is gray , normal .....but when a friend or someone else goes on my webpage , they see the backround in black ????

how can I change the color of background in this sheetstyle (webved )
I edit the the gallery and change color background but no change ???
I don't know why poeple have a black background and I have the gray color...

thanks to help me....

Ced
http://www.pbase.com/leced

matiasasun
 
Posts: 1493

Re: need help , for changing background color thx

Post Wed Nov 17, 2004 5:18 pm


leced wrote:I edit the the gallery and change color background but no change ??? I don't know why people have a black background and I have the gray color...


That might happen for a lot of reasons. The truth is that when you`re using a CSS stylesheet the change of the background color will not have any effect. At least, it shouldn`t work. (Of course we´re talking about a stylesheet that has a background color parameter)

Some hints might be around the browser (not all work the same with the codes used in webdev), the version of this software, etc. If you colect that information post it here to find out more about them...

leced wrote:how can I change the color of background in this sheetstyle (webved )


Actually you need to create a different stylesheet with the same CSS codes included in webdev`s (The original webdev code can be found HERE). I mean Copy & Paste the codes into a new stylesheet. Don`t forget to add a note to thanks Mr. Pim Rijpsma`s work :wink:

After that you can modify the background of the page by playing with this section (a "section" is named "CSS Class")

Code: Select all
body{
        margin-bottom: 20px;
        margin-top: 0px;
        background: rgb(45, 45, 45);
}


As you can imagine the background section is what you`re looking for... You can use the color codes that are posted in HERE (in hexadecimal notation). As an example the correct code for black would be like this:

Code: Select all
        background: #000000;


There is more information about all this issues in the PBase Help Section, in Srijith`s Frecuently Asqued Question, and around the web (try google search).

Hope this helps you
Matias
Matias, Chile - http://www.pbase.com/matiasasun
Resources, HOWTOs, Samples and more! - http://pbasewiki.srijith.net/


Board index PBase HTML and Style Sheets need help , for changing background color thx

Who is online

Users browsing this forum: ClaudeBot and 0 guests