Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Timid&Friendly #1
padding doesn't work with document type xhtml
When my document is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"> The padding, margins and postioning in CSS work fine.
When i convert the document to <!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"> then some of my CSS specifications
are not adherd to. Padding, and margin spec is in some cases ignored? What is
going on??????
I've checked all the links to CSS files. Just by changing the DTD alone
creates the problem.
Please helpTextTextHTML 4.01 Transitiona
Timid&Friendly Guest
-
How to type visible text in an Acrobat document?
Hi there.I totally don't know how to use Acrobat and I'd like to know how to fill up an Acrobat document. Whenever I try to type text in the blank... -
New default document type with parameters
Hi, I'm interested in knowing if I can create a template for a new default document type that contains parameters. The value for these... -
Return type for Xml Document
Hi guys, I have a cfc method that returns an xml document. Does any body know what the return type should be. I've struct and array and can't get... -
Database Connection PHP Document Type - PLEASE Help
Hi there, I have been trying at this for ages. Searching forums, googling with no success. I want to simply create a database link. Unfortunatly... -
document type extension preference
Howdy, I want to change my default extension to .html. In DW4 it was easy - in MX I've got to change the preference in an xml document. Is that... -
Murray *TMM* #2
Re: padding doesn't work with document type xhtml
> When my document is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
This is a valid but not complete doctype. Pages with this will render in> Transitional//EN"> The padding, margins and postioning in CSS work fine.
quirks mode. If you want HTML4.01 Transitional rendering you need to use a
complete instance of this doctype -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Having an incomplete doctype is functionally equivalent to having no doctype
at all.
As to your problem, I would need to see the page to tell you why it's not
working - can you post a link?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Timid&Friendly" <webforumsuser@macromedia.com> wrote in message
news:dhvu8a$d8p$1@forums.macromedia.com...> When my document is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Transitional//EN"> The padding, margins and postioning in CSS work fine.
>
> When i convert the document to <!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"> then some of my CSS
> specifications
> are not adherd to. Padding, and margin spec is in some cases ignored? What
> is
> going on??????
>
> I've checked all the links to CSS files. Just by changing the DTD alone
> creates the problem.
> Please helpTextTextHTML 4.01 Transitiona
>
Murray *TMM* Guest
-
Timid&Friendly #3
Re: padding doesn't work with document type xhtml
I think you'll find that the HTML 4 DTD is correct, but pls check. I just didn't write it completely cause odf space.
Here the link. [url]http://www.pointdesign.info/elsknowles/css/blue-layout.css[/url]
Timid&Friendly Guest
-
Murray *TMM* #4
Re: padding doesn't work with document type xhtml
It is valid but not complete. As a result, browsers will render that page
in quirks mode. That's my point. It doesn't trigger the desired doctype
switching.
See the recommendations here -
[url]http://www.communitymx.com/content/article.cfm?page=2&cid=E2F258C46D285FEE[/url]
If you will please post a link to the page where this is happening I may be
able to see it and suggest a cause.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Timid&Friendly" <webforumsuser@macromedia.com> wrote in message
news:di0f8p$a2s$1@forums.macromedia.com...>I think you'll find that the HTML 4 DTD is correct, but pls check. I just
>didn't write it completely cause odf space.
>
> Here the link. [url]http://www.pointdesign.info/elsknowles/css/blue-layout.css[/url]
Murray *TMM* Guest
-
Point-online.org #5
Re: padding doesn't work with document type xhtml
You are 100% correct. I applied the extra DTD spec to my document and the same
happened as when i used the xhtml DTD!!!!
My God what is wrong with my CSS Then? !!!???
It seems all my relative element simply ignore any margin, padding or
postioning attributes !!!!!!!?????? Very strange?
HELP?:confused;
Point-online.org Guest
-
Murray *TMM* #6
Re: padding doesn't work with document type xhtml
Link me to your page, please.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Point-online.org" <webforumsuser@macromedia.com> wrote in message
news:di0taa$33s$1@forums.macromedia.com...> You are 100% correct. I applied the extra DTD spec to my document and the
> same
> happened as when i used the xhtml DTD!!!!
>
> My God what is wrong with my CSS Then? !!!???
>
> It seems all my relative element simply ignore any margin, padding or
> postioning attributes !!!!!!!?????? Very strange?
>
> HELP?:confused;
>
Murray *TMM* Guest
-
Point-online.org #7
Re: padding doesn't work with document type xhtml
I Got it nearly sorted!!!!
It was that i had forgotten to include the unit of measurement to the
attributes In my style sheet. I.E. px for pixels.
Now all i have to do is solve why i see this "equals" "=" symbol in top left
hand corner ? I can't see it in the code of either style sheet or htm doc????
Any suggestions anyone?:D
Point-online.org Guest
-
Point-online.org #8
Re: padding doesn't work with document type xhtml
HOW DO I LINK U NOT DONE IT BEFORE??
Point-online.org Guest
-
Murray *TMM* #9
Re: padding doesn't work with document type xhtml
[url]http://www.example.com/whatever.html[/url]
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Point-online.org" <webforumsuser@macromedia.com> wrote in message
news:di0vf3$6jm$1@forums.macromedia.com...> HOW DO I LINK U NOT DONE IT BEFORE??
Murray *TMM* Guest
-
Point-online.org #10
Re: padding doesn't work with document type xhtml
Hi Murry,
Your posted link on macromedia site doesn't work? What is
[url]http://www.example.com/whatever.html[/url] ??? What do you mean?
I don't know how to link you to my page?
Apart from this i understand you perfectly
Point-online.org Guest
-
Murray *TMM* #11
Re: padding doesn't work with document type xhtml
Reply to this message.
In your reply, use your keyboard to enter the letters "h" then "t" then "t"
then "p" followed by colon slash slash. Now enter the path to the file
where you have uploaded it, e.g.,
[url]http://www.example.com/whatever.html[/url]
(assuming your domain is 'example.com' and your file is in the root of that
domain, and is named 'whatever.html')
Get it?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Point-online.org" <webforumsuser@macromedia.com> wrote in message
news:di1fah$vu$1@forums.macromedia.com...> Hi Murry,
>
> Your posted link on macromedia site doesn't work? What is
> [url]http://www.example.com/whatever.html[/url] ??? What do you mean?
>
> I don't know how to link you to my page?
>
> Apart from this i understand you perfectly
>
Murray *TMM* Guest
-
Timid&Friendly #12
Re: padding doesn't work with document type xhtml
Here the link. [url]http://www.pointdesign.info/elsknowles/htm/b-Gal-nat1.htm[/url]
But i solved everything now thanx. The was already on the forum??? Why did you
want it again??
The problem was that when you define a DTD then the browsers become more
strict. I needed to use units of measurement to all selector value attributes.
I'd missed a couple. That's all!!!! But your first comment pointed me in the
right direction. Thanx again.
;)
Timid&Friendly Guest



Reply With Quote

