-
Lightbox: can I format the look of the caption text?
Thanks! Is it possible though to add new lines, and format pieces of the text (i.e. some bold, some underlined, etc...)? Thanks again!
-
Lightbox: can I format the look of the caption text?
Here is the link to the 'tutorial' which includes the download link: Lightbox2 by Lokesh Dhakar Thanks!
-
Lightbox: can I format the look of the caption text?
Is there a way to format a caption in lightbox? By formatting I mean for example adding new lines and bolding, underlining text. Do we have to pass the text from a file somehow or can we just embed it all (with tags such as <b>, <u>, <br /> within the title tag? How to do it so that it still validates? Thank you! Lightbox v2.04 OS: WinXP Pro SP3 FF: 3.5.7 IE7
-
Lightbox: changing the 'visited' color of the thumb (background-color block)
Lightbox v2.04 OS: WinXP Pro SP3 FF: 3.5.7 IE7 Hi, I am trying to use lightbox, where the thumbnails are not smaller images but only blocks of background color. When I don't use lightbox, I am able to control the color based on the state of the thumb (link/active/visited)...(thanks to the help of Wickham) However with lighbox, the 'visited' attribute somehow gets ignored and the color remains as in '.projectthumbs li a'...(hover/active does work...just visited does not). Is there any way to modfiy the script (css or js) to allow for the visited thumbs to change color? HTML snippet ------------------------ <li class="projectthumbs"> <ul> <li><a href='images/Cave Rock Blue.bmp' rel="lightbox" title="some caption"></a></li> <li><a href='images/Cave Rock Tan.bmp' rel="lightbox" title="some caption"></a></li> <li><a href='images/Cement.bmp' rel="lightbox" title="some caption"></a></li> <li><a href='images/Cemented Rock.bmp' rel="lightbox" title="some caption"></a></li> </ul> </li> CSS snippet ------------------------ .projectthumbs li a{ padding: 0; color: #FFFFFF; background-color: #999999; width: 8px; height: 12px; padding: 0 2px; display: block; } .projectthumbs li a:link { background-color: #999999; } .projectthumbs li a:visited { background-color: #433e39; /*was #b82129;*/ } .projectthumbs li a:hover, .projectthumbs li a:active { background-color: #b82129; } Thanks!
-
IE/Firefox and CSS nested lists
You are AMAZING! Thank you sooo much! Works like a charm!
-
IE/Firefox and CSS nested lists
Thanks Wickham! I had the blank href temporarily and didn't realize it would affect the test, but you are right. I added some test images and modified the style sheet: http://www.shepdev.pcriot.com/list2.html .projectthumbs li a:link { background-color: #999999; } .projectthumbs li a:visited { background-color: #b82129; } .projectthumbs li a:hover, .projectthumbs li a:active { background-color: #b82129; } For whatever reason though, the visited background becomes the same as the page background, even though for the sake of test I set it to a very visible color (same as the hover/active). So that after you click and visit images, eventually your gray squares disappear
-
IE/Firefox and CSS nested lists
hmmm...actually maybe you can help me with another problem... I have currently commented out this section: /*.projectthumbs li a:visited {*/ /* background-color: #433e39;*/ /*}*/ ...because it would change all of the backgrounds (even not visited to the above color). This should be very trivial but it is not working for me... I wanted to have the squares/background color od the projectthumbs list as follows: link: #999999; hover/active: #B82129; visited: #433e39; Any idea what could be wrong? Thanks again!
-
IE/Firefox and CSS nested lists
Ah! Thanks for pointing it out, now (after playing with it) I see what you did, very clever with continuing the LI but clearing all the floats! Thanks
-
IE/Firefox and CSS nested lists
Thanks so much Wickham! I had tried float: left before but failed to clear...so it never worked for me. I have also posted on a different forum, where another user found a different solution to my problem: http://www.codingforums.com/showthread.php?p=923237#post923237 Thanks again!
-
IE/Firefox and CSS nested lists
Hi, I wanted to have a nested CSS-styled list where the subelements would show horizontal (on the same level) as parents. While FF does it as it should, the IE...figures...does not. As snippets: HTML LIST: <div class="projects"> <div class="headings">First heading</div> <ul> <li>List item 1</li> <li class="projectthumbs"> <ul> <li><a href='' imgsrc='/images/projects/pic_1a.jpg'></a></li> <li><a href='' imgsrc='/images/projects/pic_1b.jpg'></a></li> <li><a href='' imgsrc='/images/projects/pic_1c.jpg'></a></li> <li><a href='' imgsrc='/images/projects/pic_1d.jpg'></a></li> </ul> </li> </ul> (...) </div> CSS STYLING: .headings { font-size: 12px; font-family: Verdana, Geneva, sans-serif; font-weight: normal; text-transform: uppercase; text-align: left; font-weight:bold; color: #B82129; padding-bottom: 5px; padding-top: 5px; } .projects { font-size: 11px; font-family: Verdana, Geneva, sans-serif; list-style-type: none; } .projects ul { margin: 0; list-style-type: none; } .projects li { margin: 0; padding-top: 1px; padding-bottom: 1px; display: inline-table; } .projectthumbs { font-size: 14px; } .projectthumbs ul { height: 10px; padding: 0 0 1px 15px } .projectthumbs li { float: left; list-style-type: none; height: 12px; width: 12px; margin: 0 3px 0 0; display: inline-table; } .projectthumbs li a{ padding: 0; color: #FFFFFF; background-color: #999999; width: 8px; height: 12px; padding: 0 2px; display: block; } .projectthumbs li a:active { background-color: #B82129; } .projectthumbs li a:hover { background-color: #B82129; } /*.projectthumbs li a:visited {*/ /* background-color: #433e39;*/ /*}*/ Sorry for messy CSS, I have some redunancies which I have to still work on... Here is the FF and IE7 rendering: FF: IE7: The code could be found at: http://www.shepdev.pcriot.com/list.html.