PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > How to caption a "floated" image
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How to caption a "floated" image

Réponse
 
LinkBack Outils de la discussion
Vieux 10/06/2008, 21h57   #1
Ken Binney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to caption a "floated" image

Page is here: http://www.elmaroliveira.com/bio.htm
Appreciate any advice you can give.

Thanks


  Réponse avec citation
Vieux 10/06/2008, 22h18   #2
Nancy O
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to caption a "floated" image

Here's a method I use:

/** CSS Captions on figures **/

..LeftCaptions {
float:left;
width:250px /** image size plus a little extra **/
height:auto;
margin:0.5em;
padding:0.5em;
}

..LeftCaptions p {
text-align:center;
font-style:italic;
font-size:small;
text-indent:0
}

HTML:
<div class="LeftCaptions">
<p><img src="images/your_image.jpg"><br>
your caption text goes here</p>
</div><!--End LeftCaptions -->

<!--for RightCaptions, change float to right-->


--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com



"Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
news:g2mprd$3ft$1@forums.macromedia.com...
> Page is here: http://www.elmaroliveira.com/bio.htm
> Appreciate any advice you can give.
>
> Thanks
>
>



  Réponse avec citation
Vieux 10/06/2008, 22h51   #3
TC2112
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to caption a "floated" image

Hello,

Have you looked at the page in Firefox?
Nothing is floating because you're missing the closing "}' after .content:

..content {
font-family: Arial, Helvetica, sans-serif;
font-size: x-small;
text-align: justify;
..content p {
text-align: justify
}

Should be:

..content {
font-family: Arial, Helvetica, sans-serif;
font-size: x-small;
text-align: justify;
}
..content p {
text-align: justify
}


You can wrap the image and caption in a div and float the div.
Just make the div the same width as the image,

For example:

div.floatRight{
float:right;
margin: 10px;
width:168px;
}

<div class="floatright"><img width="168" height="249" src="images/EObio.jpg"
alt="Photo by Tucker Densley"/>Words under image</div>


Take care,
Tim


"Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
news:g2mprd$3ft$1@forums.macromedia.com...
> Page is here: http://www.elmaroliveira.com/bio.htm
> Appreciate any advice you can give.
>
> Thanks
>



  Réponse avec citation
Vieux 11/06/2008, 18h48   #4
Ken Binney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to caption a "floated" image

Thank you both so much
Who knew you could float a DIV ?


"TC2112" <nospam@nospam.com> wrote in message
news:g2mt16$6tf$1@forums.macromedia.com...
> Hello,
>
> Have you looked at the page in Firefox?
> Nothing is floating because you're missing the closing "}' after .content:
>
> .content {
> font-family: Arial, Helvetica, sans-serif;
> font-size: x-small;
> text-align: justify;
> .content p {
> text-align: justify
> }
>
> Should be:
>
> .content {
> font-family: Arial, Helvetica, sans-serif;
> font-size: x-small;
> text-align: justify;
> }
> .content p {
> text-align: justify
> }
>
>
> You can wrap the image and caption in a div and float the div.
> Just make the div the same width as the image,
>
> For example:
>
> div.floatRight{
> float:right;
> margin: 10px;
> width:168px;
> }
>
> <div class="floatright"><img width="168" height="249"
> src="images/EObio.jpg" alt="Photo by Tucker Densley"/>Words under
> image</div>
>
>
> Take care,
> Tim
>
>
> "Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
> news:g2mprd$3ft$1@forums.macromedia.com...
>> Page is here: http://www.elmaroliveira.com/bio.htm
>> Appreciate any advice you can give.
>>
>> Thanks
>>

>
>



  Réponse avec citation
Vieux 11/06/2008, 18h51   #5
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to caption a "floated" image

<raising hand> 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
news:g2p358$lds$1@forums.macromedia.com...
> Thank you both so much
> Who knew you could float a DIV ?
>
>
> "TC2112" <nospam@nospam.com> wrote in message
> news:g2mt16$6tf$1@forums.macromedia.com...
>> Hello,
>>
>> Have you looked at the page in Firefox?
>> Nothing is floating because you're missing the closing "}' after
>> .content:
>>
>> .content {
>> font-family: Arial, Helvetica, sans-serif;
>> font-size: x-small;
>> text-align: justify;
>> .content p {
>> text-align: justify
>> }
>>
>> Should be:
>>
>> .content {
>> font-family: Arial, Helvetica, sans-serif;
>> font-size: x-small;
>> text-align: justify;
>> }
>> .content p {
>> text-align: justify
>> }
>>
>>
>> You can wrap the image and caption in a div and float the div.
>> Just make the div the same width as the image,
>>
>> For example:
>>
>> div.floatRight{
>> float:right;
>> margin: 10px;
>> width:168px;
>> }
>>
>> <div class="floatright"><img width="168" height="249"
>> src="images/EObio.jpg" alt="Photo by Tucker Densley"/>Words under
>> image</div>
>>
>>
>> Take care,
>> Tim
>>
>>
>> "Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
>> news:g2mprd$3ft$1@forums.macromedia.com...
>>> Page is here: http://www.elmaroliveira.com/bio.htm
>>> Appreciate any advice you can give.
>>>
>>> Thanks
>>>

>>
>>

>
>


  Réponse avec citation
Vieux 20/06/2008, 18h16   #6
DizzDizzy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to caption a "floated" image

Thank you for the improvization in the code it is amazing
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h20.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14694 seconds with 14 queries