yuanshaohua
2009-08-17 11:29 阅读 283
已采纳

请问在问题模块中的每个问题前面的"问号"是图片吗??还有每个悬赏分数的前面?

 我最近在制作网页,遇到一个问题,就是也做一个“知识问答”方面的网页,发现本网站的问答模块中,在为解决的问题前面不是有个像问号一样的图片吗,在以解决问题的前面有一个像勾一样的图片,但是当我把网页另存下来的时候却发现没有那图片。我这就猜测那不是一张图片,而是 从数据库读取出来的。我不知道我的想法对不对,谁能告诉我正确的答案??? :)  :)  :) 

[b]问题补充:[/b]
我想在补充一点就是:不是“我要提问”那张图片啊,而是在问题列表里的“问号”;
如果一个问题已被解决,在问题列表中的开头不是有个标致嘛,那个标志就是一把勾;

如果一个问题没有解决,在问题列表的开头就有个"问号"的标致。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

3条回答 默认 最新

  • 已采纳
    yockii yockii 2009-08-17 13:10

    你还是没有好好看过css
    如果问题没有关闭,那么css中相应的是open,问题关闭了,就是close,而css文件中open和close对应的图片地址就是问号和勾勾。
    当然,数据库读出来的数据应该就是判断问题是否结束而已。

    点赞 评论 复制链接分享
  • yockii yockii 2009-08-17 12:28

    那个应该就是图片吧,如果页面里面没有图片地址你应该去css里面再查看一下哦。

    刚才我看了下,地址应该是images/ask/ask.gif

    点赞 评论 复制链接分享
  • wanghaolovezlq wanghaolovezlq 2009-08-20 17:46

    就是背景图片

    css样式如下:

    //没解决的样式
    td.open, h3.open {
    background-image:url(/images/ask/ask.gif);
    }

    //解决的样式
    td.close, h3.close {
    background-image:url(/images/ask/greenright.gif);
    }

    就在ask.css这个文件里

    [code="java"]
    .stretch, .clear {
    clear:both;
    font-size:15px;
    height:1px;
    line-height:1px;
    margin:0pt;
    padding:0pt;
    }
    .clearfix:after {
    clear:both;
    content:".";
    display:block;
    height:0pt;
    visibility:hidden;
    }
    .clearfix {
    }

    • html .clearfix { height:1%; }
    • + html .clearfix { height:1%; } .clearfix { display:block; } .replace { background-color:transparent; background-position:left top; background-repeat:no-repeat; display:block; } .replace * { background-color:transparent; background-position:left top; background-repeat:no-repeat; display:block; text-indent:-10000px; } .replace a { text-indent:0pt; } .replace a span { text-indent:-10000px; } span.accesskey { text-decoration:none; } .accessibility { left:-999em; position:absolute; top:-999em; } body { color:black; font-family:Arial,sans-serifarial,Verdana,Helvetica; font-size:12px; line-height:1.5; text-align:left; } img { border:0pt none; } h1 { color:black; font-size:2em; line-height:1.5em; margin:0pt 0pt 0.5em; padding:0pt; } h2 { color:black; font-size:1.5em; line-height:1.5em; margin:0pt 0pt 0.5em; padding:0pt; } h3 { color:black; font-size:1.2em; line-height:1.5em; margin:0pt 0pt 0.5em; padding:0pt; } h4 { color:black; font-size:1.15em; line-height:1.3em; margin:0pt 0pt 0.25em; padding:0pt; } h5 { color:black; font-size:1.1em; line-height:1.3em; margin:0pt 0pt 0.25em; padding:0pt; } h6 { color:black; font-size:1em; line-height:1.3em; margin:0pt 0pt 0.25em; padding:0pt; } p { margin:0pt; padding:0pt; } blockquote { border-left:10px solid #DDDDDD; margin-left:10px; } pre { font-family:monospace; font-size:1em; } strong, b { font-weight:bold; } em, i { font-style:italic; } code { font-family:"Courier New",Courier,monospace; font-size:1em; white-space:pre; } ul { margin:0pt 0pt 1.5em; padding:0pt; } ul li { margin:0pt 0pt 0.25em 30px; padding:0pt; } ol { font-size:1em; line-height:1.4em; margin:0pt 0pt 1.5em; padding:0pt; } ol li { font-size:1em; margin:0pt 0pt 0.25em 30px; padding:0pt; } dl { line-height:1.4em; margin:0pt 0pt 1.5em; padding:0pt; } dl dt { margin:0.25em 0pt; padding:0pt; } dl dd { margin:0pt 0pt 0pt 30px; padding:0pt; } th { font-weight:bold; text-align:left; } td { font-size:1em; } hr { border-bottom:thin none black; height:1px; margin:1.5em 10px; } form { clear:both; margin:0pt; padding:0pt; } form div, form p { font-size:1em; margin:0pt 0pt 1em; padding:0pt; } label { float:left; font-weight:bold; width:25%; } fieldset { border:1px solid #EEEEEE; margin:0pt; padding:5px 10px; } fieldset legend { color:#666666; font-size:1.1em; font-weight:bold; margin:0pt 0pt 0pt 0px; padding:0pt; }
    • html fieldset legend { margin:0pt 0pt 10px -10px; } fieldset ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt 0pt 1.5em; padding:0pt; } fieldset ul li { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt 0pt 0.5em; padding:0pt; } input.text, select, textarea { border:1px solid #006699; margin:0pt; padding:1px 3px; vertical-align:middle; } input.text { font-family:Arial; height:18px; } input.check { border:medium none; height:auto; margin:0pt; width:auto; } input.radio { border:medium none; height:auto; margin:0pt; width:auto; } input.file { height:auto; width:250px; } input.readonly { background-color:transparent; border:medium none; } input.button, input.submit { background:#006699 none repeat scroll 0%; border:1px solid #D2F3FD; color:white; cursor:pointer; font-size:1em; height:23px; padding:2px 5px; vertical-align:middle; } input.image { border:medium none; height:auto; width:auto; } textarea { font-size:1em; } form div.submit { margin:1em 0pt; } form div.submit input { height:2em; width:15em; } div#nav div.wrapper { background:#6293BB url(/images/shadow.png) repeat-x scroll left bottom; bottom:0pt; font-size:13px; left:0pt; padding-bottom:6px; position:absolute; width:100%; } div#nav ul { margin:0pt; padding:0pt; width:100%; } div#nav li { background-image:url(/images/line_white.gif); background-position:right center; background-repeat:no-repeat; display:inline; float:left; line-height:1em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:0pt 10px; } div#nav li.last { background:transparent none repeat scroll 0%; } div#nav a, div#nav a:link, div#nav a:active, div#nav a:visited { color:white; display:block; font-weight:bold; margin:0pt; padding:7px 15px; text-decoration:none; } div#nav a:hover, div#nav a.selected { background-color:#3671A5; } div#content { margin:0pt auto 20px; padding:0pt; position:relative; text-align:left; } div#main { display:inline; float:left; margin-top:30px; overflow:hidden; width:746px; } div#local { display:inline; float:right; margin-top:30px; width:188px; } div#sub { display:none; } div#nav { left:0pt; position:absolute; text-align:left; top:0pt; width:100%; } body { background:white none repeat scroll 0%; margin:0pt; padding:0pt; text-align:center; } div#page { background:white none repeat scroll 0%; margin:0pt auto; padding:0pt; text-align:center; width:950px; } div#header { background-color:white; color:white; margin:0pt; padding:0pt; } div#branding { float:left; margin:5px 0pt; text-align:left; width:200px; } div#search { float:right; margin:0pt; padding:16px 20px 0pt 0pt; text-align:right; width:49%; } div#content { margin-top:40px; width:100%; } div#footer { background-color:white; color:black; } div#footer p { font-size:0.8em; margin:0pt; padding:15px; } ul.subnav { font-size:0.8em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:0pt; } ul.subnav li { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt 0pt 1em; padding:0pt; } ul.subnav li a, ul.subnav li a:link, ul.subnav li a:visited, ul.subnav li a:active { color:black; font-weight:bold; text-decoration:none; } ul.subnav li a:hover { text-decoration:underline; } ul.subnav li strong { background:transparent url(../i/subnav-highlight.gif) no-repeat scroll left top; padding:0pt 0pt 0pt 12px; } ul.subnav li strong a, ul.subnav li strong a:link, ul.subnav li strong a:visited, ul.subnav li strong a:active { background-color:black; color:white; } a { color:#006699; text-decoration:none; } a:hover, a:active { color:#BC2A4D; text-decoration:underline; } blockquote { background-color:#FAFAFA; border:1px solid #CCCCCC; } cite { font-weight:bold; margin-left:3px; } div#user_nav { float:right; margin:5px 0pt 0pt; padding:2px; text-align:right; } div#user_nav a.nobg { background:transparent none repeat scroll 0%; } div#user_nav a.welcome { color:#E28822; font-weight:bold; padding-right:10px; } div#user_nav a.welcome:hover { background-color:transparent; color:#E28822; text-decoration:none; } div#user_nav a.new_reply { color:red; padding-left:0pt; } div#user_nav a.new_reply:hover { background-color:transparent; color:red; text-decoration:none; } div#user_nav a { background-image:url(/images/line_gray.gif); background-position:right center; background-repeat:no-repeat; color:gray; line-height:1em; padding:5px 8px; text-decoration:none; } div#user_nav a:hover { background-color:gray; color:white; text-decoration:underline; } div.quick_menu { background-color:white; border:1px solid #DDDDDD; position:absolute; text-align:left; top:30px; width:70px; z-index:9999; } div.quick_menu a { background-image:none !important; display:block !important; line-height:20px !important; padding:3px 6px 3px 10px !important; text-decoration:none !important; } div#location_ad { background-image:url(/images/yellow_east_arrow.gif); background-position:left center; background-repeat:no-repeat; float:left; margin-top:5px; padding-left:12px; } div#site_nav ul { line-height:1em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:0pt; width:100%; } div#site_nav li { border-right:1px solid #AAAAAA; display:inline; line-height:1em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:3px 10px; } div#site_nav li.last { border-right:medium none; } div#channel_nav { left:0pt; position:absolute; top:0px; } div#channel_nav ul { line-height:1em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; padding:0pt; width:100%; } div#channel_nav li { border-color:#FEDDCA -moz-use-text-color rgb(254, 221, 202) rgb(254, 221, 202); border-style:solid none solid solid; border-width:1px 0px 1px 1px; display:inline; float:left; line-height:1em; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt; } div#channel_nav li.last { border-right:1px solid #FEDDCA; } div#channel_nav a { color:green; display:block; margin:0pt; padding:4px 25px; text-decoration:none; } div#channel_nav a:hover, div#channel_nav a.selected { background-color:#FEDDCA; } div#ad { float:right; margin:5px 0pt; width:720px; } div#copyright { padding:10px; } .pagination { float:right; padding:5px; } .pagination a, .pagination a:link, .pagination a:visited { border:1px solid #AAAADD; color:#006699; margin:2px; padding:2px 5px; text-decoration:none; } .pagination a:hover, .pagination a:active { border:1px solid #006699; color:#000000; text-decoration:none; } .pagination span.current { background-color:#006699; border:1px solid #006699; color:#FFFFFF; font-weight:bold; margin:2px; padding:2px 5px; } .pagination span.disabled { border:1px solid #EEEEEE; color:#DDDDDD; margin:2px; padding:2px 5px; } a.underline, .underline a { text-decoration:underline; } .hilite1 { background-color:#FFFF00; } .hilite2 { background-color:#55FF55; } .hilite3 { background-color:#AAFFAA; } .hilite4 { background-color:#00FFFF; } span.arrow { color:#999999; font-size:0.9em; font-weight:normal; } .validation-advice { color:#FF3300; font-weight:bold; margin:0pt; padding:0pt 0pt 0pt 3px; } .odd { background-color:#EFFAFF; } .highlight, .highlight a, .highlight a:link, .highlight a:active, .highlight a:visited { color:#E28822; font-weight:bold; text-decoration:none; } .highlight a:hover { background-color:#E28822; color:#FFFFFF; text-decoration:none; } .rss { background-image:url(/images/rss.png); background-position:right center; background-repeat:no-repeat; margin-right:5px; padding-right:50px; } .row1 { background-color:#EFEFEF; font-weight:bold; width:155px; } .row2 { background-color:#DEE3E7; } .row3 { background-color:#EEEEEE; } .crumbs a { text-decoration:underline; } .flash_error, .flash_notice { background-repeat:no-repeat; font-weight:bold; margin:0pt 10px; padding:10px 40px; } .flash_error { background-image:url(/images/icon_error_lrg.gif); color:#FF3300; } .flash_notice { background-image:url(/images/icon_success_lrg.gif); } select.validation-failed, input.validation-failed, textarea.validation-failed { background:#FFFFFF url(/images/invalid_line.gif) repeat-x scroll center bottom; border:1px solid #DD7870; }
    • html select.validation-failed { background-color:#DD7870; } span.field_error { display:none; } div.quote_title { font-weight:bold; margin:5px 0pt 0pt 15px; padding:5px; } div.quote_div { background:#FAFAFA none repeat scroll 0%; border:1px solid #CCCCCC; margin:0pt 5px 5px 15px; padding:3px; } div.attachments { border-top:1px solid #999999; margin-top:10px; } div.attachments ul, div.postauthor ul { list-style-image:none; list-style-position:outside; list-style-type:none; } div.attachments ul { border:1px solid #CCCCCC; margin:5px; padding:5px; } img.magplus { cursor:url(/images/magplus.gif), pointer; } div.logo { background-image:url(/images/logo_bg.gif); background-repeat:no-repeat; float:left; padding:2px 6px 6px 2px; } span.thumb_box { border:1px solid #CCCCCC; display:table-cell; height:95px; text-align:center; vertical-align:middle; width:130px; } span.thumb_box img { vertical-align:middle; } .right { float:right; } .left { float:left; } table.bbcode { border:1px solid #CCCCCC; } table.bbcode td { border:1px solid #CCCCCC; padding:3px; } div#search_engine_box { background-color:white; border:1px solid #CCCCCC; bottom:0px; position:fixed; right:0px; text-align:left; width:240px; } #search_engine_box h2 { background-color:#526EA6; color:white; font-size:12px; font-weight:normal; padding:5px; } #search_engine_box h2 span { color:black; } #search_engine_box h2 a { color:white; position:absolute; right:5px; } #search_engine_box div { padding:0pt 5px; } #search_engine_box li { list-style-image:none; list-style-position:outside; list-style-type:square; margin-left:15px; }
    • html div#search_engine_box { bottom:auto; position:absolute; right:auto; } div#chat_button { background-color:#EEEEEE; border:1px solid #CCCCCC; bottom:0px; padding:2px; position:fixed; right:10px; text-align:right; vertical-align:middle; width:80px; } div#chat_input { bottom:25px; position:fixed; right:10px; text-align:left; } #chat_iframe { background-color:transparent; width:360px; } div#chat_button img { vertical-align:middle; }
    • html div#chat_button { bottom:auto; position:absolute; right:auto; }
    • html div#chat_input { bottom:auto; position:absolute; right:auto; } .tooltip { font-size:12px; overflow:hidden; position:absolute !important; z-index:10000 !important; } .tooltip .xtop, .tooltip .xbottom { background:transparent none repeat scroll 0%; display:block; font-size:1px; } .tooltip .xb1, .tooltip .xb2, .tooltip .xb3, .tooltip .xb4 { display:block; overflow:hidden; } .tooltip .xb1, .tooltip .xb2, .tooltip .xb3 { height:1px; } .tooltip .xb2, .tooltip .xb3, .tooltip .xb4 { background:#666666 none repeat scroll 0%; border-left:1px solid #333333; border-right:1px solid #333333; } .tooltip .xbottom .xb2, .tooltip .xbottom .xb3, .tooltip .xbottom .xb4 { background:#666666 none repeat scroll 0%; } .tooltip .xb1 { background:#333333 none repeat scroll 0%; margin:0pt 5px; } .tooltip .xb2 { border-width:0pt 2px; margin:0pt 3px; } .tooltip .xb3 { margin:0pt 2px; } .tooltip .xb4 { height:2px; margin:0pt 1px; } .tooltip .xboxcontent { background-color:#666666; border-color:#333333; border-style:solid; border-width:0px 1px 0pt; color:#000000; margin:0pt; padding:0pt 0.5em; text-shadow:#CCCCCC 2px 2px 0px; } div#site_nav, div#channel_nav { z-index:1; } div#header { position:relative; z-index:2; } div#main { width:666px; } div#local { overflow:hidden; width:268px; } div.problem, div.related { border:1px solid #6FC651; margin-bottom:30px; } div.problem h3, div.related h3 { background-color:#DBF1D4; background-position:5px center; background-repeat:no-repeat; padding-left:30px; } div.problem h4 { background-color:#EAEAEA; font-size:12px; line-height:25px; padding-left:20px; } div.related h3 { background-image:url(/images/ask/bluestatus.gif); } div.related a { text-decoration:underline; } #ask_advert_q2 { padding:0pt 0pt 5px 5px; } div.solutions { border:1px solid #B9B9B9; margin-bottom:15px; } div.solutions h3 { background-color:#EAEAEA; background-image:url(/images/ask/bluestatus.gif); background-position:5px center; background-repeat:no-repeat; padding-left:30px; } div.content, div.solution { padding:10px 5px 0pt; } div.info { border-bottom:1px dashed #CCCCCC; font-size:12px; font-weight:normal; line-height:26px; text-align:right; } div.accept_solution { border:1px solid #F90000; margin-bottom:15px; } div.accept_solution h3 { background-color:#FED6D2; background-image:url(/images/ask/redflag.gif); background-position:5px center; background-repeat:no-repeat; padding-left:30px; } div.problem_list { margin-bottom:20px; } div.problem_list div.nav { margin-bottom:10px; } div.problem_list div.nav span { background-color:#F2F8EF; font-size:13px; padding:5px; } div.problem_list div.nav a { font-size:13px; padding:5px; text-decoration:underline; } div#problem_sort { float:right; } div#problem_sort ul { border-bottom:1px solid #3366AA; margin-top:0pt; padding:2px 0pt 27px 10px; } div#problem_sort li { display:inline; float:left; height:26px; line-height:26px; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0pt 5px; } div#problem_sort li { background-color:#F7F7F7; border-color:#CCCCCC rgb(204, 204, 204) -moz-use-text-color; border-style:solid solid none; border-width:1px 1px 0px; } div#problem_sort li a, div#problem_sort li a:link, div#problem_sort li a:active, div#problem_sort li a:visited { padding:7px 10px; text-decoration:none; } div#problem_sort li a:hover { background-color:#006699; color:white; text-decoration:underline; } div#problem_sort li.selected { background-color:white; border-color:#3366AA rgb(51, 102, 170) white; border-style:solid; border-width:1px; } div#problem_sort li.selected a { color:#E28822; font-weight:bold; } div.problem_list h3 a, thead td a { text-decoration:underline; } span.score { background-image:url(/images/ask/score.gif); background-position:left center; background-repeat:no-repeat; padding-left:15px; } span.count { background-image:url(/images/ask/greenright-small.gif); background-position:left center; background-repeat:no-repeat; color:green; padding-left:15px; } div.more { font-weight:bold; padding:5px; text-align:right; } div.more a { text-decoration:underline; } tr.mouse_over { background-color:#F2F8EF; } td.date { color:green; } td.open, td.close { background-position:left center; background-repeat:no-repeat; padding-left:25px !important; } td.open, h3.open { background-image:url(/images/ask/ask.gif); } td.close, h3.close { background-image:url(/images/ask/greenright.gif); } table.grid { width:100%; } table.grid thead { font-size:13px; } table.grid tbody td { border-top:1px dashed #DDDDDD; padding:5px 3px; } div.related li, div#local li { list-style-image:none; list-style-position:outside; list-style-type:square; } div#local .search { color:green; } div#local .search a { color:green; text-decoration:underline; } div#local .search a:hover { color:#BC2A4D; } div#local .block { background-color:#F7F7F7; border:1px solid #E9F0F5; margin-top:10px; } div#local .block h3 { background-color:#C8DAE8; font-size:12px; font-weight:normal; height:20px; padding:3px 0pt 0pt 10px; text-align:center; } div#local div.tags { padding:5px; } div#local div.tags a { line-height:2em; margin:0pt 5px; text-decoration:underline; } div.my { padding:10px; } div.crumbs { padding-bottom:10px; } [/code]
    点赞 评论 复制链接分享

相关推荐