vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Styling vB4 is a lot harder than styling vB3 (https://vborg.vbsupport.ru/showthread.php?t=251232)

Digital Jedi 01-03-2011 11:15 PM

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...>_>

Boofo 01-03-2011 11:22 PM

1 Attachment(s)
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.

Digital Jedi 01-03-2011 11:55 PM

Quote:

Originally Posted by Boofo (Post 2143581)
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.

Boofo 01-04-2011 12:16 AM

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. ;)

Digital Jedi 01-04-2011 01:26 AM

Quote:

Originally Posted by Boofo (Post 2143613)
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.

Boofo 01-04-2011 01:33 AM

Exactly! It can't be done with CSS if the first column has different length lines.

Digital Jedi 01-04-2011 01:57 AM

Quote:

Originally Posted by Boofo (Post 2143643)
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.

Boofo 01-04-2011 02:05 AM

It is impossible the way CSS is now.


All times are GMT. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01082 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete