Jump to content

wesleyholmes

Members
  • Posts

    2
  • Joined

  • Last visited

wesleyholmes's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thanks aspnetguy, I understand that now and it works. Thanks for that.
  2. Hello,I am new to CSS and ive been trying to define a table in an external CSS fileto be used on a HTML page. Here is the example of what im doing.HTML------<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Table Layout</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><link href="global.css" rel="stylesheet" type="text/css" /></head><body bgcolor="#FFFFFF" text="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table class="layout"> </table></body></html>CSS-----table.layout { width: 100px; border: 1px; cellspacing: 1px; cellpadding: 1px; summary: "This table is for layout purposes";}Im simply trying to define a table 100px in width and link it to the HTML page.When I view the page in a browser the table can be seen in the corner,very small. It doesn't use the dimensions made in the CSS file.Can anyone tell me if this can be done or am I doing this completely wrong?ThanksWes
×
×
  • Create New...