ASP.NET
--
Questions
--
Followers
Top Experts
<center>
<div class="slideshow">
<img src="img/Carousel Photos/keck-medical-center
<img src="img/Carousel Photos/medical-plaza-banne
<img src="img/Carousel Photos/quad-with-keck-sign
<img src="img/Carousel Photos/USC_pdd_0147.jpg" alt="Doctor" width="375" height="236"/>
</div>
<div class="facebook" align="center">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FKeck-Medical-Center-of-USC%2F276536222387052&width=238&colorscheme=light&show_faces=true&border_color=%23990000&stream=false&header=false&height=258" scrolling="no" frameborder="2px" style="overflow:hidden; width:238px; height:258px;" allowTransparency="true"><
</div>
<ul id="ticker01">
<li><span>1/19/2012</span>
<li><span>1/19/2012</span>
<li><span>1/19/2012</span>
<!-- eccetera -->
</ul>
</center>
Site.Master
base.css
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
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.
I want to center it in any resolution. Will the margin tag accommodate this? thank you.
Try this for your CSS .facebook:
.facebook {
border: 20px none black;
margin:0 auto;
width: 230px;
}






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.CategoryDiv li
{
margin-top:3px;
width: 800px;
}
<div class="Centering">
<div class="slideshow">
<img src="img/Carousel Photos/keck-medical-center
<img src="img/Carousel Photos/medical-plaza-banne
<img src="img/Carousel Photos/quad-with-keck-sign
<img src="img/Carousel Photos/USC_pdd_0147.jpg" alt="Doctor" width="375" height="236"/>
</div>
<div class="facebook" align="center">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FKeck-Medical-Center-of-USC%2F276536222387052&width=238&colorscheme=light&show_faces=true&border_color=%23990000&stream=false&header=false&height=258" scrolling="no" frameborder="2px" style="overflow:hidden; width:238px; height:258px;" allowTransparency="true"><
</div>
<ul style=" margin:0 auto;width: 800px;" id="ticker01">
<li><span>1/19/2012</span>
<li><span>1/19/2012</span>
<li><span>1/19/2012</span>
<!-- eccetera -->
</ul>
</div>

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
.Centering{margin:0 auto;}






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.slideshow{margin:0 auto;}

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
<script type="text/javascript">
$(document).ready(function
$('.slideshow').cycle({
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
$(function () {
$("ul#ticker01").liScroll(
});
});
</script>
<div class="Centering">
<div class="slideshow">
<img src="img/Carousel Photos/keck-medical-center
<img src="img/Carousel Photos/medical-plaza-banne
<img src="img/Carousel Photos/quad-with-keck-sign
<img src="img/Carousel Photos/USC_pdd_0147.jpg" alt="Doctor" width="375" height="236"/>
</div>
>>>Is there a way to add additional style to that div besides the class?
You could just do this:
<div class="slideshow Centering">






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Add float:left to the following elements:
.slideshow
Add clear:both to the following elements:
.tickercontainer
Finally add margin-top:20px; to the following:
.slideshow
Let me know






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASP.NET
--
Questions
--
Followers
Top Experts
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications