Closed (fixed)
Project:
Drupal core
Component:
theme system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2005 at 08:00 UTC
Updated:
22 Feb 2005 at 11:15 UTC
In pushbutton theme I cannot set a picture to appear on the centre by using
- the images are displayed ont he left.
Comments
Comment #1
nsk commentedby using div center directive, but the code didn't show up :( There is a need here to format the msgs in plain text.
Comment #2
(not verified) commentedPlease read before posting. Your complaint about being unable to post code is totally off-base, as it is CLEARLY specified at the bottom of the submission form that you can use the >code< tag to write code.
Back on the issue at hand, I have had success centering text using the following code in nodes with the pushbutton theme:
<div align="center">Look! It's centered.</div>the following more XHTML and CSS-ish code also works for me:
<div style="text-align: center;">Look! It's centered.</div>Please specify exactly what code you're attempting to use and where you're trying to use it.
Comment #3
robert castelo commentedComment #4
(not verified) commented