HighDots Forums  

padding, width and height

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss padding, width and height in the Macromedia Dreamweaver forum.



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

Default padding, width and height - 11-02-2005 , 10:48 AM






I am not sure why this is doing so, but for some reason, the padding on
this div I have, pushes this area too wide.
Have a look at the blue copyright note at the bottom:
http://www.agilitygraphics.com/clients/bdc/pages/about.html

Why is it doing this? Do I need to subtract the padding from the width?


The tag looks like this:
#copynote
{
height:20px;
width:750px;
background:#036;
font-size:9px;
color:#FFF;
padding:4px 4px 0px 10px;
}

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

Default Re: padding, width and height - 11-02-2005 , 11:10 AM






..oO(Brian)

Quote:
I am not sure why this is doing so, but for some reason, the padding on
this div I have, pushes this area too wide.
Have a look at the blue copyright note at the bottom:
http://www.agilitygraphics.com/clients/bdc/pages/about.html

Why is it doing this? Do I need to subtract the padding from the width?
From the spec:

"The box width is given by the sum of the left and right margins,
border, and padding, and the content width."

What you expect is the behaviour of old browsers or browsers running in
qirks mode. What you see is the result in standards-compliant browsers.

Something different: Why are you using heading elements for the contact
informations?

Micha


Reply With Quote
  #3  
Old   
Brian
 
Posts: n/a

Default Re: padding, width and height - 11-02-2005 , 11:28 AM



Micha,

Quote:
What you expect is the behaviour of old browsers or browsers running in
qirks mode. What you see is the result in standards-compliant browsers.
So what do I need to do?

Quote:
Something different: Why are you using heading elements for the contact
informations?
I did not think I was?

Thank you for your help!



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.