Is there a way to do percentage based line heights?

For example if I have a 24px font and want the line height to be 140%.

Things are harder these days. In the old days displays were all low resolution 100 DPI or below, all also had a 4:3 aspect ratio. Displays had a had a small limited number of pixels typically  640x480 800x600 and 1024x768.  So web pages were design to fit with a small number of pixels like 800x600 so a page would fit on a typical display.   Then in 2001 IBM showed up with a 22.2" LCD with 9.2 mega pixels with a 204DPI resolution 16:10 Aspect ratio 3840x2400 pixels. The marketplace was not ready for that display normal PC images display very small at 204DPI and display adapters could not support 3840x2400 pixels.
In recent years mobile devices have come on the scene with high resolution and as many pixels ad PC displays. However PC pages displayed so small on these high resolution displays web pages had to be reformatted and scaled up in size to be readable on these devices.  Next Apple came out with high resolution retina displays and again things needed to be scaled up in pixel size to be readable on these devices.  Laptop and Tablets followed suit high resolution displays are becoming the norm for all computer devices except desktop machines.
Manufactures see profits in mobile devices  and do not want to invest in desktop display.  Its hard to understand for they are manufacturing the needed LCD panels but only packaging them in mobile devices,  Top executives think they they know what best to increase profits to bad the don't have technical knowledge.  Look at how IBM made Microsoft a household word.
CSS is part of your answer however these days you need to take into consideration the device the end user is using to display your web page and you need to serve up pages appropriate for their current browsing device they will have more then one.  The one page for all devices days are gone.
Photoshop is a good Web tool however if web design is your job responsibility Photoshop should not be your main application. 

