Month's top: Carnack with 100$
Want LAH to translate a manga for you?
Little Angels Hentai Forum Index
It's for you!
PLEASE LOG IN OR REGISTER TO BE ABLE TO SEE THE PICTURES AND ATTACHED FILES!
CSS Help: putting a background color OVER a background image

 
Compose reply Little Angels Hentai Forum Index » Help and test-post forum View previous thread
View next thread
DMCA
CSS Help: putting a background color OVER a background image
Author Message
otakuman
Warnings: Warning
Posts: 0

Post CSS Help: putting a background color OVER a background image Quote
Basically, I have a background image for my whole website, and on the comments page I wanted to do something different:
hxxp://www.asstr.org/~Otakuman/
What I was wanting to do was keep the background image on that page, but at points where I had comments from readers and my responses, I wanted just a solid block of color (or two).

I tried to mock it up in MS Paint (see below.)

I'm pretty much a HTML/CSS newbie, although I did manage to get most of the site looking the way I wanted it to look.

About all I can figure is I'll either need to somehow make the response sections more important or make them a layer somehow that overrides the whole site background setting, or I'll need to make a 1px by 1px image of the solid background color I want, and tile that just within the response boxes.

If there is a different solution, I'm all ears!


_________________
Click the image to see my stories:
Sat Sep 24, 2011 4:35 pm Profile PM WWW
rixius
Warnings: Warning
Posts: 0

Post Quote
I presume the Comments are their own div's.

If so and you can give thema class something like class="comment" then in the style.

Code:
.comment {
  background-color: #CCC;
}

The Solid color background for the div will be seen over the element in it's background.[/code]

Mon Sep 26, 2011 11:26 pm Profile PM
otakuman
Warnings: Warning
Posts: 0

Post Quote
Thanks, I thought I tried that before, but it didn't work.

I managed to get it going this time.


_________________
Click the image to see my stories:
Tue Sep 27, 2011 6:57 pm Profile PM WWW
Display posts from previous:    
Options Quick Reply
Show Smilies

 
Compose reply Quick reply Little Angels Hentai Forum Index » Help and test-post forum All times are GMT
Page 1 of 1

 
Jump to: 
You can post new threads in this forum
You can reply to threads in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Do not upload or mention any illegal content. Violators will be reported to the authorities. You are responsible for your uploads and actions.
If it is illegal for you to view adult lolikon material in your current location, leave this site immediately.
LAH is in compliance with DMCA.
LAH works best with JavaScript enabled. Enable it for a better experience. (´・ω・`)
Your browser is outdated and insecure! Please update your browser to fully enjoy LAH.