Register

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!

Joomla 2.5.1 and 1.7.5 update released: More info

We are ready for Joomla! 2.5: More info

Help us improve our website and get 1 month Free Club Membership More info

Joomla 1.6/1.7 Templates Conversion Tracker: More info

User Panel
User Name  Password   
Go Back   Youjoomla Support Forums > Public Joomla forums > Joomla Tutorials

Joomla Tutorials Useful joomla tutorials

Reply
Old 07-25-2008, 02:44 PM   #1 (permalink)
Unlicensed
 
thungrac221's Avatar
 
Join Date: Jul 2008
Posts: 13
Default padding around inserted images

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.
thungrac221 is offline   Reply With Quote
Old 07-25-2008, 02:48 PM   #2 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,412
Send a message via Skype™ to neo
Default Re:padding around inserted images

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\
neo is offline   Reply With Quote
Old 07-25-2008, 02:50 PM   #3 (permalink)
Unlicensed
 
thungrac221's Avatar
 
Join Date: Jul 2008
Posts: 13
Default Re:padding around inserted images

wow, that was fast...
thanks...will try...
thungrac221 is offline   Reply With Quote
Old 07-25-2008, 02:52 PM   #4 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,412
Send a message via Skype™ to neo
Default Re:padding around inserted images

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
neo is offline   Reply With Quote
Old 07-25-2008, 03:20 PM   #5 (permalink)
Unlicensed
 
thungrac221's Avatar
 
Join Date: Jul 2008
Posts: 13
Default Re:padding around inserted images

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...
thungrac221 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:57 AM.


All times are GMT -4. The time now is 06:57 AM. Powered by vBulletin®
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0