This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > August 2006 > trying to take advantage of stylesheets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author trying to take advantage of stylesheets
laredotornado@zipmail.com

2006-08-19, 6:40 pm

Having seen the light of CSS, I am trying to eliminate TABLEs from my
HTML pages. However, with the following, how would you convert the
HTML TABLE code to to eliminate all TABLE elements but produce the same
output?

<table cellpadding="0" cellspacing="0"
border="0" width="100%">
<tr><td
style="background-image:url('images/red-footer.gif');"><img
src="images/red-footer.gif" alt=""></td></tr>
<tr><td style="height:20px;
background-color:#000000;">&nbsp;</td></tr>
</table>

Thanks, - Dave

Nije Nego

2006-08-19, 6:40 pm

On 19 Aug 2006 11:58:41 -0700, laredotornado@zipmail.com wrote:

> Having seen the light of CSS, I am trying to eliminate TABLEs from my
> HTML pages. However, with the following, how would you convert the
> HTML TABLE code to to eliminate all TABLE elements but produce the same
> output?
>
> <table cellpadding="0" cellspacing="0"
> border="0" width="100%">
> <tr><td
> style="background-image:url('images/red-footer.gif');"><img
> src="images/red-footer.gif" alt=""></td></tr>
> <tr><td style="height:20px;
> background-color:#000000;">&nbsp;</td></tr>
> </table>
>
> Thanks, - Dave


I would have learned css and than use it.

--
buy, bought, bye
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews