CSS Issues

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
josh2010
Forum Members
Forum Members
Posts: 15
Joined: Thu Dec 13, 2007 1:02 am

CSS Issues

Post by josh2010 »

Hello Everyone,

I am making a web site for a local fireworks show and I am having CSS issues. I have two columns setup via the CSS and one column is shorter than the other which causes the shorter one to show the background. Please view my code at the link, it is in a primitive state. I don't want to develop it anymore until this issues is resolved.

http://www.quavu.com/lakes/

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

Re: CSS Issues

Post by kermit »

not a cmsms issue, but there's a solution IN cmsms.

apply the clearfix auto-clearing solution to your contentwrapper. you should find the css in the "tools" stylesheet that comes with the sample content.
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
josh2010
Forum Members
Forum Members
Posts: 15
Joined: Thu Dec 13, 2007 1:02 am

Re: CSS Issues

Post by josh2010 »

No it's not a CMSMS issue but the people here are really intelligent and I knew that I would get an intelligent answer.

And I applied the clearfix and it did not work
Last edited by josh2010 on Tue Jun 17, 2008 8:00 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CSS Issues

Post by Dr.CSS »

Try switching the left and right div order in your template...

Right div before left div...
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: CSS Issues

Post by kermit »

josh2010 wrote:
And I applied the clearfix and it did not work
it did here.. at least in firefox



and stick the clearfix css in your stylesheet (which it already is)

before:
Image

after:
Image


note the clearfix class goes on the container that has the floated elements.. not on the floated elements themselves; so take it off the rightcolumn div.
Last edited by kermit on Wed Jun 18, 2008 9:55 am, edited 1 time in total.
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
josh2010
Forum Members
Forum Members
Posts: 15
Joined: Thu Dec 13, 2007 1:02 am

Re: CSS Issues

Post by josh2010 »

The clearfix does not work in IE 7 and switching the right and left divs did not work either. Any CSS tweaks anyone can think of?

Thanks
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am
Location: USA

Re: CSS Issues

Post by Ziggywigged »

use tables
... runs and hides.

just kiddin' ;D

nothing useful to add.
Take a penny, leave a penny.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CSS Issues

Post by Dr.CSS »

Like kermit said, put the clearfix on contentwrapper to help IE6 then add the CSS below for IE7, no need to switch the divs...

The red part is for targeting IE7 only...

*:first-child+html #contentwrapper {
height: 1%
}

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

Re: CSS Issues

Post by kermit »

oh, yea. i forgot about my ie7 hack for the clearfix hack... perhaps the default cmsms template stylesheet needs a little updating.
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)”