Announcement

Collapse
No announcement yet.

AGENTM2 Web design // Workflow Essentials // CSS

Collapse
X
  • 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

    Search

    Collapse

    Advertisement

    Collapse

    Latest Topics

    Collapse

    • hyena
      Reply to What was your path to the world of design?
      hyena
      All very interesting to read indeed! Thanks for sharing your stories
      Today, 06:33 AM
    • hyena
      Comment on What was your path to the world of design?
      hyena
      I do things like wrapping now, though mainly cars. SWIM even wrapped a plane!

      Funny to see how a lot of GD's want to do Sign Work. I'm the other way around actually, though who knows that'll...
      Today, 06:31 AM
    • HiddenDev
      Reply to Staying Current
      HiddenDev
      I don't check regularly enough, thanks for the information though!
      Today, 04:04 AM
    • typo
      Reply to laser vs. inkjet printer for vectors and text
      typo
      Hello there,
      My jobs are pure experimental I'm not looking for selling at this point. But indeed, it's a good idea to find a local print shop that could fulfill my printing requests (gold in this...
      Today, 03:55 AM
    • Juanm89
      Security One Redesign
      Juanm89
      Hi everybody, this is a redesign of an old project of mine done in 2006. I wanted to create a more solid mark and a more complete project.
      I would love if you guys gave me feedback on the final...
      Today, 01:36 AM

    GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
    Working...
    X