Announcement Announcement Module
Collapse
No announcement yet.
AGENTM2 Web design // Workflow Essentials // CSS Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • PrintDriver
    Reply to Graphic Design tutorials
    PrintDriver
    The Dadaist approach would go one step further. Maybe tearing them up or putting an 'accidental' coffee stain on them.
    Today, 10:08 AM
  • PrintDriver
    Comment on What do you want to know?
    PrintDriver
    Do rabbits cough up hairballs? If not, they definitely can replace cats. Easily.
    Today, 10:06 AM
  • PrintDriver
    Reply to Business Logo Design
    PrintDriver
    You can have the best logo in the world, but if your product is garbage, that will be far more impressionable than any logo. Does anyone remember what the Ronco logo looks like? No? Bet you remember that...
    Today, 10:04 AM
  • snehal_Joshi
    Comment on Business Logo Design
    snehal_Joshi
    A logo is the first impression for any brand, as per my view only logo can create your first corporate brand image.
    Today, 06:31 AM
  • approveme
    Reply to Which of HTML and XHTML works best for most browsers?
    approveme
    What Is XHTML?

    XHTML stands for EXtensible HyperText Markup Language
    XHTML is almost identical to HTML
    XHTML is stricter than HTML
    XHTML is HTML defined as an XML application...
    Today, 05:46 AM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AGENTM2 Web design // Workflow Essentials // CSS

    Essentials that should be in every css file
    Essential css declarations you can use for your main css file. This sets styles across the board without needing to code it into individual html tags. Modify as needed. Enjoy.

    /* Quick hex color reference */
    /* palette
    ?????? - color 1
    ?????? - color 2
    ?????? - color 3
    */

    /* Link style */
    a {
    color: blue;
    text-decoration: underline;
    }

    /* Body style. Gets rid of the default page margin. */
    body {
    margin: 0px;
    }

    /* Set the font used in DIVs */
    div {
    font-size: 10px;
    font-family: Helvetica;
    }

    /* Forms have a margin by default that can push your design out undesirably. This gets rid of it. */
    form {
    margin: 0px;
    }

    /* Set the font used in form fields */
    input {
    margin: 0px;
    font-size: 10px;
    font-family: Helvetica;
    }

    /* Select style */
    select {
    margin: 0px;
    border: 0px;
    font-size: 10px;
    font-family: Helvetica;
    }

    /* Gets rid of default cell spacing */
    table {
    border-spacing: 0px;
    }

    /* Set the font and removes default padding used in all TDs which usually is most of the site */
    td {
    font-size: 10px;
    font-family: Helvetica;
    padding: 0px;
    }

    /* Set the font and style for textareas */
    textarea {
    margin: 0px;
    border: 0px;
    background-color: #FFFFFF;
    font-size: 10px;
    font-family: Helvetica;
    width: 100%;
    }

    /* List style */
    ul {
    margin: 0px;
    text-indent: 0px;
    }

    /* List bullet style */
    li {
    list-style-type: square;
    text-indent: 0px;
    }

  • #2
    YUI reset

    Comment

    Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc.
    Working...
    X