coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: theflori on November 04, 2006, 01:28:33 PM

Title: Comment Box in Cell
Post by: theflori on November 04, 2006, 01:28:33 PM
Hello!

i have a little problem, i want set the comment box ($template_image_comments + $template_add_your_comment) in a Table, looks like the screenshot i added
is it possible?

Title: Re: Comment Box in Cell
Post by: Gizmo on November 04, 2006, 02:32:40 PM
Paste this selector into your style.css and upload.

#comments {
    border: 2px solid #F704FC;
}


The reason this works is because there's already a <div> with this selector in the code. You can check this by looking at function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip) in the sample>theme.php file. You may also have this in your theme.php if you are using a customized theme.
Title: Re: Comment Box in Cell
Post by: theflori on November 04, 2006, 02:53:43 PM
ah thanks, and when i want to create a frame like these on the next screen?
i use border like these on all the screen but i dont know i how can i set a table
all commens (like pink border)

sry for bad englisch
Title: Re: Comment Box in Cell
Post by: Gizmo on November 04, 2006, 03:16:47 PM
You change the size, style and color. Here's some additional styles you can use - http://www.w3schools.com/css/pr_border-style.asp (http://www.w3schools.com/css/pr_border-style.asp). Not sure how you get the exact one you want so play with it until your happy.