Jump to content

pdcelec

Members
  • Content count

    594
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by pdcelec

  1. pdcelec

    OSC to CSS v2

    I have got it down to 11 errors for XHTML Strict. Some easy changes 1.)Replace all occurrences of <br> and <br/> with <br /> 2.)In all catalog files add the space and slash i.e. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> BECOMES <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> and <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> BECOMES <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /> In catalog/includes/functions/html_output.php find function tep_image and replace $image .= '>'; with $image .= ' />'; AND $image = '<img src="' . tep_output_string($src) . '" class="'. tep_output_string($class) .'" border="0" alt="' . tep_output_string($alt) . '"'; REPLACE with $image = '<img src="' . tep_output_string($src) . '" class="border_0" alt="' . tep_output_string($alt) . '"'; and add .border_0{ border:0; } to the stylesheet In catalog/includes/functions/html_output.php find function tep_draw_input_field and replace $field .= '>'; with $field .= ' />'; In catalog/includes/functions/html_output.php find function tep_draw_pull_down_menu and replace $field .= 'selected'; with $field .= 'selected="selected"'; Replace all occurences of the button functions in whichever files they appear with no capital letters i.e. onSubmit is one of them I will post more as I find them
  2. pdcelec

    OSC to CSS v2

    Yes valid css 2.1!!! Next mission is to validate it as XHTML 1.0 STRICT and maybe even XHTML1.1 I have found another problem whilst doing this, The currencies are not changing. More detective work required. I am learning alot doing this Just found the manufacturers_info.php has tables in it. Sorry
  3. pdcelec

    OSC to CSS v2

    I will be using this a basis for my site so it is the least I can do. I have successfully installed the following with no isuuse Categories enable/disable 1.6 KISS MT KISS ER PHP5.3 compatibility (replacing HTTP_GET_VARS and HTTP_POST_VARS with _GET and _POST) and replaced all the ereg functions Currently adding Sams anti hacker ( this ones a bit more challenging to integrate but I will get there) Thanks for a great contrib
  4. pdcelec

    OSC to CSS v2

    Adding the missing > has cured the problem!!!! Yes the alphaclear looks fine to me. Onto the next!!!!
  5. pdcelec

    OSC to CSS v2

    I get it on all pages. I have gone a stage further and found that if the information inside the box is remmed out then the box itself appears fine and the page is fine. I will keep digging
  6. pdcelec

    OSC to CSS v2

    I have narrowed it down a bit. If you turn off the information box in column_left, everything is fine. Now to find the prob with the information box
  7. pdcelec

    OSC to CSS v2

    I have tried the conditional statements and I am struggling. The problem is that column_left, main page and column_right are all stacked vertically on the left in IE8 browser.All other browsers are fine. I have tried the dev tools in IE8 with outline divs set to on and I cannot see where the problem lies. I must admit that css is not something that I have studied much until now but I am trying to learn it along with the other parts of web manipulation. When I view your test site ..../ninesixty, I get the same results
  8. pdcelec

    OSC to CSS v2

    hi In template_bottom.php its says includes/classes/boxes.php change this line: $this->table_parameters = 'class="grid_4 alpha" '; to this: $this->table_parameters = 'class="grid_2 alpha" But in includes/classes/boxes.php it says $this->table_parameters = 'class="infobox"'; I am assuming that this is not the correct boxes.php file
  9. pdcelec

    OSC to CSS v2

    I have tried the suggestions but there is still a problem in IE8. I will continue to try and resolve it as that seems to be the only thing at fault at the moment. BTW, I have successfully added a couple of contributions with no problems so far.
  10. pdcelec

    OSC to CSS v2

    my link is electricalcity dot co dot uk In the categories box, there is a dash missing at the start <!-categories--> should be <!--categories--> the alignment is ok in Firefox and Chrome but not in IE8. I am going through it and hoping to validate it as XHTML1.1 as I did with your version 1. I have added a couple of contribs so far with no probs. Tomorrow, I will be installing loads
  11. pdcelec

    OSC to CSS v2

    Great contribution!! Just a couple of teething problems 1. The instructions say to add reset.css first but the copy and paste for application_top does not mention it and also the ui-select.css is not there. 2. My browser is showing column_left and below that main page and below that column_right. I will have a play and see what it is. Other than that, I can now start adding contribs. I added 32 admin contribs whilst awaiting this one! Thanks
  12. Hi I have installed the osc to css conversion and think it is a great contribution. Having just read the last post about version 2, I am holding back on installing contributions to the site. The site is only 3 days old and I dont want to add loads of contributions till osc css ver 2 is available unless you can tell me if there will be much to upgrade from ver 1. Thanks
×