Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DREAMWEAVER:HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Re: Floating Div inside Div

COW Forums : Adobe Dreamweaver

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Chris BridgesRe: Floating Div inside Div
by on Dec 12, 2009 at 3:13:58 am

Fernando,
Let me ask you this. If I used the code above and say one instance I wanted the column to be 100px instead of the 200px in the css.
Would it be acceptable to (in the code) put this
<div class="column" style="width:100px;"></div>

or am I better off leaving the width out of the css and indicating the style width each time I use it (such as I put above)

Also, my <p> element has a line height and margin defined. I use this throughout the document. However, in this case I do not want the margin on the <p> element. What is the best way to go about this.

Hopefully this makes sense.
Thanks
Chris


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]