| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Whats wrong with this code please ? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm trying to edit in a mouse over menu into home.tpl as someone suggested.
I'm obviously missing something as the page looks like a dogs breakfast now, but I cant pick what I'm missing. What I've added in is in blue, the original file in black. Can anyone help ? Quote:
__________________
http://CircleofAtlantis.com/marketplace/ Xcart Version 4.1.9 Please bare with me. Ex-Analyst, ex-cobol, still teaching myself html, let alone anything else. |
|||||||
#2
|
|||||||
|
|||||||
![]() Well first, all of the CSS styles need to go in the skin1.css stylesheet, don't embed them in the template.
Next, this is not correct: content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; > <link href="common.css" rel="stylesheet" type="text/css"> <style type="text/css"> Just get rid of all of that and append the contents of common.css to the main stylesheet. Finally, the javascript probably needs to go in the head tag, and should be called from an external file, not embedded in the code.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Quote:
#nav a { display: block; width: 9em; w\idth: 9em; color: #000000; text-decoration: none; padding: 0.25em 2em; } and many else with w\idth: ............ </li> </ul> </div> <tbody> (I think </tbody>) + need close tags</td></tr> after </div> ............ And many others. ![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() Quote:
I did wonder about those. The original code came from someone else, so I'm adapting something I copied. That line never did make sense to me. Are these redundant errors not taken out ? Quote:
Oops, yes the /tbody should have been obvious. I lose track of the td's and tr's too easily. I'll correct this and see what difference it makes. Quote:
err, can you give an example of what that looks like ? Edit : Made the obvious changes including merging the stylesheets. Better, but still a dogs breakfast. I dont think the stylesheets were completely compatible. Maybe I should be just asking if someone can do this for me and how much for ?
__________________
http://CircleofAtlantis.com/marketplace/ Xcart Version 4.1.9 Please bare with me. Ex-Analyst, ex-cobol, still teaching myself html, let alone anything else. |
|||||||
|
|||
X-Cart forums © 2001-2020
|