HighDots Forums  

Height Percentage and other things

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Height Percentage and other things in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bxSiN
 
Posts: n/a

Default Height Percentage and other things - 07-28-2004 , 07:50 PM






Ok, I'm using dreamwaver 4 and the trial for MX. So, here is what is up.

In D4, if I make a table height to 100%, it stays that way even if it is
empty. If I do this in MX, when I preview... the table doesn't stay at 100%.

Also I noticed that in MX, when I edit page properties and such that it uses
the style tags. Is there is anyone to change this.

D4 Does it like this:
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0" background="images/sidebg.jpg"

In MX it does this instead:
<style type="text/css">
<!--
body {
background-color: #666666;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

So, why is this? Can I change how MX does the code? And what is up with the
height percentage?

Thanks


Reply With Quote
  #2  
Old   
DeeDeeSee
 
Posts: n/a

Default Re: Height Percentage and other things - 07-28-2004 , 08:12 PM






For the css code do this. Go to Edit, Preferences, General, then uncheck the
box says use CSS instead of HTML tags. That should help you. And gosh, I
don't know what's up with the height percentage.


Reply With Quote
  #3  
Old   
Mad Dog
 
Posts: n/a

Default Re: Height Percentage and other things - 07-28-2004 , 08:16 PM



Because it's invalid code. Take a look at a recent thread here:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&safe=off&threadm=84cp60dgsf1gvhj3on0g8r r43irt8unuhd%404ax.com&rnum=3&prev=/groups%3Fq%3Dtable%2Bheight%2Bpercentage%2Binvalid %2Bdreamweaver%26hl%3Den%26lr%3D%26ie%3DUTF-8%26c2coff%3D1%26safe%3Doff%26selm%3D84cp60dgsf1gv hj3on0g8rr43irt8unuhd%25404ax.com%26rnum%3D3



bxSiN wrote:
Quote:
Ok, I'm using dreamwaver 4 and the trial for MX. So, here is what is
up.

In D4, if I make a table height to 100%, it stays that way even if
it is empty. If I do this in MX, when I preview... the table doesn't
stay at 100%.

Also I noticed that in MX, when I edit page properties and such that
it uses the style tags. Is there is anyone to change this.

D4 Does it like this:
body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0" background="images/sidebg.jpg"

In MX it does this instead:
style type="text/css"
!--
body {
background-color: #666666;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
--
/style></head

So, why is this? Can I change how MX does the code? And what is up
with the height percentage?

Thanks



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.