Link to home
Start Free TrialLog in
Avatar of jbrashear72
jbrashear72

asked on

Div area dropped down below left column

I added some videos and it seem that the videos on the left is causing the middle content area to drop down.
can some one look at this and give me an idea of what is wrong and how I can correct this?

http://www.belezamedicalspa.com/spa-services/medical-spa/redefine/smart_lipo_austin/

Thank you.
Avatar of CCSOFlag
CCSOFlag
Flag of United States of America image

remove the bolded css below:

.three-column-content-specials {
  border-right: 1px solid #EEEEEE;
 clear: both;
  float: right;
 margin-right: -20px;
  margin-top: -960px;

  padding-right: 15px;
  width: 335px;
}

.entry-content, .entry-summary {
 clear: both;
  padding: 12px 0 0;
}
Avatar of jbrashear72
jbrashear72

ASKER

remove all the code you added?
no, the code above that is in bold, remove it from your css files.  LEave the non-bold stuff.
gotcha
on your div class= .three-column-content-specials
change clear: both to clear: none

That'll fix it.
on your div class= .three-column-content-specials
change clear: both to clear: none

there is no point in having clear: none;  that's default for an element.  Thus it should be removed, otherwise you are taking up unnecessary space in your css files.
sorry, noob hre. what stylesheet was that in? I dont see it in styles.css
CCSO - Thought it'd make sense to just remove clear: both so as not to break anything that uses the entry class.
jbra - smart lipo austin #4 is the stylesheet
ASKER CERTIFIED SOLUTION
Avatar of CCSOFlag
CCSOFlag
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just an FYI, not sure who built the page, but your styles should be in the <head> tag not within the body tag.
Thought it'd make sense to just remove clear: both so as not to break anything that uses the entry class.

Oh I gotcha.  You're just trying to override it.  I checked and I didn't see anything break.
jbra - smart lipo austin #4 is the stylesheet
That's what happens when I'm not thorough!