Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
colinwalton #1
DOCTYPE bug?
I am trying to centre a simple table on a page. But find in Safari on a Mac, it
refuses to centre on the window HEIGHT.
I have found the way to make it work is to remove this paragraph at the top of
the HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I have tried setting a new document to all the other doctypes but they all
have the same problem. Can I safely loose the doctype altogether as I see a lot
of other websites have done?
What is the alternative way to centre tables on the height of the window?
C
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="800" height="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="800" border="0"
align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td bgcolor="#99FF66"><div align="center">aldgsd;fsd;kf sd; </div></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
colinwalton Guest
-
cfcache, generated comment, & DOCTYPE
Well, I was hoping this was going to be fixed in CF7 but it is not. I'm pretty sure there is no way around it, but I figured I'd ask here. When... -
Doctype and Port 80 problems
Hi Have a site up and running through Contribute and hoped someone can help with a couple of problems: The index page is adding :80/ to the... -
PHP Code above DW Template doctype?
I've built a website in a DW Template; the pages are .php. We added a PHP script, a bit of code that needs to be at the top of the pages (before... -
is there a DOCTYPE that validates EMBED tag?
I have Studio MX 2004. Flash requires EMBED tag but Dreamweaver says that's an error. Does any DOCTYPE allow the EMBED tag? In Flash Pro, I ask... -
DOCTYPE
I have been researching css-p and following example tutorials on PVII. Now... if I use the entire DOCTYPE declaration that PVII suggest, I get... -
Murray *ACE* #2
Re: DOCTYPE bug?
[url]http://www.apptools.com/examples/tableheight.php[/url]
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"colinwalton" <webforumsuser@macromedia.com> wrote in message
news:elecsk$703$1@forums.macromedia.com...>I am trying to centre a simple table on a page. But find in Safari on a
>Mac, it
> refuses to centre on the window HEIGHT.
>
> I have found the way to make it work is to remove this paragraph at the
> top of
> the HTML:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> I have tried setting a new document to all the other doctypes but they all
> have the same problem. Can I safely loose the doctype altogether as I see
> a lot
> of other websites have done?
>
> What is the alternative way to centre tables on the height of the window?
>
> C
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> <title>Untitled Document</title>
> </head>
> <body>
> <table width="800" height="100%" border="0" align="center" cellpadding="0"
> cellspacing="0">
> <tr>
> <td align="center" valign="middle"><table width="800" border="0"
> align="center" cellpadding="0" cellspacing="0">
> <tr>
> <td> </td>
> <td> </td>
> <td> </td>
> </tr>
> <tr>
> <td> </td>
> <td bgcolor="#99FF66"><div align="center">aldgsd;fsd;kf sd;
> </div></td>
> <td> </td>
> </tr>
> <tr>
> <td> </td>
> <td> </td>
> <td> </td>
> </tr>
> </table></td>
> </tr>
> </table>
> </body>
> </html>
>
Murray *ACE* Guest



Reply With Quote

