This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Width on css column not wysiwyg (repost)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Width on css column not wysiwyg (repost)
Michael Evangelista

2005-09-15, 7:19 pm

Just getting friendly with DW 8 - in looking at this page
http://nedrascafe.com/index.html you will see the left column is a div
called #leftcol, which is set to 160px wide. Works fine in IE and FF.

However, in DW's 'Design View', that 'leftcol' div shows as 235px wide, and
on mouseover,
the properties box shows the width for leftcol as "160px(235px)"

Can someone explain why this is so?
What does the "width(width)" mean??

--
Michael Evangelista
Evangelista Design / Evangelista Consulting, inc.
www.evangelista-web.com
Custom Small Business Website Solutions




Osgood

2005-09-15, 7:19 pm

I had a quick look this morning and it didnt make much sense to be. You
dont have any padding/margin on the <div> itself, which DW8 now shows if
you do.

The only thing I can think of is that you do have a lot of margins on
the images and <h> tag within that <div>. So I'm wondering if some how 8
is seeing those and adding them to the overall with of the <div>, which
it shouldnt be doing.




Michael Evangelista wrote:

> Just getting friendly with DW 8 - in looking at this page
> http://nedrascafe.com/index.html you will see the left column is a div
> called #leftcol, which is set to 160px wide. Works fine in IE and FF.
>
> However, in DW's 'Design View', that 'leftcol' div shows as 235px wide, and
> on mouseover,
> the properties box shows the width for leftcol as "160px(235px)"
>
> Can someone explain why this is so?
> What does the "width(width)" mean??
>


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews