Content and footer problem in 2 column layout

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
Neo
Forum Members
Forum Members
Posts: 62
Joined: Thu Jan 18, 2007 1:09 am

Content and footer problem in 2 column layout

Post by Neo »

Hi,
  I have a problem in aligning the content of a two-column layout. The content is overflowing the text area where it is supposed to be present and the footer is going below the right hand side block instead of appearing at the bottom of the page.

The link to the page is below.

http://cms.ce.gatech.edu/gwri/home/.

The problem seems to be reproduced in Firefox alone but works fine in Internet explorer  :(. Any idea how should i handle this?

Thanks,
Neo
heatherfeuer

Re: Content and footer problem in 2 column layout

Post by heatherfeuer »

I took a quick look at your source code.  I'd say it's most likely that you missed a closing somewhere (possibly included inadvertently in the commented out portion).  That may be why the content is "overflowing" its container.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Content and footer problem in 2 column layout

Post by kermit »

easy way to fix the layout is to insert a "clearing div" after the 2nd column:

     
     
     

(unrelated to layout problem) markup validation issues:

some image tags aren't closed properly (for xhtml doctype).. they should be closed with " />"
[/b]

another thing the validator is complaining about is nesting inside of . remove the tags that wrap the calendar table and apply a style to the table instead.. try: style="font-size:85%;width:100%;"
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
User avatar
Neo
Forum Members
Forum Members
Posts: 62
Joined: Thu Jan 18, 2007 1:09 am

Re: Content and footer problem in 2 column layout

Post by Neo »

Thanks kermit and heatherfueuer. It resolved the problem which I had mentioned  :). I will also try the suggestions for the font tag and image tag.

But how do you know what errors the validator is reporting? :-\ Because I was not aware of these errors before kermit reported them to me!

Thanks,
Neo
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Content and footer problem in 2 column layout

Post by RonnyK »

Neo,

if you use FF, you can install some additional tools, that help in developing.

http://forum.cmsmadesimple.org/index.ph ... l#msg54320

You can also add a tag to your template {valid_xhtml} that opens the validation-result on clicking for the page your on.

Ronny
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Content and footer problem in 2 column layout

Post by kermit »

html validator (pictured), firebug, and web developer toolbar (firefox extensions) are a few must-have tools for any web designer or developer...

firebug is great for examining how styles get inherited, i prefer the web developer toolbar's in-place html/css editing to firebug's (simpler, faster), and the html validator gives on-the-fly, near-instant validation test results (runs on the local pc, doesn't upload files to a web site to validate). both firebug and the web developer toolbar have A LOT of features and tools.

also note that your right side float falls as the browser (firefox, here) width is narrowed (and before it hits min width)... see attachment.

[gelöscht durch Administrator]
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “Layout and Design (CSS & HTML)”