Changing backgroundcolor in POSTS
-
How do i permantly set a non-white backgruound in all my posts in my blog?
Eg. i want the background in each posts to be light greay, to get a sort of “frame” around my post.The blog I need help with is: (visible only to logged in users)
-
You can set a background to your posts using this style:
#content, #content input, #content textarea { background: lightgrey; padding: 10px; }Alternatively, you can get a frame around your posts using this style:
#content, #content input, #content textarea { border: 2px solid grey; padding: 10px; }Please try either of these styles and let me know if you need further help :-)
-
Hello again! YOUR CSS-code is good!
Have a look at hovinil.no.
BUT is it possible to get a frame for each post? and then a padding between the post will be? -
…and just frames in the “main-site” /front NYHETER.
(i will not have frames in the other sites….)ANDERS
-
-
At Our FrontPage there are 4-5 posts today.
I want to have a light grey color aorund each post, that will make a seperation of each post With e.g. white Space/padding between each post -
Please remove the earlier CSS and add this and let me know what you think :-)
.post { border: 5px solid #d3d3d3; padding: 10px } -
I know that i can change background-color in a post, e.g “lightgrey”. But how can a change it to be even lighter than “light-grey”?
Is there a colormap i can yse to pick a randomly color ?`ANDERS
-
You can Google and find something like: http://www.htmlportal.net/colors/shades-of-gray.php
- The topic ‘Changing backgroundcolor in POSTS’ is closed to new replies.