Announcement

Collapse
No announcement yet.

Correct <DOCUMENT> type declaration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Correct <DOCUMENT> type declaration

    I'm confused with what document declaration shall I use for my actinic shop.
    It seems to me that when I use different types they interpret graphics differently.

    I've made two test pages:

    http://www.grafea.co.uk/shop/test/sh...riefcases.html
    and
    http://www.grafea.co.uk/shop/test/sh...efcases02.html

    using two different types of declaration and found that the strict one works better than the transitional.

    What do you guys use and is it a good practice to use different document declarations for different pages within actinic( I can put them on a variable and use different values for each page. )

    Also, I've been trying to float something on the right within a <td>
    Is this possible without loosing the div's border,

    Please see the examples:
    http://www.grafea.co.uk/shop/test/sh...efcases03.html
    http://www.grafea.co.uk/shop/test/sh...efcases04.html

    I do not want to put the border on the table itself as I am trying to achieve this:
    http://www.grafea.co.uk/shop/test/sh...riefcases.html

    with the colour bars floating on the right and having a border only around the main photo and color bars but not the text.

    Thank you.
    www.grafea.co.uk
    Vintage Leather briefcases

    http://www.grafea.com
    Designer leather bags
    --------------------------
    Yanni Kioupouroglou

    #2
    I use the actinic standard one on all sites, changing this can and has caused lots of problems on actinic sites, leave it well alone IMO. You certainly don't want to be adjusting doctype to make your coding work, that could end up as a chase your tail exercise.

    Rather than float you are probably best to absolutely position the area so it overlays the underneath. Floats and tables don't mix very well IME, getting rid of the table is probably a good idea, less code the better then.

    Comment


      #3
      Thanks Lee,

      If I get rid of the table then I need to use DIVs instead which need to be floated left as I have 3 products per row but that doesn't seem to work well with Actinic as it prefers tables for listing products on the category page.
      www.grafea.co.uk
      Vintage Leather briefcases

      http://www.grafea.com
      Designer leather bags
      --------------------------
      Yanni Kioupouroglou

      Comment


        #4
        Ah gotcha, that's the list layout table. Have a container within each td then, make its position 'relative' and then absolutely position your code within a container over the top of that.

        Comment

        Working...
        X