Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Lightbox & Description Question
Old 08-29-2008, 09:48 AM Lightbox & Description Question
Skilled Talker

Posts: 53
Trades: 0
I am using Lightbox for my images and would like to know how to enter a description with multiple lines. I have some of my code as:

<img src="featured.jpg" border="1" alt="" /></a> <a href="AY40-L.jpg" rel="lightbox" title="Black Acrylic Award <br /> Size - 5 1/2 in. x 6 in. x 3/4 in.<br /> Product #: AY40-L <br /> $79.00">

However when I run the validation I get warnings like this:

Line 339, Column 363
: character "<" is the first character of a delimiter but occurred as data.…lightbox" title="Black Acrylic Award <br /> Size - 5 1/2 in. x 6 in. x 3/4 in This message may appear in several cases:
  • You tried to include the "<" character in your page: you should escape it as "&lt;"
  • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
  • Another possibility is that you forgot to close quotes in a previous tag.
How can I make the text separate lines?
moonlit is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-29-2008, 10:43 AM Re: Lightbox & Description Question
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Code:
<img src="featured.jpg" border="1" alt="" /></a> <a href="AY40-L.jpg" rel="lightbox" title="Black Acrylic Award <br /> Size - 5 1/2 in. x 6 in. x 3/4 in.<br /> Product #: AY40-L <br /> $79.00">
I dont know too much about lightbox but shouldn't the </a> come after the <a href...

Possibly something like

<img src="featured.jpg" border="1" alt="" /><a href="AY40-L.jpg" rel="lightbox" title="Black Acrylic Award <br /> Size - 5 1/2 in. x 6 in. x 3/4 in.<br /> Product #: AY40-L <br /> $79.00"</a>

Hope this helps
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 08-29-2008, 11:30 AM Re: Lightbox & Description Question
Skilled Talker

Posts: 53
Trades: 0
Whoops, I just didn't copy it right into the message. My code really is:

<a href="AY40-L.jpg" rel="lightbox" title="Black Acrylic Award <br /> Size - 5 1/2 in. x 6 in. x 3/4 in.<br /> Product #: AY40-L <br /> $79.00"><img src="featured2.jpg" border="1" alt="" /></a>

I just wish I knew what code to use for making another line...

Last edited by moonlit; 08-29-2008 at 11:31 AM..
moonlit is offline
Reply With Quote
View Public Profile
 
Old 08-29-2008, 02:26 PM Re: Lightbox & Description Question
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You know, you COULD try the Lightbox support forum

http://www.huddletogether.com/forum/...&page=1#Item_0
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-29-2008, 02:41 PM Re: Lightbox & Description Question
Skilled Talker

Posts: 53
Trades: 0
Haha, yeah that would be a good idea, thanks
moonlit is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Lightbox & Description Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.07465 seconds with 12 queries