|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Image as the background |
Image as the background |
What is the proper code to set an image as the background of the post?
|
I would like to have this heaven with stars as the background of the post.
Added (2020-02-12, 7:28 PM) Attachments:
4792060.png
(131.3 Kb)
|
body {background:#292a2a;margin:0;padding:0;font-size:13px;font-family:Georgia, Arial,sans-serif;color:#FFF;"http://h4kings.ucoz.pl/2020/niebo_gwiazdy.png" bgproperties="fixed"} You're mixing HTML and CSS... of course it doesn't work. body {background:#292a2a;margin:0;padding:0;font-size:13px;font-family:Georgia, Arial,sans-serif;color:#FFF; This is CSS. This is HTML-like syntax (which makes no sense in this context). You want something like this: Code body {background: url('/2020/niebo_gwiazdy.png') #292a2a; background-attachment: fixed; margin:0;padding:0;font-size:13px;font-family:Georgia, Arial,sans-serif;color:#FFF;} https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ https://www.w3schools.com/ Please try to invest some time into learning the basics of HTML and CSS if you want to customize your site. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
Thanks for the lesson.
If I had mastered CSS and HTML I would not use ucoz Tell me just what part of CSS specifies new posts appearance? When I have changed this first code only the background of chat has changed. |
| |||
| |||