PDA

View Full Version : Need help with a bit of css/html


psyhyatr
05-29-2015, 12:11 PM
I've added a custom forum icon plugin to my forums, the forum name text is going on the image, my question is how do I move the text a bit left?: image:
https://vborg.vbsupport.ru/external/2015/05/3.png

Thanks!

MarkFL
05-29-2015, 12:31 PM
You could add this attribute to the element containing the text:

style="position: relative; right: XXpx"

where XX is the amount in px that you want to move the text to the left.

psyhyatr
05-29-2015, 01:31 PM
You could add this attribute to the element containing the text:

style="position: relative; right: XXpx"

where XX is the amount in px that you want to move the text to the left.

Didn't work.

MarkFL
05-29-2015, 02:16 PM
Didn't work.

Please show me your HTML after you made the edit to the element containing the text. :D

Lynne
05-29-2015, 04:55 PM
When dealing with CSS issues, it is very hard to tell what is going on from just an image. It is easier to use a tool like firebug to view the CSS and see what is happening. So, can you please supply a link and a test username/password, if needed, to see the problem.

psyhyatr
06-05-2015, 07:56 AM
You could add this attribute to the element containing the text:

style="position: relative; right: XXpx"

where XX is the amount in px that you want to move the text to the left.

This worked actually after trying again, thanks :)