Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 10-27-2009, 02:54 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 2
OS: Windows 7


Urgent HTML/CSS Help wiil REWARD!

So I am running on IPB 3.0.4 and decided to try to implement dual columns for one of my sections. So, I got it to display in dual columns using the css/html below. Now, the descriptions wont go to a second line like normal forums, it will just cause the actual forum to just disappear.

What I mean is, if you are on a low res screen, and you cant fit the entire description on a single line, it will continue onto a second line right below. But, it will not do so...it just freaks out...causing the forum to disappear.

Secondly, the other forums expand when they need to (down) so that it can fit the description and the sub forums, but on this dual column I have created it does not expand...the gradient stays the same...and the black splace just below the gradient also doesn't expand.

I really need help and if this can be completed by today you will be REWARDED.

The HTML

Code:
<!--DUAL COLUMN -->                 
                    <div class='category_block block_wrap'>
						<div class="main_cat_heading"><div class="mch_r"><div class="mch_l">                        
                        <h3 id='category_{$_data['cat_data']['id']}' class='maintitle'><a class='toggle right' href='#' title='{$this->lang->words['toggle_cat']}'>{$this->lang->words['toggle_cat']}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['view_cat']}'>{$_data['cat_data']['name']}</a></h3>
                        </div></div></div><!-- end main_cat_heading and sides -->
                        <div class="mcs_r"><div class="mcs_l">
                        <div class="dc_header">                        
                        
                        </div>
						<div class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'">
						<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">                        
						<div class="dc_section" style="width: 50%; float: left;">
                            <div class="cat_icon_bg">
                            				<if test="unreadicon:|:$forum_data['img_new_post'] != 'f_locked' && strstr( $forum_data['img_new_post'], 'unread' )">
												<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$this->request['f']}&amp;i=1" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'>
													{parse replacement="{$forum_data['img_new_post']}"}
												</a>
									
												<script type='text/javascript'>
													ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "{$forum_data['id']}" );
												</script>
											<else />
												{parse replacement="{$forum_data['img_new_post']}"}
											</if>
                            
                            </div>
							<div class="dc_content" style="word-wrap: break-word">
                            <h2><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h2>

							<p class='desc' style="word-wrap: break-word">{$forum_data['description']}</p>
                            </div>                      
						</div>                        
						</foreach>
                        <div class="clear"></div>
						</div><!-- end ipb table -->

The CSS

Code:
/*** Dual Column Styles ***/
.dc_section {
       border-top: 1px solid #1b1b1b;
       height: 65px;
       width: 50%;
       background:#000000 url({style_images_url}/row_bg.jpg) repeat-x top;
       float: left;
}

.dc_section .dc_content {
        margin: 10px 15px;
        float: left;

       
}

.dc_section .cat_icon_bg {
       background:#000000 url({style_images_url}/cat_icon_bg.jpg) no-repeat left top;
       border-right: 1px solid #1b1b1b;
       float: left;
       padding: 10px;
       height: 45px;
       width: 50px;
       word-wrap: normal;
       clear: both;
}

.dc_section .dc_content h2 {
       margin: 0;
       padding: 0;
       word-wrap: normal;
       clear: both;
}

.dc_section .dc_content h2 a{
       text-decoration: none;      
       font-size: .65em;
       word-wrap: normal;
       clear: both;
}

.dc_section .dc_content .desc {
        font-size: 0.9em;
        word-wrap: normal;
        clear: both;
}

.dc_header {
        background:#012150 url({style_images_url}/t_header_bg.jpg) repeat-x top;
        height: 31px;
}
.div {
       word-wrap: break-word; }
GlobalRise is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-28-2009, 05:32 PM   #2 (permalink)
Troubled
 
Join Date: May 2009
Posts: 71
OS: Computer = WXP, Server = linux w/ php 5


Re: Urgent HTML/CSS Help wiil REWARD!

try breaking it up into multiple <p> tags
so like 1/4 the sentence within one <p> tag, and so forth
calthephenom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-28-2009, 06:53 PM   #3 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,417
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 BETA

My System

Re: Urgent HTML/CSS Help wiil REWARD!

So, then ea
ch sentence
would look li
ke this?

Can we have a link for the site in question? I'm having a hard time picturing this.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-28-2009, 11:43 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 2
OS: Windows 7


Re: Urgent HTML/CSS Help wiil REWARD!

For links please contact me via AIM or MSN.

xshiftworks and shiftworks@live.com
GlobalRise is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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 -7. The time now is 01:04 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85