HighDots Forums  

Control over float padding?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Control over float padding? in the Macromedia Dreamweaver forum.



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

Default Control over float padding? - 11-07-2005 , 10:22 AM






The relationship between the width and padding seems to be causing me a
problem. For example, I would like my #contentleft to be 299px wide. I
give #contentleft a width of 219px and padding of 40px 40px 0px 40px.
Looks great on some browsers, while others seem to display the
#contentleft as actually 219px wide. Is there a workaround for this?

You can see the page I am having problems with here:
http://www.agilitygraphics.com/clients/bdc/pages/featured.html

The css is here:
http://www.agilitygraphics.com/clients/bdc/css/browman.css

Thanks a lot for any help,
Brian


Example:
#contentleft
{
width:219px;
height:600px;
padding: 40px 40px 0px 40px;
float:left;
background:#F2F2F2;
}

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

Default Re: Control over float padding? - 11-07-2005 , 01:31 PM






Brian wrote:

Quote:
The relationship between the width and padding seems to be causing me a
problem. For example, I would like my #contentleft to be 299px wide. I
give #contentleft a width of 219px and padding of 40px 40px 0px 40px.
Looks great on some browsers, while others seem to display the
#contentleft as actually 219px wide. Is there a workaround for this?
The only browser that should set the #contentleft at 219px would be
PCIE5x. Is that the browser that is giving you issues?

All other 'modern' browsers should should the width as 299px.


There are IE specific conditional comments that you can put into the
<head> section of the page to make PCIE5x play nicely and show the width
at 299px.

Search google for IE conditional comments and see what turns up.



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

Default Re: Control over float padding? - 11-07-2005 , 01:45 PM



I've made some more suggestions in your other thread. I see you already
have some IE specific conditional comments in the head of your page.

It really should be a question of just adding #contentleft: 299px; to
the ones targeting IE5x.

I'm sure its IE5x that youre having issues with as all other browser
should show the correct width.



Osgood wrote:

Quote:
The only browser that should set the #contentleft at 219px would be
PCIE5x. Is that the browser that is giving you issues?

All other 'modern' browsers should should the width as 299px.


There are IE specific conditional comments that you can put into the
head> section of the page to make PCIE5x play nicely and show the width
at 299px.

Search google for IE conditional comments and see what turns up.



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.