View Poll Results: Whats the best to use?

Voters
8. You may not vote on this poll
  • Padding

    2 25.00%
  • Margin

    3 37.50%
  • Other (Please state in a post!)

    3 37.50%
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 11 to 17 of 17

Thread: Text - Padding or Margins

  1. #11
    likes chips. Scriptage's Avatar
    Join Date
    May 2008
    Location
    Yorkshire
    Posts
    2,757
    Or 100% logic if you follow the box model rules:Box model.


  2. #12
    100% Freshly Squeezed™ zumojuice's Avatar
    Join Date
    Feb 2007
    Location
    York
    Posts
    4,722
    I was talking coding in general
    Richard Gray
    zumojuice | Facebook | Twitter

  3. #13
    Don't threaten me with a dead fish james's Avatar
    Join Date
    Jan 2007
    Location
    Oxfordshire
    Posts
    1,139
    *votes*

    for fun

  4. #14
    likes chips. Scriptage's Avatar
    Join Date
    May 2008
    Location
    Yorkshire
    Posts
    2,757
    I was talking coding in general
    Me too.

  5. #15
    Established Member graphicsAZ's Avatar
    Join Date
    Oct 2008
    Location
    Arizona, USA
    Posts
    508
    I use padding on a DIV for paragraph text and margin to position the DIV that holds it, so yeah I guess that is the box model. If is just text on one line then I will use line-height.
    John Darling - Graphic & Web Designer
    SmarterTools Inc. | (877) 357-6278 | www.smartertools.com

  6. #16
    2fer SineQuaNon's Avatar
    Join Date
    Jun 2009
    Location
    Los Angeles, CA
    Posts
    242
    Totally depends on the context in which it's being used. For example, if you apply 10px of padding to an <a> tag, the clickable area becomes larger -- which may or may not be the desired effect depending on your context.

  7. #17
    Junior Member lloydvincent's Avatar
    Join Date
    Jul 2009
    Location
    Japan
    Posts
    45
    It always depends on what you want to do.

    I think the basic idea is to use padding when you want to make an element bigger, and margin when you want to move the element away from the things around it. But for me padding and margin always seem to require some trial and error to get it right (I recently discovered just how magical Firebug can be for this particular work).

    If you have a background color, I believe the color will cover the padding area but not the margin area (unless you specify dimensions explicitly).

+ Reply to Thread
Page 2 of 2
FirstFirst 1 2

Similar Threads

  1. Oof, trouble with Printer Margins!
    By RCTom in forum Design and Print Software
    Replies: 7
    Last Post: 05-01-2009, 11:38 AM
  2. Problem with padding
    By natidragon in forum CSS Forum
    Replies: 4
    Last Post: 15-12-2008, 02:11 PM
  3. inserting text in indesign (creating text art)
    By a3dy in forum Design and Print Software
    Replies: 1
    Last Post: 10-03-2008, 02:47 PM
  4. 3D Text
    By Dinx in forum Graphic Design and Web Design Help
    Replies: 6
    Last Post: 08-12-2007, 12:42 AM
  5. Padding text boxes in Indesign
    By iztel in forum Graphic Design Forum
    Replies: 2
    Last Post: 13-11-2007, 05:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site