Log in

View Full Version : can anyone simplify this



bonesten
10-16-2006, 02:23 PM
can someone simplify this please oh and by the way spacer is just a image of a colour so that i can have it on their
this is the head for the head section

<style>
A.table
{
font-family:arial,geneva;
font-size:10px;
color:#505050
}
.title
{
font-family:Tahoma, Arial, sans-serif;
font-size: 10px;
color:#313031;
text-decoration:none;
font-weight:bold;
text-transform:uppercase
}
</style>
and this is the body section

<TABLE WIDTH="200" CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD WIDTH=1 BGCOLOR="#aaaaaa" COLSPAN=3><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD>
</TR>
<TR>
<TD WIDTH=1 BGCOLOR="#aaaaaa" ROWSPAN=3><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD>
<TD HEIGHT=18 BGCOLOR="#aaaaaa"><SPAN CLASS="title">&nbsp;<a href="link.htm" class=table>name of link</a></SPAN></TD>
<TD WIDTH=1 BGCOLOR="#aaaaaa" ROWSPAN=3><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD>
</TR>
<TR>
<TD BGCOLOR="#aaaaaa"><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD>
</TR>
<TR>
<TD HEIGHT=60>
<TABLE width=100% CELLPADDING=4 CELLSPACING=0 BORDER=0>
<TR>
<TD bgcolor=#838DA7>
<a href="Awebpage.htm"><img src="Apicture.gif" border=0></a><br>
<font color="#ffffff" size="2" face="Arial, Helvetica, sans-serif">
some wrighting
<TD/>

</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD WIDTH=1 BGCOLOR="#aaaaaa" COLSPAN=3><IMG SRC="spacer.gif" WIDTH=1 HEIGHT=1></TD>
</TR>
</TABLE>

ddadmin
10-16-2006, 08:25 PM
Please be more specific- simply what and how? What are you trying to accomplish? Also, please post in the correct forum- this is probably best suited in the HTML forum. Moving thread.

the-disturbed
10-16-2006, 10:10 PM
i assume you're trying to simplifies the CSS portion of the code? if so:

anything that starts with font for example can be reduced to one line (IE: font:Tahoma, Arial, sans-serif, 10px, bold; )

and for the html code, i have very little if not any CSS code in the html file on my webpage, purley text, tables and images, with a nice little line at the top:
<link rel="stylesheet" type="text/css" href="../styles/style01.css"/>

without you being more specific i can't give you anything else