1 Vote Vote

got problem when using CSS to display the search result

Posted by topdog 408 days ago Questions| img css http All
I'm a beginner of CSS and Javascript.I met a problem recently.

The project needs CSS to adjust and display the search result from an appliance.

My goal is to adjust the problem page to make it the same as the good page.

problem page:


good page:


CODE
gContent.body = "<div style=\"margin-left:160px; margin-right:20px;\">" + gContent.body +"/<div>";


Because the code itself is in a Javascript file, the code looks different from the CSS in html.

Does anybody knows this syntax? How I can do to add code to adjust the position and font of the problem page.


Thanks!
Discuss Bury


Who Voted for this Question