Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 01-03-2011, 11:15 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I know what you're referring to. Getting the inner DIVs to resize. I can get equal size columns pretty easily, but there's an overflow problem when there's nowrapped text.

But...

I think there's a way around this. I certain there is. I just haven't finished my first year at it yet...>_>
Reply With Quote
  #22  
Old 01-03-2011, 11:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you find a way around it, then you are doing better than others that have been doing CSS for a long time. They state it can't be done like it can in tables for things like that.

It isn't so much equal size columns as it is getting the columns to align the info properly. Take a closer look at the pic below and you will see what I mean. I think you're missing what I actually meant.
Attached Images
File Type: png CSS_no_can_do.png (11.8 KB, 0 views)
Reply With Quote
  #23  
Old 01-03-2011, 11:55 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Well, if you find a way around it, then you are doing better than others that have been doing CSS for a long time. They state it can't be done like it can in tables for things like that.

It isn't so much equal size columns as it is getting the columns to align the info properly. Take a closer look at the pic below and you will see what I mean. I think you're missing what I actually meant.
Are you referring to getting the info on the left to properly align with the info on the right? Well, yeah, I can do that. Only as long as the text doesn't wrap. But that, in of itself, creates the problem with the columns resizing to fit the content, which I've been trying to figure out. Maybe I'm misunderstanding you.
Reply With Quote
  #24  
Old 01-04-2011, 12:16 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the date is longer than the other dates, the right column adjusts to fit that so everything is lined up like you see in the pic. That can NOT be done with CSS, no matter how hard you try. I had to use a table and 2 TDs to get it to look like that. I scoured the net for an answer to doing it with CSS and the only way it can be done is with a table and TDs. If you can do it then I will eat my words and make sure all the CSS guys on the net that say it can't be done are made aware of your magical powers.
Reply With Quote
  #25  
Old 01-04-2011, 01:26 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
If the date is longer than the other dates, the right column adjusts to fit that so everything is lined up like you see in the pic. That can NOT be done with CSS, no matter how hard you try. I had to use a table and 2 TDs to get it to look like that. I scoured the net for an answer to doing it with CSS and the only way it can be done is with a table and TDs. If you can do it then I will eat my words and make sure all the CSS guys on the net that say it can't be done are made aware of your magical powers.
I think we're talking about the same thing, and not. By resize, I mean I can't get the width to adjust for the content in either column if each line is set to nowrap. So, I can get:
-----------------------------
| Date 1 | Event Two
| Date 2 | Event Three
----------------------------
To line up as rows evenly. But if, say, Date 123456789 is the next event, I can't get that column to resize, as a direct result of the method that puts them side by side to being with. Ironically, the left alignment stays even. They just overlap.

So, I think we're in agreement in some respect.
Reply With Quote
  #26  
Old 01-04-2011, 01:33 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly! It can't be done with CSS if the first column has different length lines.
Reply With Quote
  #27  
Old 01-04-2011, 01:57 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Exactly! It can't be done with CSS if the first column has different length lines.
You see, I don't think it's impossible. But I think a different method needs to be developed. Kinda like what they did with dealing with clearing.
Reply With Quote
  #28  
Old 01-04-2011, 02:05 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is impossible the way CSS is now.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04051 seconds
  • Memory Usage 2,258KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete