HighDots Forums  

Centering content on website not working in DWMX

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Centering content on website not working in DWMX in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mzagorski webforumsuser@macromedia.com
 
Posts: n/a

Default Centering content on website not working in DWMX - 12-04-2003 , 05:53 PM






Hi,

I've tried to create a webpage with centered content using the Trial version of DWMX by creating a table with 1 row and 1 cell, 100% high and 100% wide. I align the contents on this frame to Middle / Center. Inside this frame I place another frame. 100% wide and 100px high...

In the old Dreamweaver this would center the content vertically and horizontally. In DWMX it is fine in the workspace but when I view in Internet Explorer the content moves to the top of the page! Doesn't appear to be centering. Anyone know why? Was something changed between DW and DWMX?



Reply With Quote
  #2  
Old   
Joel Green
 
Posts: n/a

Default Re: Centering content on website not working in DWMX - 12-04-2003 , 05:54 PM






Sounds like what you're doing is the old way of centering images/text on a
web page. I would look into this link
http://www.macromedia.com/devnet/mx/dreamweaver/articles/tableless_layout.ht
ml

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

Quote:
Hi,

I've tried to create a webpage with centered content using the Trial
version of DWMX by creating a table with 1 row and 1 cell, 100% high and
100% wide. I align the contents on this frame to Middle / Center. Inside
this frame I place another frame. 100% wide and 100px high...
Quote:
In the old Dreamweaver this would center the content vertically and
horizontally. In DWMX it is fine in the workspace but when I view in
Internet Explorer the content moves to the top of the page! Doesn't appear
to be centering. Anyone know why? Was something changed between DW and DWMX?
Quote:




Reply With Quote
  #3  
Old   
CeAsE10nYc webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Centering content on website not working in DWMX - 12-04-2003 , 05:55 PM



How come you don't create one table and just align the table to the center and have it stretch out to whatever width (or percentage) you want?

<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>LOOK AT ME, I"M IN THE MIDDLE</td>
</tr>
</table>


:: Young Jr. Web Designer in nYc: :

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.