1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Responsive HTML Page Design - Help Needed

Discussion in 'HTML & Website Design' started by anna30, Nov 27, 2018.

  1. #1
    I have created a page in HTML. Here i have put 6 images in table. It is fine in Desktop version but when it is opened in Mobile, it is not showing correctly.
    SEMrush
    Please check my page http://quizistan.in/download-app

    I want to show in mobile without horizontal scrollbar each image in one row.

    Suggest me code that can help me to make it better.
     
    anna30, Nov 27, 2018 IP
    SEMrush
  2. kennedygitahi

    kennedygitahi Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    Articles:
    3
    #2
    I can redo the page for you in bootstrap for free if yo want. Wold be a nice challenge for me. What do you say?
     
    kennedygitahi, Nov 28, 2018 IP
  3. kennedygitahi

    kennedygitahi Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    Articles:
    3
    #3
    Here is the index.html file with bootstrap added in plus a custom.css file with some of my styles added in. Have fun https://www.dropbox.com/s/9e6jxega65j7n23/new-site.zip
     
    kennedygitahi, Nov 28, 2018 IP
  4. anna30

    anna30 Active Member

    Messages:
    279
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #4
    This is not working. Please suggest.
     
    anna30, Nov 29, 2018 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,420
    Likes Received:
    353
    Best Answers:
    27
    Trophy Points:
    335
    #5
    Get rid of the table. A table cannot be responsive; it's the nature of the beast.
     
    kk5st, Nov 29, 2018 IP
  6. sarahk

    sarahk iTamer Staff

    Messages:
    24,535
    Likes Received:
    3,307
    Best Answers:
    94
    Trophy Points:
    615
    #6
    These images are your current problem

    [​IMG]

    There is absolutely no need for the words to be part of the image - put them in their own div and style them so they look exactly the same on desktop but sit below the image on mobile.
     
    sarahk, Nov 29, 2018 IP
  7. mmerlinn

    mmerlinn Notable Member

    Messages:
    1,852
    Likes Received:
    213
    Best Answers:
    5
    Trophy Points:
    240
    #7
    Why are you using TABLES for LAYOUT? Tables are for displaying TABULAR data.
     
    mmerlinn, Nov 29, 2018 IP
  8. sarahk

    sarahk iTamer Staff

    Messages:
    24,535
    Likes Received:
    3,307
    Best Answers:
    94
    Trophy Points:
    615
    #8
    If you view the source you'll see there is not <table tag
     
    sarahk, Nov 29, 2018 IP
  9. kk5st

    kk5st Prominent Member

    Messages:
    3,420
    Likes Received:
    353
    Best Answers:
    27
    Trophy Points:
    335
    #9
    Without parsing the scripts, I have seen the table elements and am sure they're written by the js. Using js to write content is idiocy.

    g
     
    kk5st, Nov 29, 2018 IP
  10. anna30

    anna30 Active Member

    Messages:
    279
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #10
    @kennedygitahi - I have implemented the code sent by you. But yet now it is not showing properly in Desktop and Mobile View. Please help me so that i can look fine in both - Desktop as well as in Mobile. Now, it is in DIV tag.
    http://quizistan.in/download-app
     
    anna30, Nov 29, 2018 IP
  11. volkankey

    volkankey Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #11
    I can do it via responsive css.

    Skype:
    volkankeyif
     
    volkankey, Dec 6, 2018 at 3:30 AM IP
  12. deathshadow

    deathshadow Acclaimed Member

    Messages:
    8,670
    Likes Received:
    1,564
    Best Answers:
    226
    Trophy Points:
    515
    #12
    Oh yeah, take someone who already has problems and screw them over even further. That's a GREAT plan.

    Again, only thing you can learn from bootcrap is how NOT to code a website.
     
    deathshadow, Dec 6, 2018 at 5:36 AM IP