Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 Background Colors

Status
Not open for further replies.

JoeM6

Programmer
Aug 5, 2000
53
US
How do i get it so i can have 2 Backround colors. I almost want two frames, but my server puts banner ads on my pages and it looks messed up. For example, i want 20% of the page to to one color, and the other 80% to be another color. I think i am suppost to use a table, but i am not sure how to get what i want.

| 20% | 80% |
[sig]<p>JoeM6<br><a href=mailto:JPMJR11@aol.com>JPMJR11@aol.com</a><br><a href= Javascript Games</a><br> [/sig]
 
if they are frames, then your pages can have their own background color (assuming each frame are different HTMs) [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
I dont want to use frames, i know there is a way to do what i want, but i dont know how [sig]<p>JoeM6<br><a href=mailto:JPMJR11@aol.com>JPMJR11@aol.com</a><br><a href= Javascript Games</a><br> [/sig]
 
you could make the page have one border color

then start a table like so

<Table border=0 width=&quot;100%&quot;>

and I belive if you change the bgcolor of the cells themselves (<TD>) so with the bordless table, and 100% width, that may do it, and when you scroll down you should nto see the banner any longer , assuming it'll make the banner the first thing on the page. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top