Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样用 Image_tag 实现图文的混编 #197

Closed
yunfeizu opened this issue Jun 4, 2013 · 2 comments
Closed

怎样用 Image_tag 实现图文的混编 #197

yunfeizu opened this issue Jun 4, 2013 · 2 comments
Labels
question Needs help in usage

Comments

@yunfeizu
Copy link

yunfeizu commented Jun 4, 2013

使用octopress 的时候, image 的位置是可以在image_tag 中设置的, 而使用hexo 移植的image_tag, 这些设置失效了。 是不是因为fancy box的原因?

image

@tommy351
Copy link
Member

tommy351 commented Jun 5, 2013

Hexo的預設主題Light所使用的class name和Octopress不同,所以left必須寫成alignleft,right必須寫成alignright

@yunfeizu
Copy link
Author

yunfeizu commented Jun 6, 2013

多谢回复, 已经搞定了。
img 没有设边界, 图片和文字紧挨着,不太好看, 我自己在css 中改了下:

img, video
     max-width 100%
     margin-left 10px
     margin-right 10px
     margin-bottom 10px
     height auto
     border none

我不懂前端代码, 不知道tommy有没有更好的解决办法?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Needs help in usage
Projects
None yet
Development

No branches or pull requests

2 participants