What do you think to this template?

Discussion in 'CSS' started by Divisive Cottonwood, Jun 21, 2008.

  1. #1
    I was looking at using this Drupal template

    http://inkberrowdesigncentre.co.uk/

    Have a look at the underling code and the html markup.

    From the read page:

    'They have their contents wrapped in a set of 10 DIv tags. Additional CSS, such as padding, can be applied to any of these. A specific use for these tags is to supply background images to make the content appear in a box with rounded corners.
    <div class="b0">
    <div class="b1">
    <div class="b2">
    <div class="b3">
    <div class="b4">
    <div class="b5">
    <div class="b6">
    <div class="b7">
    <div class="b8">
    <div class="b9">'

    Use for these tags is to supply background images to make the content appear in a box with rounded corners'

    But it's like, divs within divs within divs, ad infinity.
     
    Divisive Cottonwood, Jun 21, 2008 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    code heavy - and it really doesn't need to be. If the header and footer were kin, you could get rid of a LOT of those classes... You could also use a shorter tag.

    Have a look at my doing this without images:
    http://battletech.hopto.org/html_tutorials/rounded_css_borders/

    Which also has some links to other attempts at this.

    WAIT, that uses IMAGES - WTF? Ok, sorry, but that's a total miserable /FAIL/ at using images for borders. That's ten times or more the code that should be needed there - ESPECIALLY since it uses separate images.

    http://battletech.hopto.org/html_tutorials/eightcorners/template.html
     
    deathshadow, Jun 22, 2008 IP