- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi
I've inherited some code and am not familiar with css. I need the main bit in my document to be font size 12 and am not sure how to do it, can someone please advise.
I need it to be that size from the bit that says 'Your advert listed here' ...
my stylesheet:
/* CSS Document */
html, body {
/*font-family: Arial, Helvetica, sans-serif;*/
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
/*font-size: 12px;*/
background-color: #F5F8FA;
margin: 0px;
padding: 10px 0px 0px;
color: #003366;
}
p,td {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color:#003366;
}
/* the white background colour of the main table */
.tablebg {
background-color: #FFFFFF;
}
/* th is for the table header */
th {
background-color:#B5C4D2;
color:#2F567F;
font-size:14px;
}
/* the background colour of the listings table */
.listingsTable {
background-color:#F5F8FA;
}
/* The various border styles used throughout the site */
.leftborder {
border-left:1px solid #B5C4D2;
}
.rightBorder {
border-right:1px solid #B5C4D2;
}
.bottomBorder {
border-bottom:1px solid #B5C4D2;
}
.darkTopBorder {
border-top:1px solid #003366;
}
.darkBottomBorder {
border-bottom:1px solid #003366;
}
/* The Style for the main content cell (applies the background image and a 10px padding) */
.mainContent {
padding:10px;
background-image: url(../images/bodybg.gif);
background-repeat: no-repeat;
background-position: center bottom;
}
/* The colours of the main links */
a{
color: #003366;
text-decoration: none;
}
a:visited {
color: #003366;
text-decoration: none;
}
a:hover {
color: #003366;
text-decoration: underline;
}
/* The background colour of the property form */
.propertyform-bg {
background-color: #C3CFDA;
}
/* appearance for Heading 1 */
H1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
color: #295383;
}
/* appearance for Heading 2 */
H2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #255180;
}
/* appearance for Heading 3 */
H3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #31587F;
}
/* Style used to display the shadow on the right hand side of the site */
.rightShadow {
background-image: url(../images/shadow-right
background-repeat: repeat-y;
background-position: left;
}
/* th is for the table header */
smallfont {
background-color:#B5C4D2;
color:#2F567F;
font-size:8px;
}
==========================
my html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Private Sales For London - Commission Free</title>
<META name="keywords" content="estate agent,estate agency,estate agents,london estate agent,london estate agents,surrey estate agents,foxtons,foxton,lond
<META name="description" content="Private property sales, rentals and flatshares for London. FREE adverts, no commission.">
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="../stylesheets/maste
<script language="javascript" src="../includes/misc.js">
</HEAD>
<script language="javascript" src="includes/misc.js"></s
<body>
<form name="frmMain" method="post" action="advertise.aspx?msc
<input type="hidden" name="__VIEWSTATE" value="dDwtMzU3MjgxOTQyO3Q
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<tr>
<td> </td>
<td width="756">
<table class="tablebg" cellSpacing="0" cellPadding="0" width="756" border="0">
<TBODY>
<tr>
<td><IMG height="67" src="images/header.jpg" width="756"></td>
</tr>
<tr>
<td class="leftBorder rightBorder darkBottomBorder">
<!------------------------
<!-- The table which contains the menu items -->
<!------------------------
<P align="center"><!--horizon
<script language="javascript">
<!--
var sMenu = "";
var qs = new Querystring();
var sShopperID = qs.get("mscssid","");
var sShopperNVP = "";
sShopperNVP = '?mscssid=' + sShopperID;
sMenu = sMenu + '<table width="754" height="30" border="0" cellpadding="0" cellspacing="0" ID="Table1">';
sMenu = sMenu + '<TR>';
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../default.aspx' + sShopperNVP + '" >Home</a></td>';
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../about.aspx' + sShopperNVP + '">About Us</a></td>';
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../faq.aspx' + sShopperNVP + '">FAQ</a></td>';
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../areainfo.aspx' + sShopperNVP + '">Area Info</a></td>';
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../propertysearch.as
sMenu = sMenu + '<TD width="79" VALIGN="center" align="middle"><A HREF="../advertise.aspx' +sShopperNVP + '">Advertise</a></td>';
sMenu = sMenu + '<TD width="122" VALIGN="center" align="middle"><A HREF="../links.aspx' + sShopperNVP + '">Links Directory</a></td>';
sMenu = sMenu + '</tr></table>';
document.write(sMenu);
//-->
</script>
</P>
<!----------------=-------
<!-- End menuItem table -->
<!------------------------
</tr>
<tr>
<td class="leftBorder rightBorder mainContent">
<!------------------------
<!-- MAIN CONTENT AREA STARTS HERE -->
<!-- Enter any content below -->
<!------------------------
<table cellSpacing="0" cellPadding="0" width="700" align="center" border="0">
<TBODY>
<tr>
<td vAlign="top" width="171">
<H1> <IMG id="IMG1" height="131" src="images/image-sell.jpg
<H1> <IMG height="131" src="images/image-let.jpg"
<H1> <IMG height="131" src="images/image-ad-flat-
</H1>
</td>
<td vAlign="top" width="529">
<P>
<P align="center"><FONT size="4">Sell or Let Your Home Privately and Reach
Millions!</FONT>
</P>
<DIV>
<TABLE id="Table1" cellSpacing="2" cellPadding="0" border="0">
<TBODY>
<TR>
<TD colSpan="2" rowSpan="1">
<P align="center"><STRONG>So what does our FREE service include?</STRONG></P>
<P align="left"><STRONG>If you're selling or letting a property:<BR>
<BR>
</STRONG>
</P>
</TD>
</TR>
<TR>
<TD align="right" width="42">
<P><IMG src="images/bullet.gif"></
</TD>
<TD>
<P><STRONG><FONT color="#000099">Your advert listed here immediately. We will
also promote sales and rentals on the following great sites at no cost:</FONT></STRONG></P>
</TD>
</TR>
<TR>
<TD align="right" width="42">
<P> </P>
</TD>
<TD>
<UL>
<LI>
<STRONG><FONT color="#000099">propertyfi
<LI>
<STRONG><FONT color="#000099">timesonlin
<LI>
<STRONG><FONT color="#000099">yahoo</FON
<LI>
<STRONG><FONT color="#000099">wanadoo</F
<LI>
<STRONG><FONT color="#000099">channel4.c
<LI>
<STRONG><FONT color="#000099">upmystreet
<LI>
<STRONG><FONT color="#000099">uknetguide
</TD>
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD><STRONG><FONT color="#000099"></FONT></S
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"></
<TD>
<P><STRONG><FONT color="#000099">Your own full web page with your property details</FONT></STRONG></P
</TD>
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD>
<P> </P>
</TD>
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"> </FONT>
</STRONG>
</TD>
<TD><STRONG><FONT color="#000099">Display of up to six digital photographs of your
property. You will need to email these to us after your advert has
been created, details of how to do this will be in your confirmation email.</FONT></STRONG></TD
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD><STRONG><FONT color="#000099"></FONT></S
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"> </FONT>
</STRONG>
</TD>
<TD><STRONG><FONT color="#000099">Adverts are displayed for 6 months. These can be
renewed, edited or deleted via our advertisment maintenance facility.</FONT></STRONG><
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD><STRONG><FONT color="#000099"></FONT></S
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"> </FONT>
</STRONG>
</TD>
<TD><STRONG><FONT color="#000099">Free guide - </FONT></STRONG><A href="sellingprivately.pdf
to sell your property privately</FONT></STRONG><
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD><STRONG><FONT color="#000099"></FONT></S
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"></
<TD>
<P><STRONG><FONT color="#000099">The ability to sell in conjunction with an estate
agent (you will need to check your contract) For further information </FONT>
</STRONG><A href="http://www.oft.gov.u
<STRONG><FONT color="#000099">click here</FONT></STRONG></A><S
to see the 'quick guide to buying or selling your home' published by the Office
of Fair Trading</A>. </FONT></STRONG>
</P>
</TD>
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"></FONT></S
<TD><STRONG>
<P>
</STRONG> </P></TD>
</TR>
<TR>
<TD align="right" width="42"><STRONG><FONT color="#000099"><IMG src="images/bullet.gif"></
<TD><STRONG><FONT color="#000099">A completely free service (limited period only)</FONT></STRONG></TD>
</TR>
<TR>
<TD align="right" width="42"></TD>
<TD></TD>
</TR>
<TR>
<TD width="300" colSpan="2">
<P align="left"><STRONG><BR>
If you're advertising a flatshare:<BR>
<BR>
</P>
</STRONG>
</TD>
</TR>
<TR>
<TD align="right" width="42"><IMG src="images/bullet.gif"></
<TD><STRONG><FONT color="#000099">Your advert listed here immediately.</FONT></STRON
</TR>
<TR>
<TD align="right" width="42"></TD>
<TD></TD>
</TR>
<TR>
<TD align="right" width="42"><IMG src="images/bullet.gif"></
<TD>
<P><STRONG><FONT color="#000099"> Your own full web page with your flatshare details</FONT></STRONG></P
</TD>
</TR>
<TR>
<TD align="right" width="42"></TD>
<TD></TD>
</TR>
<TR>
<TD align="right" width="42"><IMG src="images/bullet.gif"></
<TD><STRONG><FONT color="#000099">Adverts are displayed for 3 weeks. These can be
renewed, edited or deleted via our advertisment maintenance facility.</FONT></STRONG><
</TR>
<TR>
<TD width="42" align="right"><STRONG><FON
</td>
</tr>
<TR>
<TD align="right" width="42"></TD>
<TD></TD>
</TR>
<TR>
<TD align="right" width="42"><IMG src="images/bullet.gif"></
<TD><STRONG><FONT color="#000099">Free adverts</FONT></STRONG></T
</TR>
</TBODY></table>
</DIV> <FONT color="#cc0000"><STRONG>
<BR>
Getting Started</STRONG>
<BR>
</FONT>
<a id="hlPlaceAd1" href="shopper_lookup.aspx?
<a id="hlPlaceAd2" href="shopper_lookup.aspx?
<a id="hlPlaceAd3" href="shopper_lookup.aspx?
</tr>
<TR>
</td>
</tr>
</TBODY></table>
</form>
</FONT>
<p> </p>
<p>
<!------------------------
<!-- MAIN CONTENT AREA ENDS HERE -->
<!------------------------
</TD></TR>
<tr>
<td class="leftBorder rightBorder darkTopBorder darkBottomBorder" align="center" height="30"><A id="link1" href="../terms.aspx" name="link4">Terms
& Conditions | Disclaimer</A></td>
</tr>
<tr>
</tr> </TBODY></TABLE></TD>
<td class="rightShadow" vAlign="top" align="left"><IMG height="10" src="images/shadow-toprigh
</TR>
<tr>
<td> </td>
<td vAlign="top"><IMG height="4" src="images/shadow-bottom.
<td vAlign="top" align="left"><IMG height="4" src="images/shadow-bottomr
</tr>
</TBODY></TABLE>
</body>
</HTML>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: klykkenPosted on 2005-08-23 at 07:57:13ID: 14734151
p,td {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color:#003366;
}
Above, change the 'font-size: 12px;' to 14px or whichever font-size you think is best :)