How can I only justify in the mobile and Tablet view and justify and dash in the view of the Office?

I need to have text to appear in the mobile and Tablet discovered 100% wide.  I need the same indented text by 200px on both sides in the view of the office.

Can you give us a link to your Web page in question and / or paste your CSS with HTML here and the div that you want to assign with indentation?

This can be done using questions from the media. You can tell your site to load a particular rule of CSS for the site on a desktop computer and another rule CSS for mobile & tablet.

Something like this:

@media screen and (max-width: 720px) {}

{#textdiv}

Width: 100%;

}

}

Take care of the div with ID "text", width of 100% on the screens with max-width as 720px (tablets & phones) normally.

@media screen and (min-width: 721px) {}

{#textdiv}

text-indent: 200px;

}

}

indentera the text by 200px on larger screens than 721px.

But if you want to have them both 200px left and right space, you should use the fill and no dash.

padding: 0px 200px;

will give 0px padding on top & down and give 200px on left & right.

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Unable to download purchased on iPad app

    I bought the Stylebook app on my iPhone. But when I try to download same app on my iPad, it shows that it is purchased, but not able to download. Any suggestions? The cloud icon is grey and not usable.

  • Recover lost iPhone contacts

    My iPhone 6 has been stolen and I had deleted the backup on my computer to save space, but I forgot to make another backup. I managed to restore my iPhone 6 by iCloud with apparently all the same contacts and applications. Recently, I found that ther

  • Smart Safari search bar, problem with the option 'include suggestions for Safari '.

    Hi all I am facing a problem with the search bar Safari Smart of yesterday (January 26, 2016). The search bar doesn't work anymore, I can't type, or search or write an http address either. I can only navigate by selecting a bookmark. Go to preference

  • HP Officejet Pro 8620 e-all-in-one printer windows 8

    Printer e-all-in-one-HP Officejet Pro 8620 Windows 8. wireless printer is. printing from iphone is OK Since my PC win 8 not sending a file to filesgo-printer - printer not respongding - no message. I have install new printer 8620 on 8600 series of dr

  • HP Deskjet HP 2540: scan to jpeg or e-mail file is broken down into blocks on hp2540

    as above, I have an all in one printer scanner Deskjet 2540, 81-32-bit windows-based, using the chrome browser. I've never printed successly JPEG at the request of file or email. Whenever I try to use it, it transfer itself on my pc in the form of sm