3 columns responsive layout issues - responsive-design

Does anybody know why a 3rd child in a 3 column fluid layout would drop down to the next line when there is no media query set at the point it moves?
I get the feeling its something to do with padding but I've tried removing all the padding and it still does it (all be it at a slightly different point).
The site is currently in WP Coming Soon Mode but if someone were able and willing to have a look at it I could probably put it live for a bit. Its driving me crazy!
As I don't have the adequate rating on here yet I'm not permitted to show photos so perhaps a link to them will work?
This is it at 1006px - this is fine.
CLICK HERE TO VIEW - Sample 1
This is how it looks when the size is taken down to 1001px - Not fine!
I expected it to scale and stay at 3 columns until it hits the first media query set at 889px but it doesn't. instead it does this...
CLICK HERE TO VIEW - Sample 2
AND THIS IS IT BEHAVING ITSELF, DOING AS I HAVE SET IT TO AT THE GIVEN 889px QUERY - fine.
... well I'm not permitted to post more than 2 links here so you are going to have to take my word for it here :(
This is the code:
<div id="Thepagewrap">
<div id="Theheader">
<h1>3 Column Responsive Layout</h1>
</div>
<div id="Thecontent">
<h2>1st Content Area</h2>
<p>This page demonstrates a 3 column responsive layout, complete with responsive images and jquery slideshow.</p>
</div>
<div id="Themiddle">
<h2>2nd Content Area</h2>
<p>At full width all three columns will be displayed side by side. As the page is resized the third column will collapse under the first and second. At the smallest screen size all three columns will be stacked on top of one another.</p>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
</div>
<div id="Thesidebar">
<h2>3rd Content Area</h2>
<p>At full width all three columns will be displayed side by side. As the page is resized the third column will collapse under the first and second. At the smallest screen size all three columns will be stacked on top of one another.</p>
</div>
<div id="Thefooter">
<h4>Footer</h4>
<p>Footer text</p>
</div>
</div>
CSS
/* STRUCTURE */
#Thepagewrap {
padding: 5px;
}
#Theheader {
height: 100px;
padding: 0 15px;
}
#Thecontent {
float: left;
padding: 5px 15px;
width: 29%;
}
#Themiddle {
float: left;
margin: 0 6px 6px;
padding: 5px 15px;
width: 30%;
}
#Thesidebar {
float: left;
padding: 5px 15px;
width: 29%;
}
#Thefooter {
clear: both;
padding: 0 15px;
}
#Thepagewrap, #Theheader, #Thecontent, #Themiddle, #Thesidebar, #Thefooter {
border: solid 1px #ccc;
}
#Theheader, #Thecontent, #Themiddle, #Thesidebar {
margin-bottom: 5px;
}
#media screen and (max-width: 889px){
#Thepagewrap {
width: 94%;
}
#Thecontent {
width: 41%;
padding: 1% 4%;
}
#Themiddle {
width: 41%;
padding: 1% 4%;
margin: 0px 0px 5px 5px;
float: right;
}
#Thesidebar {
clear: both;
padding: 1% 4%;
width: auto;
float: none;
}
#Theheader, #footer {
padding: 1% 4%;
}
}
#media screen and (max-width: 600px) {
#Thecontent {
width: auto;
float: none;
}
#Themiddle {
width: auto;
float: none;
margin-left: 0px;
}
#Thesidebar {
width: auto;
float: none;
}
}
#media screen and (max-width: 480px) {
#Theheader {
height: auto;
}
h1 {
font-size: 2em;
}
#Thesidebar {
display: none;
}
}

Difficult to be sure without having a live URL to inspect. Often this sort of problem is due to margins and paddings breaking an underlying grid, but in this case the following looks problemaatic to me
#media screen and (max-width: 889px){
...
#Thesidebar {
clear: both; <===== why is this here?
padding: 1% 4%;
width: auto;
float: none;
}
}

Related

React Bootstrap Alert Dismissible Button Without style

