HighDots Forums  

Image or text not centering in Table

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Image or text not centering in Table in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Image or text not centering in Table - 07-05-2004 , 10:49 AM






It's not that it's not 'good' HTML. It's that it's invalid HTML. Table
height is not now, and never was part of the HTML specification.

The solution is to not rely on designs that require such effects.

Quote:
In DW2004 you
get full tiling.
That's because pages created in DMX were created with a broken doctype. It
was a bug in DMX. When a browser sees a page with a broken doctype (or with
NO doctype) that page is rendered in QUIRKS mode, not standards mode. This
is what allows table height to be expressed (sort of - it fails on Macs,
however). DMX2004 writes pages with a proper loose doctype, and in
standards mode, table height is not recognized.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"dreamweeper" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Nadia, thank you for your comments. While I agree that "height =100%" is
not
good html code, sometimes you need it. What would you suggest in this
case? You
have a two column one row table. You want a background image to be tiled
from
top to bottom of screen in left column. In DW2004MX you will get just
tiling to
the bottom of the content in column 2 (with height set to 100%). In DW2004
you
get full tiling. In writing raw HTML code outside of DW you get full
tiling. I
still feel it's a flaw in DWMX2004. Well maybe a flaw is too strong a
language--maybe MX2004 is too strict on proper coding. This is all
evaluated on
using IE. And I don't think using third party software is the answer.
Centering
an image vertically and horizontally on the screen should be a simple
thing to
do. This is not my web site, but check out the source code on
http://www.chronologicalorder.com where an image is centered v and h.
Thank
you for your help.




Reply With Quote
  #12  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Image or text not centering in Table - 07-05-2004 , 11:38 AM






.oO(dreamweeper)

Quote:
Centering
an image vertically and horizontally on the screen should be a simple thing to
do.
body {background: url(/path/to/image) no-repeat center}

Quote:
This is not my web site, but check out the source code on
http://www.chronologicalorder.com where an image is centered v and h.
Not in Mozilla.

Quote:
This portfolio site is designed to be viewed in Internet Explorer 6 or
later at 800x600 or higher.
No comment.

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.