Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    12
    Member #
    29525
    I'm not sure if this makes a difference, but the columns I currently have set up in the layout have different "div class" boxes within each column. Is it possible to keep these columns even no matter how much content I put in either column (in each respective box per column)?

    I've found tutorials where this is possible, but the columns in these tutorials only have one box per column, as opposed to my layout. I've attached a screenshot of what I have so far.

    As you can tell, only the left column (content) would fluctuate a lot and I'd like to have the bottom box in the right column remain that size, so the first top two boxes in the right column would change. Is it possible to ensure the columns all remain the same size no matter the amount of variable content?

    Thank you!
    Attached Images Attached Images

  2.  

  3. #2
    Senior Member MHometchko's Avatar
    Join Date
    Oct 2011
    Posts
    106
    Member #
    29723
    Liked
    19 times
    I'm not very clear on what you are asking. Could you possibly clarify?

    What I believe you are trying to achieve is what is called "liquid markup"... or auto-scaling of elements to preserve a pages pseudo-aspect ratio (kind of, i guess). In other words, are you looking to make it so when you resize the window the boxes, text, and images change size accordingly?

  4. #3
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  5. #4
    Junior Member
    Join Date
    Oct 2011
    Posts
    12
    Member #
    29525
    Quote Originally Posted by MHometchko, post: 222583
    I'm not very clear on what you are asking. Could you possibly clarify?

    What I believe you are trying to achieve is what is called "liquid markup"... or auto-scaling of elements to preserve a pages pseudo-aspect ratio (kind of, i guess). In other words, are you looking to make it so when you resize the window the boxes, text, and images change size accordingly?
    More or less "auto-align" the right and left column heights, yes. Basically, now matter how much content I put into either column (left or right), the other would automatically detect the height change and remain the same height (remain even). However, I'm not sure if this is possible because I want only the top two boxes of the right column to change height (because the "Contact" box would always remain the same).

  6. #5
    Junior Member
    Join Date
    Oct 2011
    Posts
    12
    Member #
    29525
    However, my issue is that I have tables within my div group's already.

  7. #6
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by frabjousday, post: 222627
    However, my issue is that I have tables within my div group's already.
    Tables - I don't know how to resolve that one, it's been so long since I designed anything with tables.
    Could you change your tables into <div>'s?
    Can you post a link rather than an image, so we could look at the code and see what can be done.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #7
    Junior Member
    Join Date
    Oct 2011
    Posts
    12
    Member #
    29525
    Quote Originally Posted by AlphaMare, post: 222648
    Tables - I don't know how to resolve that one, it's been so long since I designed anything with tables.
    Could you change your tables into <div>'s?
    Can you post a link rather than an image, so we could look at the code and see what can be done.
    I might have to end up taking out the tables, but my code is too long to upload onto here. Here's a link to my public dropbox:

    http://dl.dropbox.com/u/41744567/irth.thursdaynew.html (HTML file)

    http://dl.dropbox.com/u/41744567/code.rtf (text file)

  9. #8
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    OK - I took a look at your code, and sorry, but it's a bit of a mess. I'd advise you to get all the CSS into an external file - that will slim down the HTML code enough that it can more easily be read to find the problem. It will also make it less complicated if you want to try taking out the tables and using <div>s and the CSS for positioning.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  10. #9
    Junior Member
    Join Date
    Oct 2011
    Posts
    12
    Member #
    29525
    Quote Originally Posted by AlphaMare, post: 222734
    OK - I took a look at your code, and sorry, but it's a bit of a mess. I'd advise you to get all the CSS into an external file - that will slim down the HTML code enough that it can more easily be read to find the problem. It will also make it less complicated if you want to try taking out the tables and using <div>s and the CSS for positioning.
    I do realize that I need to clean up the code, but I avoided using an external file for my CSS because I don't have my own server and this code is just for a client who will use it as an e-newsletter.

  11. #10
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    I've pondered this one a couple of days, and even created a simple markup.

    About the only way I can figure how to do this would be some special scripting for word count and line spacing.

    I believe what you are asking for is very difficult using just CSS and HTML. Again, it can be done with some scripting to dynamically adjust your line height and or padding between boxes. Unless of course you want different size fonts in each and every box on the page. Then it's just a percentage and math thing.

    I may be wrong though


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:54 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com