I have this alert that I want to have an "X" button to dismiss the alert, but it doesn't have the bootstrap style. I already tried set the closeLabel to an empty string but don't fix the style issue
How should it be:
Here is the code:
<Alert variant="danger" onClose={() => setShowMessage(false)} dismissible>
<Alert.Heading>Oh snap! You got an error!</Alert.Heading>
<p>
Change this and that and try again. Duis mollis, est non commodo
luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
Cras mattis consectetur purus sit amet fermentum.
</p>
</Alert>
I have same problem.
found one post similar here but dontk work for me. But for the moment (until found a real solution) I use class ".close{}" (you can see it in the insperctor of the element) and modify css format for the button.
My css:
enter code here
.close ::before{
content: 'X';
visibility: visible;
color: "black";
font-weight: bold;
}
.sr-only::before{
visibility: hidden;
}
.close{
/*background-color: red; */
visibility: hidden;
position: absolute;
right: 32px;
top: 10px;
width: 20px;
height: 20px;
background-color: rgb(247, 12, 12, 0.5);
}

How to add line breaks within tooltip in angular material design

How to add line break in tooltip
I have implemented the Tooltip but i am not able to add multi line or line breaks in tooltip.Below is my code
http://codepen.io/apps4any/pen/RWQLyr
Html
<div ng-controller="AppCtrl" ng-cloak="" class="tooltipdemoBasicUsage" ng-app="MyApp">
<md-content layout-padding="">
<md-button class="md-fab md-fab-top-right right" aria-label="Photos">
<md-icon md-svg-src="img/icons/ic_photo_24px.svg" style="width: 24px; height: 24px;"></md-icon>
<md-tooltip>
List1<br>
List2<br>
List3<br>
List4
</md-tooltip>
</md-button>
<div style="margin-top: 150px;">
</div>
</md-content>
</div>
CSS:
.tooltipdemoBasicUsage md-toolbar .md-toolbar-tools .md-button, .tooltipdemoBasicUsage md-toolbar .md-toolbar-tools .md-button:hover {
box-shadow: none;
border: none;
transform: none;
-webkit-transform: none; }
.tooltipdemoBasicUsage .left {
top: 70px !important;
left: 56px !important; }
.tooltipdemoBasicUsage .right {
top: 70px !important;
right: 56px !important; }
JS
angular.module('MyApp')
.controller('AppCtrl', function($scope) {
$scope.demo = {};
});
Adding this CSS seems to work in your case (with the <br>s):
md-tooltip .md-content {
height: auto;
}
I'm not sure why Angular-Material hard-coded the height to 22px. You'll need to check whether this change breaks other tooltips.
Or you can apply it specifically to this use case only by giving it a class, e.g. tt-multiline, so you can target it in CSS:
md-tooltip.tt-multiline .md-content {
height: auto;
}
Edit: Starting from Angular-Material 1.1, some class names have changed to start with a underscore.
In this case use
md-tooltip ._md-content {
height: auto;
}
and for specific class
md-tooltip.tt-multiline ._md-content {
height: auto;
}
Since angular-material version >1.1.2 you can simply override .md-tooltip class: (JsFiddle)
.md-tooltip {
height: auto;
}
And if you want to style a particular tooltip, add a custom class to md-tooltip element:
(jsFiddle)
HTML
<md-tooltip class="tooltip-multiline">
I'm a multiline <br/> tooltip
</md-tooltip>
CSS
.tooltip-multiline {
height: auto;
}
both cases tested in angular-material 1.1.2, 1.1.3 and 1.1.4 versions
Set the max-with's below to what ever you need. Now it will do automatic line breaks or put a <br/>
into it.
md-tooltip .md-content {
height: auto !important;
max-width: 200px !important;
font-size: 13px !important;
}
md-tooltip {
height: auto !important;
max-width: 200px !important;
font-size: 13px !important;
overflow: visible !important;
white-space: normal !important;
}
md-tooltip ._md-content {
height: auto !important;
max-width: 200px !important;
font-size: 13px !important;
}
You can view the styling for md-tooltip (v0.11.4) here: https://cdnjs.cloudflare.com/ajax/libs/angular-material/0.11.4/angular-material.css
My own overwrites to the material design styling to allow nice looking multi-line tooltips:
md-tooltip {
font-family: Roboto, 'Helvetica Neue', sans-serif;
.md-background {
border-radius: inherit;
}
.md-content {
height: auto;
width: 400px;
max-width: 400px;
padding: 8px;
white-space: initial;
}
}
#media screen and (min-width: 600px) {
md-tooltip .md-content {
font-size: 14px;
height: auto;
width: 300px;
padding: 8px;
max-width: 300px;
}
}
Or you can use white-space: pre-line; in the custom class of your md tooltip. :)
After a while searching for a solution FROM A VARIABLE CONTENT:
.ts
public matTooltipContent: string = 'Line 1 comment\nLine 2 comment\nLine 3 comment'
.html
<button mat-icon-button aria-hidden="false" class="material-icons-outlined"
[matTooltip]="matTooltipContent"
matTooltipClass="allow-cr"
(click)="onInfoButtonClicked($event)">
<mat-icon >help_outlined</mat-icon>
</button>
.css
.allow-cr {
white-space: pre;
}
See stackblitz example
I am using angular_material 1.1.8, for me single answer didn't work, a combination did.
html
<md-tooltip class="tooltip-multiline">Years ago, when I was backpacking...</md-tooltip>
css
.tooltip-multiline {
height: auto;
white-space: pre-line;
max-width:300px;
line-height: 14px; /*optional*/
font-weight:200;/*optional*/
letter-spacing: 0.5px; /*optional*/
font-size:11px;/*optional*/
}
Hope it helps..
angular material tool tip is warping all content in div so this its working
<md-tooltip class="tooltip-multiline" md-direction="left">
This is tooltip
</md-tooltip>
.tooltip-multiline div{
height: auto;
}

