help with php code

The words “Print Agreement” appear directly beneath and to the left of a display showing the actual Sales Agreement that customers must view before submitting their order on our shopping cart.

Following is the code that prints “Print Agreement”. I would like the phrase to be centered under the Agreement and lowered on line. Can anyone tell me how to modify the code to do that? Not sure how to do it but I’m happy to submit/attach a screenshot of the display.

<?php print $Agreement['Agreement']?>
Print Agreement

Thanks.

I removed ur other topic because it was a duplicate. this seems more of an html/css issue rather than a php problem.

Do you have a live URL or the real outputting HTML.

I’m doing a mock up here:

http://jsfiddle.net/YVqdr/

But as you can see, it doesn’t reflect what you’re seeing.

The centering would be done with CSS. Post the CSS that you are using. To get your spacing Just enclose it in the paragraph tags

Topcoder,

I can’t find where I can paste or attach a screenshot of the actual screen and the output is dynamic so I can’t provide you with a URL. Do you know how I can send a screenshot?

[member=72904]mjohn[/member] Just right click on your browser, select view source…

The paste all that into jsfiddle.net and share the link here.

And like [member=46186]Kevin Rubio[/member] , said the issue can be in your CSS or in the the HTML if you’re using INLINE CSS.

A screenshot won’t help, we need to see the HTML markup and CSS (IF Any)

[member=72904]mjohn[/member] You can attach files, you just couldn’t do it as guest user.

Topcoder,

Screen shot is attached. The php and css code is integral to the shopping cart which is 3rd party to us. Unfortunately, therefore, I have limited access to and working knowledge of the code. Guess I was hoping for a silver bullet solution. On the other hand, maybe you can suggest something else:)


sc_print_agreement.JPG

Sponsor our Newsletter | Privacy Policy | Terms of Service