SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot ameerulislam's Avatar
    Join Date
    Jul 2011
    Posts
    145
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    A title coming in 2 lines on different screen sizes

    This is kind of a weird problem that is not happening in all the screen sizes. Only on relatively smaller sizes.

    the problem is here
    cvaol.com/cva_membership.php

    the word

    GETTING INVOLVED

    is suppose to be in one line but its showing in 2 lines in smaller screens like this

    GETTING
    INVOLVED


    I tested it with browser testers. Can any one suggest me how to solve this I'll be grateful. Thanks!

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,892
    Mentioned
    123 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ameerulislam View Post
    This is kind of a weird problem that is not happening in all the screen sizes. Only on relatively smaller sizes.

    the problem is here
    cvaol.com/cva_membership.php

    the word

    GETTING INVOLVED

    is suppose to be in one line but its showing in 2 lines in smaller screens like this

    GETTING
    INVOLVED


    I tested it with browser testers. Can any one suggest me how to solve this I'll be grateful. Thanks!
    If there isn't enough space to fit the two words on, they will wrap like that.

    You can force browsers to display the two words side-by-side by replacing the space between them with   (non-breaking space). However, doing that could have other effects on your design at those screen sizes, if you force that block to take up more space than it has been allocated.

  3. #3
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,509
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    I noticed you have the div with the main content ("body") inside your "menu" div and thus inside your "header" div. Is that done on purpose? It confused me a bit

  4. #4
    SitePoint Zealot ameerulislam's Avatar
    Join Date
    Jul 2011
    Posts
    145
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I didn't create the site, just editing it. its confusing me too. I reduced the text size and it seems better but not sure if it is working on every browser.

    Thanks


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
  •