Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

padding around inserted images

07-25-2008, 03:44 PM
# 1 (permalink)
thungrac221
Hi,
hope I post to the right forum.
I just need to know how to put padding around images...left, right, bottom, etc...
Images inserted in content is too close to text, need some space. I juse Joomla 1.5

Thank you.
07-25-2008, 03:48 PM
# 2 (permalink)
neo
I would use editor to place padding , takke a look at WYSIWYG Pro it gives you the option to add padding around it , or if you want to go global you can add

img{
padding:3px;
}

to template_css.css

or

do this

.imgpad{
padding:3px;
}


when placing image in editor add class

<img src=\image\ class=\imgpad\
07-25-2008, 03:50 PM
# 3 (permalink)
thungrac221
wow, that was fast...
thanks...will try...
07-25-2008, 03:52 PM
# 4 (permalink)
neo
any time, watch for global command , it will add padding to all images , best option is good editor that let you add padding around images
07-25-2008, 04:20 PM
# 5 (permalink)
thungrac221
okay,
maybe Im not doing it right...

tried this:
img{
padding:3px;
}

to template_css.css

didnt work
----------------
.imgpad{
padding:3px;
}
this, Im a little confused...& if Im confused, whoever maintains this will probably be aslo.

However, how exactly do I do this? Put this code in the template_css.css
.imgpad{
padding:3px;
}

then put this where?

<img src=\image\ class=\imgpad\

does \image\ means the path do that image?

thank you for your help...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password