Forum Moderators: not2easy
Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post.
mastermind085 [webmasterworld.com] wrote at 11:29 on Feb. 10, 2003 in message #1 [webmasterworld.com]
XHTML Basic 1.0 which does not support the style element
The style element is supported in XHTML 1.0. See the elementīs definition [w3.org].
To center a table set its right and left margin to auto.
Andreas
To use the style element you need to use the Style element [w3.org] module.
To use the style element you need to use the Style attribute [w3.org] module.
Those links explain about centering in CSS [w3.org]
[bluerobot.com...]
[bluerobot.com...]
HTH Andreas
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//Extender//DTD XHTML-Extensions 1.0//EN"
"C:/..../extend.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Camera Control</title>
<style type="text/css">
body {
margin:50px 0px; padding:0px;
text-align:center;
}
#Content {
width:500px;
margin:0px auto;
text-align:left;
padding:15px;
border:1px dashed #333;
background-color:#eee;
}
</style>
</head>
<body>
<h1>
Canon UPnP Basic Device</h1>
<p />
<p />
<table>
<tr> <th>
<a href="/home/http/VCR.html">
<img src="home/vasanth/jpeg/VcrButton.jpg">
</img>
</a>
</th>
<th>
<a href="/cgi-bin/Camera/ViewThumb?index=1">
<img src="home/vasanth/jpeg/CardButton.jpg">
</img>
</a>
</th></tr>
</table>
<br />
<br />
<br />
<h2>
CAMERA Control</h2>
<br />
<br />
<h3>
Auto Focus</h3>
<br />
<table>
<tr> <th>
<a href="/cgi-bin/Camera/AutoFocusLess">
<img src="home/vasanth/jpeg/Prev.jpg">
</img>
</a>
</th>
<th>
<a href="/cgi-bin/Camera/AutoFocusMore">
<img src="home/vasanth/jpeg/Next.jpg">
</img>
</a>
</th>
</tr>
</table>
<br />
<br />
<table>
<tr> <th>
<a href="/cgi-bin/Camera/ManualFocus">
<img src="home/vasanth/jpeg/Manual.jpg">
</img>
</a>
</th>
</tr> </table>
<br />
<br />
<br />
<table>
<tr> <th>
<a href="/cgi-bin/Camera/AutoRewind">
<img src="home/vasanth/jpeg/Rewind.jpg">
</img>
</a>
</th>
<th>
<a href="/cgi-bin/Camera/AutoWait">
<img src="home/vasanth/jpeg/W.jpg">
</img>
</a>
</th>
<th>
<a href="/cgi-bin/Camera/AutoTune">
<img src="home/vasanth/jpeg/T.jpg">
</img>
</a>
</th>
<th>
<a href="/cgi-bin/Camera/AutoFFwd">
<img src="home/vasanth/jpeg/FFwd.jpg">
</img>
</a>
</th>
</tr></table>
</body>
</html>
-----------------------------------------------------------
extend.dtd
<!ENTITY % style.element "INCLUDE" >
<![%style.element;[
<!ENTITY % style.content "( #PCDATA )" >
<!ENTITY % style.qname "style" >
<!ELEMENT %style.qname; %style.content; >
<!-- end of style.element -->]]>
<!ENTITY % style.attlist "INCLUDE" >
<![%style.attlist;[
<!ATTLIST %style.qname;
%XHTML.xmlns.attrib;
%title.attrib;
%I18n.attrib;
type %ContentType.datatype; #REQUIRED
media %MediaDesc.datatype; #IMPLIED
xml:space ( preserve ) #FIXED 'preserve'
>
<!-- end of style.attlist -->]]>
<!ENTITY % style.attrib
"style CDATA #IMPLIED"
>
<!ENTITY % Core.extra.attrib
"%style.attrib;"
>
<!ENTITY % xhtml-basic10.dtd PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
[w3.org...] %xhtml-basic10.dtd;
-----------------------------------------------------------
please help me out at the earliest.
thanx
Vasant