|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 3
|
|
| Author |
|
|
Advanced Member USA/London Joined: Jan 18, 2004 Post Count: 197 Status: Offline |
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 |
||
|
|
Advanced Member USA Joined: Nov 27, 2003 Post Count: 6285 Status: Offline |
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 |
||
|
|
Advanced Member USA/London Joined: Jan 18, 2004 Post Count: 197 Status: Offline |
Hi, Thank you much for answering my question! Sincerely, Joe |
||
|
|
|
|
|
Current timezone is GMT May 23, 2013 10:33:22 AM |