Absolutely positioned content of flexlider slides, disappear on mobile iOS safari and chrome and desktop safari, but not on desktop

I am using flexslider but i don't necessarily know if this is a flexslider problem or just to do with how I have positioned the contents of each slide.
Basically, I have a left block of text, and a right hand side image on each slide... when this responds to mobile devices, I stack them vertically using absolute positioning.
This seems to work file when previewed on desktop, however when I load it on my iphone, or on Safari, the contents of each slide disappear.
I cant for the life of me figure out why this is, as it seems fine on chrome.
To view the site, click below:
toddpadwick.co.uk/main-index.html
Can any one help? im really struggling here!
the contents of each slide are as follows: (i have simplified it for the purpose of this post)
<ul class="slides">
<li><!-- slide-->
<div class="caption"><!-- THIS IS THE LEFT SIDE TEXT BOX -->
<div class="title">
lorum ipsum dolar sit amet
</div><!-- END TITLE -->
</div><!-- END CAPTION -->
<div class="teaser"><!-- THIS IS THE RIGHT HAND SIDE IMAGE -->
<div class="image" style="background-image:url(teasers/image.png);"></div>
</div><!-- END TEASER -->
</li><!-- end slide-->
</ul><!-- END SLIDES-->
and here is CSS
.flexslider .slides, .flexslider .slides > li {
height: 100%;
}
.flexslider .slides li {
height:100%;
position: relative;
}
.slides li .caption {
-webkit-transition: all 0.3s ease-out 0.7s;
transition:all 0.3s ease-out 0.7s;
height:100%;
left:0;
width:40%;
opacity:0.4;
display: table;
float: left;
}
.slides li.flex-active-slide .caption {
opacity:1;
}
.slides li .caption .title {
vertical-align: middle;
display: table-cell;
width: 100%;
padding-left:100px;
}
.slides li .teaser {
-webkit-transition: all 0.3s ease-in 0.6s;
transition:all 0.3s ease-in 0.6s;
width:60%;
height:90%;
right:0;
top:0;
display:table;
padding:20px 60px 40px 20px;
position: absolute;
}
.slides li .teaser .image {
background-size: contain;
background-position: center;
background-repeat: no-repeat;
display: table-cell;
vertical-align: middle;
}
toddpadwick.co.uk/main-index.html

Fluid Horizontal NavBar for responsive website

