Re: [VE][108] New Error Message Suggestion&In-Reply-To=<104681344.20040603182716@saimaco.ru>&References=<104681344.20040603182716@saimaco.ru>

Hi,

Assuming you want to validate a page as HTML 4.01 Transitional -- or otherwise, one of the XHTML Standards -- try this, which is recommended for the latest standards:

The CSS (stylesheet - if you don't know what those are, get a tutorial 'cos you'll need it for the new standards) width attribute should do the trick - for instance:-

Either apply it to all instances of the <table> tag via table {width:?px;} (where ? is the pixel count--you could also use % of screen, or anything that you could formerly use within the original tag attribute, plus a bunch of newer CSS-only units);

Or use either a class attribute with several tags, to group various tables into a bunch and assign the CSS to that with .ClassNameHere {width:?px;};

Or simply give the individual table an id attribute and use that, i.e. #id_Here {width:?px;}

That should do the trick. Note that if you are completely new to CSS and you are just using this to do it "on the fly", the "." and "#", preceeding the class name and id, are indicators of the respective types of CSS identifiers, and must remain.

--- Marc Kirkwood

Received on Sunday, 6 June 2004 18:41:09 UTC