0

In my project when I add <sx:head></sx:head> it is including some required javascript and css( /project/struts/xhtml/styles.css ) files to implement Ajax. I don't want css files to be included (I have my own defined css) because it is changing my page format. How to do that?

Roman C
  • 49,761
  • 33
  • 66
  • 176
Pawan
  • 423
  • 6
  • 28
  • use . It will disable default css . – praveen_programmer Dec 23 '14 at 07:57
  • 1
    Just include required js w/o using `` tag. – Aleksandr M Dec 23 '14 at 08:27
  • @AleksandrM I don't know how to do that. Can you plz tell me the way – Pawan Dec 23 '14 at 08:30
  • 1
    What do you mean? Copy them from generated html and paste into your page. – Aleksandr M Dec 23 '14 at 08:37
  • It is helping. But the dropdown box is using my css styles. Even though the generated html shows `` as ` – Pawan Dec 23 '14 at 08:51
  • 1
    Then edit your own answer, add a running code snippet (the button beside the picture one) and reproduce the problem by posting the generated HTML and the CSS used. You are probably not using the right selectors, or other selectors have an higher specificity, or you are hitting some browser specific setting (each browsers has default settings, that's why [CSS Resets](http://stackoverflow.com/a/19542880/1654265) exist), or most likely you are trying to tweak a Select the wrong way: – Andrea Ligios Dec 23 '14 at 09:48

0 Answers0