Im trying to make a fluid responsive web that contains an horizontal navbar, my problem is that at a certain width of the browser window the elements of the bar start to relocate one on top each other, is there any way to avoid this behavior in order to make the navbar just stretch until a certain media query break point. I need to website to look al least decent in the ranges where the querys are not activated.
Here's how things look so far:
http://wearehellyeah.com/test/home_formacio.html
<div class="barra">
<!--Menu Principal-->
<nav class="menu-principal">
<ul class="menu">
<li class="item sub"><button type="button" id="menu-lateral" class="sb-toggle-left"><img src="img/iconos/menu.png" alt="search"></button></li>
<li class="item">Actualitat</li>
<li class="item">Activitat de l'oficina</li>
<li class="item">Vocalies</li>
<li class="item">Formació</li>
<li class="item">Serveis</li>
<li class="item">Actualitat</li>
<li class="item no-border">El Col-legi</li>
<li class="item home">Marcar com pàgina d'inici</li>
<li class="item conectados">Conectados 103</li>
<li class="item"><button type="button" id="search"><img src="img/iconos/search.png"></button></li>
</ul>
</nav>
<!--Fin Menu Principal-->
<!--Input buscador-->
<div class="buscador">
<form action="">
<input type="text" id="ip-search">
</form>
</div>
<!--Fin de Input Buscador-->
</div>
The CSS:
.barra {
background: #00b1da;
width: 100%;
padding: 0;
}
.menu-principal {
height: 36px;
line-height: 35px;
margin: 0 auto;
max-width: 1024px;
position: relative;
width: 100%;
}
.menu {
padding: 0;
margin: 0;
}
.menu .item {
float: left;
list-style: none;
}
.menu .item a {
border-right: 1px solid #008ba9;
color: #fff;
font-size: 13px;
padding: 0 .98em;
text-decoration: none;
white-space: nowrap;
}
.menu .sub {
background: #008ba9;
padding: 0 .4em;
height: 35px;
display: block;
}
.conectados {
background: #fff;
color: #4b585b;
font-size: 13px;
padding: .1em 1em 0 2.3em;
position: relative;
}
.menu .home {
background: url("../img/iconos/home.png") no-repeat 2% #00a9a1;
border-left: 1px solid #40c2d3;
padding: 0 0 0 1em;
}
You could add a min-width:
.menu-principal {
min-width:883px;
}
Then it won't go on top of each other. However there are too many options on the navigation bar, you might want to make it a drop-down box when it goes into a mobile media-query range.
e.g. http://vagish.com (as you make the browser width smaller, it changes the navigation bar)
You could have a media query which takes place between 768px and 880px, and reduces the spacing between menu items, and this should be able to make it look fine until you hit the 768px media query.
This would work (along with the CSS above):
#media all and (max-width: 768px) and (min-width: 880px) {
.menu-principal {
padding:0px;
}
.menu-med .item a {
padding:0 .69em;
}
}

IE7 margin auto not functioning correctly

