Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 09-06-2007, 12:53 AM XHTML and CSS
Average Talker

Posts: 16
Trades: 0
I use dreamweaver, but I use code view, not the other view.
Dreamweaver has a thing it puts into all html pages. It defines the document as XHTML 1.0 Trasitional. I kept that definition and used css absolute positioning in my page. It didn't work. Then I removed the XHTML definition, it worked fine. Why does this happen? Have w3c made things really tight with XHTML?
smart-reality is offline
Reply With Quote
View Public Profile Visit smart-reality's homepage!
 
 
Register now for full access!
Old 09-06-2007, 04:06 PM Re: XHTML and CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
No. I use XHTML STRICT and CSS and there are no problems with the doctypes and absolute positioning. The problem lies in DW's insistence of putting position:absolute on EVERYTHING, which is bad coding and not the best way to layout a site.

Use the normal document flow and learn to use floats and you'll have much more success.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-09-2007, 09:32 AM Re: XHTML and CSS
danfinney's Avatar
Average Talker

Posts: 22
Name: Dan Finney
Trades: 0
When creating a new page in Dreamweaver, in the New Document box you will see Category:Basic Page | Basic Page: HTML

The third column is the Preview panel. At the bottom of that Panel you will see a pull down menu for "Document Type (DTD)." You can use that pull down menu to select from HTML 4 (strict or transitional), XHTML (strict, transitional, 1.1, or Mobile).

It is a good idea to know the difference between the Document Types, you can research this in the Dreamweaver help file and on sites like W3C (which might be a little daunting) or on w3schools.com.

You should not have the problem that Ladyn is referring to about the positioning. You are hand coding and this is only an issue if you are relying on the Dreamweaver WYSIWYG features. Dreamweaver can be a great tool for hand-coders but you do have to suffer the slings and arrows of the coding purists that think it is only a WYSIWYG editor.
__________________
d a n f i n n e y

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
danfinney is offline
Reply With Quote
View Public Profile Visit danfinney's homepage!
 
Old 09-09-2007, 11:00 AM Re: XHTML and CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
And if you think I'm one of those people, Dan, you are wrong. DW is a very good tool.. but it's a BAD tool in the hands of beginners who can't code by hand and only use WYSIWYG mode - which usually results in a page full of absolutely positioned elements.

If the absolute positioning 'didn't work' then we need to see some code to figure out why.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-12-2007, 10:49 AM Re: XHTML and CSS
danfinney's Avatar
Average Talker

Posts: 22
Name: Dan Finney
Trades: 0
Hey, I wasn't accusing =) I just know from experience that, even though I write clean code, I get blasted by the community for even mentioning Dreamweaver.

So has anyone tried out the web features of Quark XPress yet? (kidding)
__________________
d a n f i n n e y

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
danfinney is offline
Reply With Quote
View Public Profile Visit danfinney's homepage!
 
Old 09-12-2007, 03:43 PM Re: XHTML and CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, some people have a real hatred of DW, even if it is used properly in competent hands I like DW, it has it's uses. If they'd fix the CSS rendering in their internal viewer, I *might* use it more. To me that means they have to stop using IE as their rendering engine.. it stinks.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to XHTML and CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45027 seconds with 12 queries