0
我有下面的CSS邊緣是根本沒有工作。這裏是一個link的活網站,請記住它是在移動開發,所以這就是爲什麼它看起來都很有趣。元素那不是移動的奧斯汀基特森一個鳴叫旁邊margin-top不會移動我的元素
CSS
i{
font-size:0.6em;
margin-top:-5px;
margin-left: -25px;
position:relative;
padding-bottom:10px;
}
HTML
<section class="blogPostsSection">
<header class="blogPostsHeader">
<?php edit_post_link('edit', '<p>', '</p>'); ?>
<h2><?php the_date(); ?></h2>
<h3><?php the_title(); ?></h3>
</header>
<?php $image = wp_get_attachment_image_src(get_field('add_images_here'), 'large');?>
<?php if($image !=false) {?>
<img src="<?php echo $image[0]; ?>" alt="<?php get_the_title(get_field('add_images_here')) ?>" />
<?php } ?>
<p>
<?php the_content(); ?>
</p>
<a href="https://twitter.com/share" class="twitter-share-button"
data-text="<?php the_title(); ?>" data-via="twitterapi" data-lang="en">Tweet</a>
<script>
!function(d,s,id){ var js,fjs=d.getElementsByTagName(s)[0];
if(!d.getElementById(id)){
js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);
}
}
(document,"script","twitter-wjs");
</script>
<a href="http://austin.kitson.org"><i>Austin Kitson</i></a>
</section>
所有styles.css文件設置媒體查詢並導入其他樣式表base.css是我的問題所在。 – 2013-02-18 02:02:30