SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: Bootstrap <h2> tag won't shrink?

  1. #1
    SitePoint Guru solidcodes's Avatar
    Join Date
    Jul 2006
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bootstrap <h2> tag won't shrink?

    I used bootstrap for this. but it won't collpase.

    Why?


    Thanks in advanced.
    I Love JavaScript & jQuery...

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    922
    Mentioned
    13 Post(s)
    Tagged
    1 Thread(s)
    solidcodes, you are a person of few words. Tell us more about this <h2> that doesn't faint.

  3. #3
    SitePoint Guru solidcodes's Avatar
    Join Date
    Jul 2006
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or maybe my question is wrong.

    How to make texts in Bootstrap properly collapsible/fluid?

    example of texts <h1>, <h2>, <p>, <strong> etc...

    Thank you very much in advanced.
    I Love JavaScript & jQuery...

  4. #4
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    922
    Mentioned
    13 Post(s)
    Tagged
    1 Thread(s)
    Without seeing the specific HTML and css code in question, we cannot possibly provide an answer to your question. HTML responds to whatever css targets it. There is no "generic" reason why text does not resize in bootstrap yet does resize outside of bootstrap. You have asked a general question for which there is no general answer.

    If you can put together a sample of code that demonstrates the problem, we will be glad to look at it with you. A sample, not an entire page, please.

  5. #5
    SitePoint Guru solidcodes's Avatar
    Join Date
    Jul 2006
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay this page below that I'm currently working,
    http://coder9.com/ciportfolio/

    The title "Sample Site Twelve" and its description texts should collapse,
    when I resize the browser into small size.

    But it won't what could be the reason?

    Thank you very much in advanced.
    I Love JavaScript & jQuery...

  6. #6
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    19,896
    Mentioned
    216 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by solidcodes View Post
    The title "Sample Site Twelve" and its description texts should collapse ... But it won't what could be the reason?
    They are inside a fixed-width container:

    Code:
    <td width="1000" align="left">
    ... so there can be no reflowing of that content.

  7. #7
    SitePoint Guru solidcodes's Avatar
    Join Date
    Jul 2006
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aaaahhh, so it's the <table> that is affecting it.
    I'm learning, I'm learning...
    Thank you @ralph.

    I wish there is a thank button.
    I Love JavaScript & jQuery...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •