Clear tables in HTML.?

I'm remodeling my MySpace page. This is my page so far: myspace.com/pacman8604. <div class="main"> <table style="width: 800px; height: 800px; cellpadding: 0px; cellspacing: 0px; background-color: FFFFFF;"> <tr><td valign="top"> INSERT CONTENT AND ADDITIONAL DIVS </td></tr></table></div> How can I change this so my tables are clear so I can add a background picture throughout the whole page? You can e-mail me at PACMAN8604@yahoo.com or write me on my MySpace page. That is if you want to ask me more questions. I'm sorta new at HTML so don't expect me to know a lot of HTML words.

Public Comments

  1. i'm not familiar with myspace but in pure html it's <BODY background="aaa.jpg">
  2. When you say clear, I hope you mean slightly-transparent-ish? There's three codes for this; I'm not sure how MySpace code works, but if the CSS works normally, try this: filter: alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; Now, let me explain. The first line of code is for transparency in IE, the second line for Mozilla Firefox, the third for Safari. They're weird like that, they can't agree on transparency. You can pick and choose which ones you need. For the number in filter: alpha(opacity=XX); use a percentage value, without the % sign. 100 is normal; 0 is likely absolutely transparent and therefore invisible. So, lower numbers = more transparency, savvy? For the other two, use decimal values from 0.0 to 1.0, with lower values = more transparency. I am assuming you're fairly good at CSS and should have no problem with this. ^^ Have fun!
  3. You can define this in style also. (e.g) <style type="text/css"> body{ background: url(images/bg.gif); background-color: #FFFFFF; } </style>
  4. try this, it's much simpler: <div class="main"> <table style="width: 800px; background: transparent; height: 800px; cellpadding: 0px; cellspacing: 0px; background-color: FFFFFF;"> <tr><td valign="top"> INSERT CONTENT AND ADDITIONAL DIVS </td></tr></table></div> <body background="yourPic.jpg"> the line above sets your bg picture in the body tag. notice i added something to the table style.
Powered by Yahoo! Answers