Click to See Complete Forum and Search --> : Design view versus browser preview


Sub_Seven
11-15-2009, 05:00 PM
Hello everybody, I'm new here and this is my first post, I gotta admit that I registered because I have a question I can't seem to find an answer to, I hope I can find it here.

I'm using dreamweaver CS4 and I'm trying to move away from tables and start using DIV TAGS and external CSS to all of my formatting, I have always depended on the design view in Dreamweaver just to make sure things are fine, but lately I have also been trying to code everything, which honestly, I like better.

Now, my question, for two DIV TAGS under the same CSS formatting in which I use the "float:left;" attribute; one looks good in the design view and the other one doesn't (like if the "float" attribute was not there) but if I preview it on a web browser they both look good (which is good) but that design view mess kinda bothers me a little, I guess my question is why Dreamweaver is treating two DIV TAGS with the same exact formatting differently on the design view?

I hope I was clear enough but ask if you need me to explain differently, thanks in advance.

Eye for Video
11-15-2009, 10:14 PM
Well sort of wean yourself away from the "Design" view and start to rely mostly on "Code" view and previews. Design view does not display all the CSS that's applied to any one page so in the design view things can get a little off. The CSS will be applied when previewed.
Learn to code and build on that, and then when DW design view shows something wrong, you'll have the confidence to say "yeah, but it's coded correctly so I know it'll work".
Best wishes,
EfV

Sub_Seven
11-16-2009, 09:16 AM
Thanks for the reply/help EfV

You are totally right, after I posted my question I kept working on my site using only the "Code" view and previewing it on the explorer and things were pretty neat, after a while (out of curiousity) I checked the "Design" view and it was a total mess, I guess that was the last time for the "Design" view in my career...

Thanks again EfV...