I created a website in PSD and it optimized it for the web and laid it out in tables. I'm trying to make this page look seamless so I want to set the images as backgrounds within the table so I can overlay them with highlightable text so search engines will pick it up. I can't seem to figure it out, so any help or nudge in the right direction would be great :-D.
Thanks in Advance!
Peter
What's the HTML code to have a background within a table/cell?myspace pictures
%26lt;html%26gt;
%26lt;body%26gt;
%26lt;h4%26gt;A background color:%26lt;/h4%26gt;
%26lt;table border="1"
bgcolor="red"%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;First%26lt;/td%26gt;
%26lt;td%26gt;Row%26lt;/td%26gt;
%26lt;/tr%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;Second%26lt;/td%26gt;
%26lt;td%26gt;Row%26lt;/td%26gt;
%26lt;/tr%26gt;
%26lt;/table%26gt;
%26lt;h4%26gt;A background image:%26lt;/h4%26gt;
%26lt;table border="1"
background="bgdesert.jpg"%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;First%26lt;/td%26gt;
%26lt;td%26gt;Row%26lt;/td%26gt;
%26lt;/tr%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;Second%26lt;/td%26gt;
%26lt;td%26gt;Row%26lt;/td%26gt;
%26lt;/tr%26gt;
%26lt;/table%26gt;
%26lt;/body%26gt;
%26lt;/html%26gt;
What's the HTML code to have a background within a table/cell?scroll boxes for myspace myspace.com
the code is:
%26lt;table bgcolor="the color name or color hexadecimal code"%26gt;
example : %26lt;table bgcolor="red"%26gt; or %26lt;table bgcolor="#ffff00"%26gt;
you may apply that same syntax for td or tr in table structure.
hope that helps !
hope this solves ur problem
%26lt;table background="image1.gif"%26gt;
%26lt;tr%26gt;
%26lt;td background="image2.gif"%26gt;%26lt;/td%26gt;
%26lt;td background="image3.gif"%26gt;%26lt;/td%26gt;
%26lt;/tr%26gt;
%26lt;/table%26lt;
No comments:
Post a Comment