Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2005, 08:15 AM
Dragonsi's Avatar
WebProWorld Veteran
 

Join Date: Dec 2003
Location: Wales (UK)
Posts: 343
Dragonsi RepRank 0
Default A CSS question

Hi all,

I am curretnly in the middle of designing a new site (nothing online yet) and have discovered a formatting problem that I hope can be resolved with a simple CSS command.

The site has a header table at the top and then the main content table below is split into 2 columns. The left hand side is for the main content and the right hand column has within it another table that is formatted by CSS and contains the site links etc. My problem is that when the main content grows beyond the height of the right hand site links table, the right hand site links table does not expand to match the height of the main content and a white space is produced below the site links table.

Is there a CSS command that allows this right hand table to remain the same height as the main content table?

If I have not explained this easily enough, I can put a page up for you to see what I mean...
__________________
www.westwalesweb.com
Website development & ICT solutions.
Reply With Quote
  #2 (permalink)  
Old 08-30-2005, 10:55 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 862
speed RepRank 1
Default

If I'm understanding you, then I normally fix this by setting the background colour/image on the containing element, i.e. you colour up the cell holding the links table to mask the fact that the links tables is short.
__________________
US & UK Web Hosting with hourly backups | Hosting Affiliate Scheme | Web Directory 2 for 1 Offer
Reply With Quote
  #3 (permalink)  
Old 08-30-2005, 04:18 PM
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Winter Park, FL
Posts: 605
KeithO RepRank 0
Default

Quote:
Originally Posted by speed
If I'm understanding you, then I normally fix this by setting the background colour/image on the containing element, i.e. you colour up the cell holding the links table to mask the fact that the links tables is short.
Thats what I would do as well. So it'd be

Code:
<div class="wrapper">
 <div class="left_column">text</div>
 <div class="right_column">links</div>
</div>
Reply With Quote
  #4 (permalink)  
Old 08-30-2005, 04:56 PM
swstyles's Avatar
WebProWorld Pro
 

Join Date: Aug 2003
Location: Phoenix, AZ
Posts: 167
swstyles RepRank 0
Default

Just a test post, I haven't posted in a while.

But that css call will work.

Daniel
__________________
Daniel M: South West Styles/STEELid
daniel@steelid.com
http://www.steelid.com
http://www.thephototool.com
Reply With Quote
  #5 (permalink)  
Old 08-31-2005, 09:28 PM
Dragonsi's Avatar
WebProWorld Veteran
 

Join Date: Dec 2003
Location: Wales (UK)
Posts: 343
Dragonsi RepRank 0
Default

I think I have solved this issue, I split the right hand links coloum into 2 rows and placed a table in the top row and one in the bottom, the top table was then given an align="top" while the bottom was given a align="bottom".

In case you are totally confused, please take a look at..

www.testsite2.dragonsi.co.uk/links

Note the blue column on the right, no matter how much you change the res of the window, this coloumn should remain 100% of the height.... Please let me know if it doesn't.

PS - there are only a few pages currently present on this site.
__________________
www.westwalesweb.com
Website development & ICT solutions.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0