I know this question is asked a lot but I've already looked through pretty much everything with no good result, yet.
Basically my wrapper has a margin: 40px auto; to it. It's centered nicely in every browser I've tried except for IE7. For some reason it only centers the navigation menu and then it's like the wrapper auto-closes itself making everything else float to the left. Which is hideous.
HTML CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Demo</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="StyleSheet" href="ext/styles/default.css" type="text/css" />
<link href="ext/styles/jflow.style.css" type="text/css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="ext/js/jflow.plus.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myController").jFlow({
controller: ".jFlowControl", // must be class, use . sign
slideWrapper : "#jFlowSlider", // must be id, use # sign
slides: "#mySlides", // the div where all your sliding divs are nested in
selectedWrapper: "jFlowSelected", // just pure text, no sign
effect: "flow", //this is the slide effect (rewind or flow)
width: "783px", // this is the width for the content-slider
height: "331px", // this is the height for the content-slider
duration: 400, // time in milliseconds to transition one slide
pause: 5000, //time between transitions
prev: ".jFlowPrev", // must be class, use . sign
next: ".jFlowNext", // must be class, use . sign
auto: false
});
});
</script>
</head>
<body>
<noscript>
<h1 style="float: left; color: red; margin-bottom: 5000px;">JavaScript behövs för att korrekt visa denna sida</h1>
</noscript>
<div id="wrapper">
<div id="nav">
<div class="menu">
<ul>
<li class="start"><!-- /!/ --></li>
<div class="minus-left">
<li class="norm"><a class="active" href="#">hem</a></li>
<li class="norm">portfolio</li>
<li class="norm">om</li>
<li class="norm">kontakta</li>
</div>
<li class="end"><!-- /!/ --></li>
</ul>
</div>
</div>
<div id="rotator">
<div id="shadow"><img src="ext/imgs/img_shadow.png" alt="Shadow" /></div>
<div id="controller">
<div class="prev">
<img src="ext/imgs/left_arrow.png" class="jFlowPrev" alt="Left Arrow" />
</div>
<div class="next">
<img src="ext/imgs/right_arrow.png" class="jFlowNext" alt="Right Arrow" />
</div>
</div>
<div id="mySlides">
<div id="slide1" class="slide"> <img src="ext/slides/slide_1.png" alt="Slide 1 jFlow Plus" />
<div class="slideContent">
<h3>Bespoke Booklet...</h3>
<p>... for Offsite Design Studio to showcase their services.</p>
</div>
</div>
<div id="slide2" class="slide"> <img src="ext/slides/slide_2.png" alt="Slide 2 jFlow Plus" />
<div class="slideContent">
<h3>Aggregate</h3>
<p>Professional high-quality Wordpress theme from ElegantThemes.</p>
</div>
</div>
<div id="slide3" class="slide"> <img src="ext/slides/slide_3.png" alt="Slide 3 jFlow Plus" />
<div class="slideContent">
<h3>Deep Focus</h3>
<p>Professional high-quality Wordpress theme from ElegantThemes.</p>
</div>
</div>
</div>
<div id="myController">
<span class="jFlowControl"></span>
<span class="jFlowControl"></span>
<span class="jFlowControl"></span>
</div>
</div>
<div class="content_sep_top" style="margin-top: 70px; margin-bottom: 15px;"></div>
<div class="single_page line_height_15">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac ante nisi, sed laoreet dui. Sed imperdiet euismod scelerisque. Quisque id massa a nunc convallis congue. Sed venenatis cursus rhoncus. Nam a purus in elit vehicula faucibus. Integer ornare elementum magna sed mattis. Duis dui velit, semper ac dignissim aliquet, eleifend sit amet augue. Donec at arcu quis ipsum volutpat rhoncus. Cras orci orci, congue at tincidunt ut, imperdiet at lorem. Duis ultricies diam a elit vulputate auctor. Nam congue leo et neque imperdiet elementum. Vestibulum vulputate, ante at consectetur eleifend, diam enim vulputate odio, sit amet facilisis neque nibh sed nisl.
</p>
</div>
<div class="content_sep_top" style="margin-top: 15px;"></div>
</div>
</body>
</html>
CSS CODE.
* {
margin: 0px;
padding: 0px;
}
body {
font-family: helvetica, arial, verdana, sans-serif;
font-size: 13px;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 18px;
background-image: url(../imgs/bg.png);
background-repeat: repeat-y;
background-color: #D7D7D7;
background-position: center;
text-align: center;
color: #616161;
width: 100%;
}
#wrapper {
width: 801px;
margin: 40px auto;
text-align: left;
}
#nav {
float: left;
width: 801px;
position: relative;
height: 60px;
}
.menu {
position: absolute;
left: 50%;
margin-left: -395px;
background-image: url(../imgs/middle_nav.png);
background-repeat: repeat-x;
width: 791px;
}
.menu ul {
list-style-type: none;
}
.menu li {
float: left;
}
.menu li.start {
background-image: url(../imgs/left_nav.png);
float: left;
background-repeat: no-repeat;
height: 60px;
width: 9px;
margin-left: -9px;
}
.menu li.norm {
background-image: url(../imgs/nav_sep.png);
background-repeat: no-repeat;
background-position: right;
padding: 17px;
text-transform: capitalize;
}
.menu li.norm a {
color: #B2B2B2;
text-decoration: none;
font-size: 14px;
}
.menu li.norm a:hover {
color: #747474;
}
.menu li a.active {
color: #747474;
}
.menu li.end {
background-image: url(../imgs/right_nav.png);
float: right;
background-repeat: no-repeat;
height: 60px;
width: 10px;
margin-right: -10px;
}
#rotator {
margin-top: 40px;
float: left;
background-color: white;
width: 781px;
height: 329px;
padding: 10px 10px 10px 10px;
position: relative;
}
#shadow {
position: absolute;
float: left;
width: 801px;
height: 379px;
margin-left: -13px;
margin-top: 0px;
z-index: -1;
}
#controller {
float: left;
position: absolute;
left: 50%;
margin-left: -86px;
margin-top: -18px;
background-image: url(../imgs/controller.png);
width: 172px;
height: 54px;
z-index: 2;
}
#mySlides {
width: 781px;
height: 329px;
}
#slide1, #slide2, #slide3 {
width: 781px;
height: 329px;
border: 1px solid #c6c6c6;
}
.prev {
float: left;
margin-top: 16px;
margin-left: 26px;
}
.next{
float: right;
margin-top: 16px;
margin-right: 26px;
}
.next img,
.prev img {
border: 0px;
outline: 0px;
cursor: pointer;
}
ul, li {
list-style-type: none;
}
.content_sep {
background-image: url(../imgs/content_sep.png);
background-repeat: repeat-x;
width: 801px;
height: 2px;
float: left;
}
.content_sep_top {
background-image: url(../imgs/content_sep.png);
background-repeat: repeat-x;
width: 801px;
height: 2px;
float: left;
}
.container {
margin-top: 40px;
float: left;
}
.left {
width: 532px;
float: left;
}
.left p {
width: 500px;
}
.left ul {
padding-left: 10px;
}
.img {
width: 502px;
height: 402px;
padding: 10px;
background-color: white;
position: relative;
}
.left .img img {
border: 1px solid #c6c6c6;
}
.right {
width: 265px;
float: right;
text-align: right;
}
.right li {
float: left;
margin-left: 10px;
margin-bottom: 10px;
width: 102px;
height: 102px;
padding: 10px;
background-color: white;
}
.right li img {
border: 1px solid #c6c6c6;
}
.info {
width: 500px;
}
ul.side {
padding: 0px;
margin: 0px;
}
ul.head {
margin-top: 30px;
}
.side {
float: right;
width: 350px;
}
.img_overlay {
background: url("../imgs/contentBg.png") repeat scroll 0 0 transparent;
position: absolute;
padding: 10px;
width: 462px;
left: 20px;
bottom: 20px;
}
.img_overlay p {
font-family: Georgia, serif;
color: #FFF;
margin: 0;
}
.single_page {
width: 771px;
padding-left: 15px;
padding-right: 15px;
float: left;
}
.left h1,
.single_page h1 {
text-align: center;
font-family: Georgia, serif;
color: #bababa;
font-size: 28px;
font-style: italic;
}
.line_height_15 {
line-height: 15px;
}
.img h3 {
font-family: Georgia, serif;
color: #FFF;
font-size: 28px;
font-style: italic;
margin: 5px 0 5px 0;
}
.left_top {
margin-top: 40px;
float: left;
margin-left: 10px;
}
.padding_left_10 {
padding-left: 10px;
}
.fields {
outline: 0px;
padding: 3px;
width: 50%;
}
.width_70 {
width: 70%;
height: 150px;
}
.submit{
float: right;
margin-right: 140px;
padding: 3px;
}
.minus-left {
margin-left: -4px;
float: left;
}
I would LOVE any help I can get. As I said above, when I view the source in IE7 it looks like the wrapper closes itself right after the navigation but I don't see how.
I am really desperate right now and also please don't comment on how messy/repetitive the code is unless it would actually help solve the problem. The code is just a draft right now, I don't mean to sound rude.
Thanks in advance!
one small things you change the #rotator remove the float:left; the technique is follows
The star symbol why i am using it apply only ie-7 . try do this...
#rotator
{
*float:none;
}
.single_page
{
*float:none;
text-alignL:left;
}
The star symbol why i am using it apply only ie-7 . try do this...

Resources