Announcement

Collapse
No announcement yet.

<td> tag and Chrome

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • <td> tag and Chrome

    Hi,
    i have added the rss image near each forum's title , and to align the images on the right, before to put the code in the forumhome_forumbit_level1_post , i have edited the <td> tag, after the line:
    Code:
    <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
    in <td width="100%">.

    This edit work correctly on Firefox , IE and Opera, but in Chrome wont work....Chrome don't align the rss image on the right.

    Reading on the Chrome's help, i have seen that the td width is depecrable, for this they suggest to add a css.....

    The problem is that i don't have idea of the CSS that i could add.

    Anybody can help me?

    The whole code that i have addedd for the RSS feed is, in
    forumhome_forumbit_level2_post after
    Code:
    <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" >
    i have added:
    Code:
    <div style="float:right">
    <a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss_rss.gif" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
    </div>
    and in forumhome_forumbit_level1_post after
    Code:
    <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
                <td width="100%">
    i have added:
    Code:
    <div style="float:right">
    <a  href="external.php?type=rss2&forumids=$forum[forumid]"><img  src="images/misc/rss_rss.gif" border="0" width="11" height="11"  hspace="2" alt="RSS feed" /></a>
    </div>
    How do i replace that <td width="100%"> with a correct working css?

  • #2
    HTML Code:
     <td style="width:100px">

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      Originally posted by Lynne View Post
      HTML Code:
       <td style="width:100px">
      Hi Lynne, tx for your reply,
      i'm triyng

      Comment


      • #4
        If i replace the <td width="100%"> with <td style="width:100px">the page is broken:
        http://img96.imageshack.us/img96/8184/catturagi.jpg

        Here is like firefox, IE9 and opera show the correct page:
        http://img163.imageshack.us/img163/624/cattura1f.jpg

        Chrome don't put the RSS image on the right.

        Comment


        • #5
          Why are you replacing the 100% with 100px? 100px is not very wide.

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools &lt;- awesome site for html/css help

          Comment


          • #6
            Originally posted by Lynne View Post
            Why are you replacing the 100% with 100px? 100px is not very wide.
            Lynne, it's what you gave in post 2.

            Comment


            • #7
              Originally posted by Lynne View Post
              Why are you replacing the 100% with 100px? 100px is not very wide.
              Right, now working Thanks

              Comment


              • #8
                I think that will remain like is it now Chrome is a too young browser xD.......
                http://img12.imageshack.us/img12/4615/catturahh.jpg

                Comment


                • #9
                  Originally posted by JamesC70 View Post
                  Lynne, it's what you gave in post 2.
                  Um, uh.... why did I do that? OK, I know you can't answer that, but *I* knew what I meant to type and I have no idea why my fingers did their own thing! I meant to write 100%. There, I did it and my fingers did what I wanted this time!

                  Please don't PM or VM me for support - I only help out in the threads.
                  vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                  Want help modifying your vbulletin forum? Head on over to vbulletin.org
                  If I post CSS and you don't know where it goes, throw it into the additional.css template.

                  W3Schools &lt;- awesome site for html/css help

                  Comment


                  • #10
                    Lynne what you think about the chrome's render of the tag td? I can not fit it for chrome :S

                    Comment


                    • #11
                      I don't know why it's doing that. Do you have a link to the site so I can see it myself in Chrome?

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools &lt;- awesome site for html/css help

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X