Similar Messages

  • Attachment downloading--is there a way to track percentage of big downloads in Apple Mail 5.2? (OSX Lion)

    I have a satellite internet connection and have trouble with big downloads and connectivity in Apple Mail.  I've discovered the Window/Activity button to track the progress of those downloads, but all it gives me is a rolling barbershop bar that never goes anywhere.  Right now I'm trying to download fifteen attachments that came with a message, and some of the files (primarily pdfs) show up in their designated folders--others have not.  Is there a way to track percentage on these downloads?
    Also, each of the files seems to have three progress bars rather than just one.
    All files are primarily 3-4MB.
    Thanks,
    Melissa

    The inconsistent message text view and when the text for an received message is very small is caused by the sender using HTML for message composition.
    Copied from Why HTML in E-Mail is a Bad Idea.
    Because it introduces accessibility problems. When you write in plain text, the receiving mail client renders the text in whatever font the reader chooses. When you format email with HTML, the sender controls the formatting. But this is a trap: You only think your message will render the same way to the viewer as it appears to the sender. In reality, the receiver can end up squinting because the font looks so tiny, or vice versa. HTML is not rendered the same way from one viewing client to the next - all guarantee of accessiblity goes out the window. This is especially problematic for visually impaired persons.
    The Mail.app does not include a preference setting to convert all text for received messages to RTF or Plain Text so what John provided does not apply when receiving a message that was composed in HTML.
    You can do as woodie provided or with such as message open, at the menu bar go to View > Message and select Plain Text Alternative and what John provided will apply and it also applies when the sender uses RTF or Plain Text for message composition.

  • Is there a way to draw a straight line from one point to another?

    Is there a way of drawing a straight line from one point to another please?

    Yes.  First click on this icon:
    Now select the line drawing icon:
    Now press a shift key and drag your mouse on the image to draw a straight line.
    These instructions are for Windows system so you need to adapt the method for Macs.  I can't afford to by an Apple Mac!!!!!
    Good luck.

  • Is there a way to just show the lines that have keys on?

    Hi,
    Is there a way to just show the lines of the pararameters that have keys on?
    Thanks.

    Select all of the layers in the timeline, and hit the "u" key.

  • Is there a way to draw a dash line that follows the curve in Photoshop?

    Hello,
    Is there a way to draw a dash line that follows the curve in Photoshop (See image)?
    I know how to make a dotted line, but not a dash line, in photoshop.
    Thanks.

    Use a vector shape and a dashed stroke in Photoshop CC.

  • On the 652X, is there a way to know which port/line caused the change detection w/o checking each individual line?

    On the 652X, is there a way to know which port/line caused the change detection w/o checking each individual line? This question relates to creating an interrupt handler when there are many events that cause an interrupt.

    No. Read the User Manual, CH4, Change Notification.

  • Is there a way to create date based timelines in iBook Author?

    Hi guys,
    Is there a way to create nice looking timelines in iBook author? I was going to utlize the interactive image functionality but it would be great if there were other options. Just something simple like dates along the bottom and then pictures above it with maybe some links in the body copy to actual chapters in the book?
    Here are some examples I found on the web but not sure if something similar can be done in iBooks (mine would be much simpler):
    http://timeline.verite.co/
    http://www.timetoast.com/
    http://www.tiki-toki.com/timeline/entry/55/The-Fight-for-Democracy-in-the-Middle -East/#vars!date=2010-12-18_08:00:20!
    Maybe we need to create a custom HTML widget? I really have no idea so any help is GREATLY appreciated.
    Thank you in advance!

    Hi KT, I saw that before but it's more about stiching an image and showing a change over time. I am just looking for date based timeline which shows events... a calendar basically in a timeilne format. Thank you though. I'll keep digging and post any solutions I find here.

  • I just purchased a Mac book air.  I have the Microsoft office and school for Mac  but can not down load it on The Air.  Is ther a way to download it on line using the codes on the box?

    I purchased  MacBook Air I have a Microsoft Offic and School for Mac.  Is there a way to download this product using info from the box since I can't put the disk in the Air

    You can download the trial: https://www.microsoft.com/mac/trial
    There should be a place to register in which you could enter your code. It may only ask you to register after the thirty days, I can't recall.

  • Is there a way to rename files based on ID3 tags? Or, is it possi

    to move the files to my computer in another manner that will name them correctly? I couldn't find an option in the Creative Mediasouce program that would allow me to do this.
    I have most of my music files on my desktop pc, but want to move them to my laptop. I can use Nomad Explorer to pull them onto my laptop and they retain the id3 tag info, but are simply named by the title of the song. This makes it so that the songs are in alphabetical order in the new folder... I would rather not have to rename them adding a track number to each one as I will be transferring many files.
    Thank you very much!

    Well the ID3 tags are fine, as they were correct on the Zen Touch. My problem is just that when you drag-and-drop them from the player to the desktop of the computer, the file name given is only the title of the song (i.e. not track or artist or ablum info.). If there was a way to do it, I would like to change this 'track only name' into at least a 'track number - track name' so that the files are in the correct order for the album in the folder. I thought that this would be easy because the information is already stored in each track's ID3 tag, but I can't figure out how to use this to my advantage. Thanks for your help and sorry if this is confusing.

  • Is there a way to consume REST based pdf web service in PeopleSoft

    We have a requirement to consume an pdf REST based web service in PeopleSoft and display the pdf file on browser. I have configured the Service & Service Operation in PeopleSoft.
    I have also confirmed the request is making to target server. Also when using curl, confirm the target web service is working  and response seems to be binary bytes representing pdf file.
    How can I consume this response from PeopleSoft message object. Tried using contentstring() and trying to do %response.write
       &getrpt_RESP = %IntBroker.SyncRequest(&MSG);
       &strresponse = &getrpt_RESP.GetContentString();
       %response.write(strresponse );
    /* Open a file.pdf* - to do/
    /* Write the response from message to file - to do */
    /*Use view attachment to open the file on browser - to do*/
    But this returns nothing on browser.
    If I had to copy pdf file, I normally would use something like
       Local JavaObject &in = CreateJavaObject("java.io.FileInputStream", &SrcFullPath);
       Local JavaObject &out = CreateJavaObject("java.io.FileOutputStream", &filepath);
       Local JavaObject &buf = CreateJavaArray("byte[]", 1024);
       Local number &byteCount = &in.read(&buf);
       While &byteCount > 0
          &out.write(&buf, 0, &byteCount);
          &byteCount = &in.read(&buf);
       End-While;
    But I am failing to find a way to copy the bytes from message to a file?
    Any help is appreciated!

    Integration Broker supports MTOM. You can find an example here: Sending and Receiving Binary Data.
    The alternative is to use Java to make the HTTP request. You can use HttpClient, as Sasank mentioned, if you don't mind managing jar dependencies. The alternative is to use HttpUrlConnection directly. Not easy in PeopleCode, but possible. If you are on PeopleTools 8.53, then you can script it in JavaScript and run it on the server through the Rhino JavaScript script engine manager included with Java 7 and part of PeopleTools 8.53+. I find this MUCH easier because you don't have to deal with reflection.
    Once you get the binary file, the next task is sending it to the client in binary format. %Response.WriteBinary works great, but requires you to start with binary data. I am only aware of one way to read binary data in PeopleCode that is suitable for %Response.WriteBinary and that is to select the binary data out of the database and into an Any variable. I have not figured out how to convert Java binary data into something suitable for PeopleCode's %Response.WriteBinary.

  • Is there a way to remove images based on size?

    Because of my improper maintenance on an earlier version of iPhoto my iPhoto 9 (AKA 11) has hundreds of thumbnail sized images in it as originals. Is there an easy way to remove them? one by one will take many hours.

    In an album select the photo(s) and depress the command and option keys and press delete - this will delete the photo from iPhoto - empty the iPhoto trash every 100 or so - iPhoto does not handle a large trash bin well
    for a complete list of iPhoto keyboard shortcuts see - http://www.apple.com/support/iphoto/shortcuts/
    LN

  • Is there any way to watch flash based sites on iPhone 4s?

    I was see streaming of some sports like cricket, football on some websites...all these websites
    are Adobe flash based?
    How can I play them on iPhone 4s?

    Even the makers of Flash are no longer making new versions for mobile devices.  Apple could not give it you if they wanted to.

  • Is there a way to direct requests based on HTTP return-code checking?

    I'd like to implement a policy based on return-code. The algorithm is as below,
    If HTTP return-code == 500 to 600
    serverfarm1
    else
    serverfarm2
    We have a CSM V3.2. Can someone tell me if this is doable? If yes, would you please tell me how.
    Appreciation, Q.Xie

    The solution I suggested is still what I recommend.
    What you have to do is split your serverfarm in multiples instances. One for HTTP and another one for the rest of your applications. Or you could do one for each application.
    The serverfarm for HTTP will have the HTTP probe and will go down when the response is 500-600.
    The other serverfarm(s) will not use the same HTTP probe and should not go down based on the response code.
    ie:
    serverfarm WEB
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    probe http
    serverm ALL
    real 10.10.10.10
    ins
    real 20.20.20.20
    ins
    no probe
    vserver web
    vip 1.1.1.1 tcp 80
    serverfarm WEB backup WEB_B
    vserver all
    vip 1.1.1.1 any
    serverfarm ALL
    Hope this helps.
    Gilles.
    Thanks for rating this answer.

  • Is there a way to get a resized element height by ILayoutElement??

    Hi all,
    I am currently working on a means of layout out dynamic text and want my layout to check the RichText component to determine if it has enough space horizontally to fit in the available real estate.  For example, if the available browser width is 300px, and the RichText is 200px, everything is fine and the component can be placed without modification.
    However, if the browser is 300px and the component is 400px, I want to resize the component to fit into the available space and trigger the RichText to present its content in a multi-line format.  I'm really close to a solution, but Ive been unable to find out if there is any means to get the height that the component will be once the width resize is complete.
    The crux of this approach relies upon using ILayoutElement within the layout and resizing as follows:
    element.setLayoutBoundsSize(target.width-HorizontalGap, NaN)
    Now I know that setting the height to NaN causes this method to set the elements height to its preferred height.  I've checked the other available methods such as element.getLayoutBoundsHeight(), element.getPreferredBoundsHeight(), element.getMaxboundsHeight() but these all appear to return the height as if the resize for multi-line didn't exist.
    My question is that I would like to find a way to figure out what the new height is GOING to be once the width resize occurs.
    Any thoughts?  Thanks in advance!
    PS. While stepping through, I noticed there is a protected $height that appears to have the correct height, but there doesn't seem to be a way to access it.  Do I need to subclass ILayoutElement to make this value available or is there something Im not seeing.
    Cheers!

    ok so as it turns out, the $height in the component appears to only be the height of a single line.  What I really want is the complete height of the component when I allow Flex to resize.  For example:
    I have 200px of available space and the RichText has 300px of text.  I want to know the height of the entire component once Flex has resized it to multi-line so that I can tell how far down my next line needs to be.  To accomplish this, I'm doing the following:
    if(element.getLayoutBoundsWidth() > target.width)
         element.setLayoutBoundsSize(target.width, NaN);  // I'm not setting the height of the component because Flex is doing that based upon the width
    The problem is that even after calling setLayoutBoundsSize(), when I call element.getLayoutBoundsHeight() (or element.getLayoutBoundsHeight(true) ), it's still giving me the height of a single line of text and not the total height with multi-line.  I need a way to tell the entire height of the component after Flex has resized for multi-line.
    Thanks so much and I appreciate any help I can get.

  • Is there any way to check how many lines left while printing a smartform ?

    Hi ,
      <b> I would like to know if there is any way to find the no.of lines or space left in the page before printing more information</b>. Usually this is done be SAP to check whether there is enough space available or not to print a page protected line type in table. 
    While printing SAP checks for availability of enough space. I would like to check it manually.
    Can anyone advice me on this how to achieve please ? Thanks very much in advance.
    Regards,
    Sreethan

    Yep, thats what I mean... Normally you create,
    Table->
    Main Area/Header/Footer->
      Row1->
        Cell->
          Text
      Row2->
        Cell->
        Text
    Try creating     
    Table->
    Main Area/Header/Footer->
      Folder (page protection enabled)
        Row1->
          Cell->
            Text
        Row2->
         Cell->
          Text
    end folder
    Clear?

