How to style this so the facebook plugin is aligned on the bottom?
How can I have <div class="slideshow"> and <div class="facebook" align="center"> next to each other, aligned at the bottom? Right now, the <div class="facebook" align="center"> is below facebook. Thank you.
It seems to work for the facebook plugin but not for the other 2 components. I tried putting the class Centering but that doesn't do it. I added it to the ticker01 but that doesn't work either. And I don't think I can edit the slideshow css since it's part of the jQuery plugin. And 2 items, facebook and the slideshow are still not displayed on the same level and aligned at the bottom. thank you.
Oops, sorry, I added it to the class below it by mistake. please check now but it still not working though. Thank you.
LZ1
Ok great. Now all you need to do is make a slideshow class to your CSS and add the same margin:0 auto. Like this:
.slideshow{margin:0 auto;}
lapucca
ASKER
so there will be 2 slideshow css class? One in my base.css and one with jQuery plugin css? How would that work? Both classess will be merged into one and used by the page?
You don't need 2 of them, but I didn't see any declarations in your page for the slideshow when I used Firebug. I can only see the inline style that the Jquery is setting.
lapucca
ASKER
It's in the asp.net master file. I have to name the images div to .slideshow according to jQuery plugin. Why isn't it picking up the parent div tag's class of Centering? Is there a way to add additional style to that div besides the class? Thank you.
okay, you're rigth. Jquery uses that css clss name but I can still create that class in my base.css. However, that seems to center the image location but the images and the facebook are still not aligned next to each other and lined up at the bottom. Thank you.
LZ1
So both the FB box and the slideshow should be next to each other????????
lapucca
ASKER
I put a wrapper class around those 2 components. yes, I would like the image and the facebook on the same level and aligned at the bottom.
I mean, both component should "aligned" at the bottom, basically, so they look like they're on the same level horizontally. Right now one is on top of the other. Thank you.
LZ1
Ok ready?
Add float:left to the following elements:
.slideshow
.facebook
Add clear:both to the following elements:
.tickercontainer
Finally add margin-top:20px; to the following:
.slideshow
Thank you so much for your patience and it is coming together nicely. First, I can't edit the tickercontainer class. That is a jQuery class for its plugin for the news ticker. I did everything else you mentioned and you can see it looking nice in IE but completely messed up in FireFox. I don't know what could be causing this. Thank you.
The first thing that has to go is the <center> tag. That tag is depreciated and should not be used.
>>>http://www.w3schools.com/tags/tag_center.asp
The proper way to center block-level elements is to give it a width and use margin:0 auto;.
A live link, even if an example would help us help you much easier.