Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-13-2009, 08:36 AM   #1
Active Warrior
 
Join Date: Jun 2009
Location: Bournemouth UK
Posts: 86
Thanks: 7
Thanked 5 Times in 5 Posts
Default Where and how do I place text under images in CSS

Hi warriors, I need to place text under the images on these webpages can any of you tell me what I need to put in and where. Below is the CSS file and just below here is the html file for that page. Thanks in advance!
alternative-answer is offline   Reply With Quote
Old 08-13-2009, 08:59 AM   #2
A rat after money...
War Room Member
 
HomeBizNizz's Avatar
 
Join Date: Jul 2009
Location: Inside a cheese...
Posts: 598
Thanks: 363
Thanked 54 Times in 47 Posts
Default Re: Where and how do I place text under images in CSS

Like this:
<p>
<img src="url" width="100" height="100" />
<br />
Text under the pic...
</p>

or...


<div class="extended">
<img src="img/chamuel.JPG" alt="chemuel" width="130" height="150" class="imageright" />
<br />
Text under the pic...
</div>

HomeBizNizz is offline   Reply With Quote
Old 08-13-2009, 09:08 AM   #3
Active Warrior
 
Join Date: Jun 2009
Location: Bournemouth UK
Posts: 86
Thanks: 7
Thanked 5 Times in 5 Posts
Default Re: Where and how do I place text under images in CSS

Thanks for the response, have tried that and it didn't work, can you have a look at Debbie Fennella - spiritual medium - healer - reiki master - bournemeouth - poole - dorest Ascended Masters as you can see on the right hand side the small images, I have managed to get text under the images by using a table, however there must be a way of getting directly under the image using CSS. Any thoughts?
alternative-answer is offline   Reply With Quote
Old 08-13-2009, 09:13 AM   #4
A rat after money...
War Room Member
 
HomeBizNizz's Avatar
 
Join Date: Jul 2009
Location: Inside a cheese...
Posts: 598
Thanks: 363
Thanked 54 Times in 47 Posts
Default Re: Where and how do I place text under images in CSS

If you insert a small table in the div with one column and 2 rows.
One row to the pic and one row to the text.
Use border collapse and cellpadding/cell spacing to 0.
I think that may work.

Upper cell: valign=bottom
Lower cell: valign=top

Set cell height to 0 to squeeze the cells together
including the content.

HomeBizNizz is offline   Reply With Quote
Old 08-13-2009, 09:20 AM   #5
Active Warrior
 
Join Date: Jun 2009
Location: Bournemouth UK
Posts: 86
Thanks: 7
Thanked 5 Times in 5 Posts
Default Re: Where and how do I place text under images in CSS

Thanks again, any chance you could actually write it as it should look please?
alternative-answer is offline   Reply With Quote
Old 08-13-2009, 09:27 AM   #6
A rat after money...
War Room Member
 
HomeBizNizz's Avatar
 
Join Date: Jul 2009
Location: Inside a cheese...
Posts: 598
Thanks: 363
Thanked 54 Times in 47 Posts
Default Re: Where and how do I place text under images in CSS

Try this:

<table width="10%" border="0"
cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" height="0">
<img src="url" width="150" height="150" />
</td>
</tr>
<tr>
<td valign="top" height="0">
Text
</td>
</tr>
</table>

HomeBizNizz is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
css, images, place, text

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:54 AM.