标签: article

为什么最后一个孩子没有针对这个小提琴中的最后一篇文章标签?

为什么最后一个孩子没有针对这个小提琴中的最后一篇文章标签?

http://jsfiddle.net/gunP9/

<div class="parent">
<article class="example">111</article>
<article class="example">111</article>
<article class="example">111</article>
<article class="example">111</article>
<section>content</section>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS

.parent .example{ background-color: red;}
.parent .example:last-child{background-color: yellow;}
Run Code Online (Sandbox Code Playgroud)

css article html5

7
推荐指数
1
解决办法
3095
查看次数

如何在首页上保留一篇特定文章?

在我的joomla网站上,我希望有一篇"关于我们公司"的文章永远是首页上的第一篇文章.随着新文章的增加,我希望其他文章能够降低位置,但要保持"关于我们公司"的不断发展.我尝试将首页管理器上该文章的顺序设置为-1,但是当我添加新文章时它仍然向下移动.有任何想法吗?

article joomla frontpage

5
推荐指数
1
解决办法
7523
查看次数

在数据库中存储文章的最佳方式?(php 和 sql)

我想将文章存储在数据库中,但我似乎无法找到有关执行此操作的最佳方法的太多信息,从我所阅读的内容来看,大多数人似乎在如何有效地做到这一点上存在分歧。很多人会提出一种方法,而其他人会指出 sql 注入问题,而我似乎找不到关于这个相当新的话题的太多内容。

这是一篇文章的html:

    <div id="main">

        <article>

            <header>
                <h3> Title </h3>
                <time pubdate="pubdate"> 2011-07-22 </time>
            </header>

            <p> Article Text </p>

        </article>

    </div>
Run Code Online (Sandbox Code Playgroud)

理想情况下,我想最好将组成每篇文章的 html 块存储到数据库中,但似乎有很多问题,就像我说的,我找不到关于这个特定主题的很多帖子,并且作为php 和数据库的新手 我想在继续之前获得一些关于最好的方法的输入。

php sql database article insert

5
推荐指数
1
解决办法
8724
查看次数

HTML5 &lt;section&gt;的内部&lt;article&gt;和标头

我正在尝试制作语义HTML5代码,但不确定是否正确。视觉上,我有一篇文章/帖子分为3个栏:

图像(200像素)| H1 +摘要+更多链接(350px)| 具有2个标题H2的附加部分 (150像素)

在CSS我会浮动:左 - 人物,.POST-总结,.POST休耕

这是Ver.1:

<article>
        <figure>
        <a href="#"><img src="images/temp/entry_01.jpg" alt=""></a>
        <figcaption>Title for Case Study</figcaption>
        </figure>

        <div class="post-summary">          
            <section>
                <h1>MAIN Article Title</h1>
                <p>Lorem ipsum...</p>
                <a href="#">read more</a>
            </section>              
        </div>

        <div class="post-aside">
            <section>
                <h2>The Charges:</h2>
                <p>Lorem ipsum...</p>
            </section>

            <section>
                <h2>The Verdict:</h2>
                <p>Lorem ipsum...</p>
            </section>
        </div>
</article>
Run Code Online (Sandbox Code Playgroud)

版本 2

<article>
        <figure>
        <a href="#"><img src="images/temp/entry_01.jpg" alt=""></a>
        <figcaption>Title for Case Study</figcaption>
        </figure>

        <section class="post-summary">
            <h1>MAIN Article Title</h1>
            <p>Lorem ipsum...</p>
            <a href="#">read more</a>
        </section>                          

        <section class="post-aside"> …
Run Code Online (Sandbox Code Playgroud)

article html5 structure semantics

5
推荐指数
1
解决办法
1万
查看次数

将 &lt;article&gt; 放在 &lt;li&gt; 中是一个好习惯吗?

通常在博客的首页上,有几篇最近的博客文章,每篇博客文章都是一个<article>. 通常博客评论也使用<article>s标记。

我的问题是:将这些<article>s 放入<li>s是一个好习惯吗?我曾经这样做的话,因为我自己的解释那些<article>小号一起在一定的方式呈现/数量。因此,当涉及到列表元素一定量/数量,<ul>并且<ol>是最好的选择。

但是,也许我需要重新考虑我的解释,因为将<article>s 放入<li>s 似乎是对<li>. 而且我还想考虑可访问性。我不确定这样做是否会导致对辅助技术的混淆。

html article accessibility html-lists semantics

5
推荐指数
1
解决办法
2795
查看次数

Joomla 3.2.3精选文章订购

在Joomla 3.2.3中,我不能像J 1.5.x那样制作文章订单,我想按照我在管理员区域定义的那样制作首页文章.我尝试了几种方法仍然没有任何成功,已经有一周了...... :(我试过的最后一次是:

a) Content => Featured Article => (at top right) sort table by "Ordering Descending"
b) I moved the article in the order i want, then click at "Double arrow" to save it
c) Then i click at "Options" (right top), it will open the Global configuration -> Article page. 
+) Then i click at "Category"  => Choose Layout = Blog,   
+) "Blog/Featured Layout" => Multi column Order = Across. 
+) "Shared Option" => Category Order = …
Run Code Online (Sandbox Code Playgroud)

article joomla featured

5
推荐指数
1
解决办法
7152
查看次数

多种语言的帖子?

我正在寻找一种工具/方式来在 1 篇文章页面中撰写 2 篇不同的文章。例如:我想写英文文章和德语翻译,但有一些差异,当有人想用德语查看整个页面的文章时,他们只需要按一个按钮即可更改所有文章的翻译。我希望这是可以理解的,我期待着答案。顺便说一句,由于其他工具,多站点功能不起作用。提前致谢。

article wordpress post translation localization

5
推荐指数
1
解决办法
5783
查看次数

如何在Latex中为课堂文章添加副标题?

我正在用 Latex 写一份报告,我的文档类必须是文章。我想在标题下添加一些附加文本,但找不到与字幕命令相对应的任何内容。有没有人有什么建议?

\documentclass[11pt,a4paper]{article}
\title {Title}
\author{Name}
Run Code Online (Sandbox Code Playgroud)

article latex document-class subtitle

5
推荐指数
2
解决办法
5万
查看次数

Joomla中的内部文章链接

我正在尝试在一篇指向另一篇文章的Joomla文章中创建一个链接,但是看不出应该怎么做.

你能告诉我怎么做吗?

article joomla hyperlink

4
推荐指数
1
解决办法
2万
查看次数

Joomla 3文章自定义模块中的模态表单字段

我想在我的自定义模块中有一个文章选择器.一个按钮和一个这样的表单字段添加新文章.

有可能吗?我在我的模块xml中试过这个:

                <field name="article_id" type="modal_article" default="" label="Select an article" description="" />        
Run Code Online (Sandbox Code Playgroud)

但我只获得表单输入,而不是选择文章的按钮.

article module joomla3.1

4
推荐指数
1
解决办法
3426
查看次数