richard wrote:
> Define the table width as 800 pixels.
> In css you can show table {width:800px}
Correct CSS syntax
> or <table width="800px">.
Wrong HTML syntax, HTML attribute's do not have units except '%'
Correct deprecated method: <table width="800">
> no dot or # before table in css.
True when specifying an type selector:
table { /* styles TABLE element */ }
You could have a class or id table, although probably not a very good
idea...
Class selector:
..table {/* styles elements of class 'table' */}
e.g., <div class="table">... or <ul class="table">...
ID selectors:
#table {/* styles elements of id 'table' */}
e.g., <div id="table">... or <ul id="table">...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com