HTML & CSS help


#1

Please use computer to see this page.
http://www.koreaofalltrades.com/xe/

How do I move the twitter to beside the pictures???


#2

Try display: inline or margin-top: -(whatever number you need)


#3

Nope. It does not works.
This is my css
@charset "utf-8";
/* CSS Document */

body{
color: #261A1A;
font-family:Arial, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
text-align:left;
}

a {
text-decoration:none;
}

a:link, a:visisted {
}

a:hover, a:active{

}

.body{
margin: 0 auto;width:70%;clear:both;
}

.mainheader img{width:100%;height:auto;margin:2% 0
}

.mainheader nav{background-color: #666;height:40px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;
}

.mainheader nav ul{list-style:none;margin:0 auto;
}

.mainheader nav ul li{float:left;display:inline;
}

.mainheader nav a:link, .mainheader nav a:visited {color:#FFF;display:inline-block;padding: 10px 25px
}

.mainheader nav a:hover, .mainheader a:active,
.mainheader nav .active a:link, .mainheader nav .active a:visited {
background-color:#261A1A;
text-shadow:none;}

.mainheader nav ul li a{
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.maincontent{
line-height: 25px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.photos{width:100%;display:inline-block;float:left;
}
.photoss{width:100%;display:inline;float:left;
}
.content {width: 70%;float:left;
}

a.twitter-timeline{width:21%;float:left;color:#261A1A;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;margin-left:3%;margin-bottom:2%;padding: 2% 3%;
}

.topsidebar{width:21%;float:left;color:#261A1A;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;margin-left:3%;margin-bottom:2%;padding: 2% 3%;
}

.mainfooter{width:100%;float:left;margin-top:2%;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px
}

.mainfooter p{width:92%;margin: 2% auto;}

@media only screen and (min-width: 150px) and (max-width: 600px)
{

.body{
width:90%
}

.mainheader img{width:100%
}

.mainheader nav{height:40px
}

.mainheader nav ul{padding-left: 0
}

.mainheader nav ul li{width:100%;text-align:center;
}

.mainheader nav a:link, .mainheader nav a:visited {padding: 10px 25px;height:20px;display:block;
}

}


#4

I am going to close this topic, please continue in this topic


#5