Maybe you are looking for

  • No signal message - Mac Mini - Samsung P2370HD - DVI-D cable

    I just received my new Mac mini and want to connect it via DVI-D cable to my existing Samsung P2370HD monitor. I have a DVI-D to mini-DisplayPort adapter connected to the Mac Mini and then a long (3-5 ft) DVI-D male to DVI-D male cable connecting the

  • Photo's Icon not showing in iTunes

    Obviously my device is being read, I'm able to transfer videos off my computer into the movies icon in iTunes and it works fine. They go on my iPhone just great. But for some odd reason the "photos" icon in iTunes isn't there. Therefore I can't trans

  • Itunes not opening when connected

    Although I have the "open iTunes when this phone is connected" option checked on my 3GS - it is not happening. Any suggestions ?

  • G570 parts availability-metal palmrest

    I've seen that some of the higher end g570's came with a metal palmrest and i'd like to upgrade mine with the plastic one.  I know it requires some minor disassembly of the laptop but that's not an issue for me.  Where would I get such a part and wha

  • My contacts and appointments have vanished

    I have an iphone 3gs and a pc running Vista and use Microsoft Outlook  2007. I installed iOS5 and icloud and now all of my contacts and appointments have vanished from Outlook. What should I do? I was due to buy a mac laptop this week to replace my p