Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1368 times and has 2 replies Next Thread
Male FatTony1037
Advanced Member
Member's Avatar

USA/London
Joined: Jan 18, 2004
Post Count: 197
Status: Offline
Reply to this Post  Reply with Quote 
Getting a seperate background

Hi,

If I make my background= a pattern, and I make a CSS container to put text into, can I make that containers background into a seperate color (i.e. white), while still keeping the site background filled with the pattern?

I hope this makes sense. Thanks!

Sincerely,
Joe

[Feb 8, 2004 10:35:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male LSW
Advanced Member
Member's Avatar

USA
Joined: Nov 27, 2003
Post Count: 6285
Status: Offline
Reply to this Post  Reply with Quote 
Re: Getting a seperate background

Yea, that is just one way of doing it.

You can define a DIV class name or ID:

.white{ background-color: #ffffff; color: #000000;}

Now I assume you are using tables as you mention the Background= attribute.

So you can say:

<body background="pattern.gif">
<div class="white">

Now you have a white background for all the black text in your white class DIV.

But as I said this is only one way, you can nest tables one with a pattern and one with white. Or do it all with a series of CSS defined Classes and IDs and no tables at all.

LSW
[Feb 8, 2004 11:58:56 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male FatTony1037
Advanced Member
Member's Avatar

USA/London
Joined: Jan 18, 2004
Post Count: 197
Status: Offline
Reply to this Post  Reply with Quote 
Re: Getting a seperate background

Hi,

Thank you much for answering my question!

Sincerely,
Joe
[Feb 8, 2004 12:49:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread