CSS: What the FUCK?!?

Out of context: Reply #20

  • Started
  • Last post
  • 20 Responses
  • ETM0

    Man this seems to be getting SOOO complicated for something as basic as a floated image in a box.

    Redo that markup mess. Something simple (i've used my own (more logical) css names than that generated stuff)

    <div class="newsStory">
    <div class="newsStoryImage"> -- div floats image left, padding etc.
    <img src="someguy.jpg">
    </div>
    <h3>Story Title</h3>
    <p class="credit">Inserted by Admin</p>
    <p class=summary">Story summary goes here</p>
    </div>

    • Of course I don't have server calls in there, but still, can be made much simpler.ETM
    • +5airey

View thread