Test Resizing

I want that user can not resize the text
of my web page
from View-->Text Size menu of Internet Explorer

How can I do that
«1

Comments

  • [b][red]This message was edited by tburcham at 2003-2-24 9:41:4[/red][/b][hr]
    : I want that user can not resize the text
    : of my web page
    : from View-->Text Size menu of Internet Explorer
    :
    : How can I do that

    Hi,
    You have to specify an absolute font size. Here's a sample page.

    [code]
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">




    Welcome to my website.


    [/code]

    tburcham
    [b]
    Note:
    I accidentally deleted the closing "Head" tag in the original
    post. It's fixed now.
    [/b]
  • Thank you very much
    it really solved my problem

    there is another issue
    which ruins the layout of page

    that is different Resolution Dimensions of different
    display terminals
  • : Thank you very much
    : it really solved my problem
    :
    : there is another issue
    : which ruins the layout of page
    :
    : that is different Resolution Dimensions of different
    : display terminals
    :


    Hi Nomi49,
    You can get the screen resolutions of the individual
    terminals. The JavaScript in the following HTML page
    will get and show the width and height in pixels of the
    screen it's running in. If you need adjustments made to
    the layout based on that, you'll need more code. [code]
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


    var wd, ht;
    wd = window.screen.availWidth
    ht = window.screen.availHeight
    alert(" width = " + wd + " height = " + ht )




    Welcome to my website.

    [/code]

    What type of layout problems are you having, and what
    browsers do you need to support?

    tburcham
  • thanx again

    my problem is there are some tables with
    flexible width

    but some tables in a site has to be with fixed width
    and that effects the look

    if I design my layout for 800x600 than
    user with 1024x800 resolution will have some White area on the
    right side

    and if I design for 1024 res. user
    a user with 800x600 has to scroll to the right side


  • : thanx again
    :
    : my problem is there are some tables with
    : flexible width
    :
    : but some tables in a site has to be with fixed width
    : and that effects the look
    :
    : if I design my layout for 800x600 than
    : user with 1024x800 resolution will have some White area on the
    : right side
    :
    : and if I design for 1024 res. user
    : a user with 800x600 has to scroll to the right side
    :

    Hi nomi49,
    Find out the optimum dimensions for everything at both resolutions
    and I'll see if I can write some JavaScript to adjust them at run time.
    What all browsers ( and their versions ) are being used?

    tburcham
  • Hi,

    : if I design my layout for 800x600 than
    : user with 1024x800 resolution will have some White area on the
    : right side
    :
    : and if I design for 1024 res. user
    : a user with 800x600 has to scroll to the right side

    Remember there is always the option of using % widths. As long as you design the page and anchor any images in place by placing fixed width tables inside variable width ones, you can normally fiddle things so that the page looks OK when resized. You might want to take a look at how some of the bigger sites handle this issue by seeing how they act at different resolutions.

    Hope this helps,

    Jonathan




    -------------------------------------------
    Count your downloads:
    http://www.downloadcounter.com/
    And host your site:
    http://www.incrahost.com/
    Don't say I never give you anything... ;-)

  • there is another problem

    I waant my images to download to the client side in
    background and
    all of them should appear at the same time

    I handle the background fetching of images
    by preloading through javascript
    but don't know how to display at once
  • using style I hav achieved an absolute text size

    but not able to control the size of bullets

    is that possible to control
  • : using style I hav achieved an absolute text size
    :
    : but not able to control the size of bullets
    :
    : is that possible to control
    :


    Here's a way. Just use an image of your own, of the exact size
    you need the bullets to be, and combine that with absolute font
    size setting. Here's an example: [code]
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    Title

    UL{
    LIST-STYLE:
    circle url(dot.gif) inside;
    FONT-WEIGHT: 500;
    FONT-SIZE: 10pt;
    FONT-FAMILY: 'Arial'
    }

    • text
    • item1
    • item2
    • item3
    • item4
    • item5
    • item6
    • item7
    • item8
    • item9
    • item10
    [/code]

    Bye, tburcham
  • thank u very much tburchum,

    u hav always been so cooperative to me

    I might not be aware of so many things today
    with out ur help

    don't feel that I'm flattering u.

    Anyhow, for quite some time I have a problem
    and searched for it through many resources
    but could not find a working solution fo that

    My problem is that
    my all images should be downloaded
    completely at the backend of browser

    and should be appear to the visitor
    untill all of them, are fully
    loaded.

  • [b][italic]
    My problem is that
    my all images should be downloaded
    completely at the backend of browser

    and should be appear to the visitor
    untill all of them, are fully
    loaded.[/italic][/b]

    Hi nomi49,
    Here's an example from a tutorial I found at
    http://www.netmechanic.com/news/vol3/loadtime_no6.htm [code]

    if (document.images) {
    img1 = new Image();
    img2 = new Image();
    img1.src = "imageName1.gif";
    img2.src = "imageName2.gif"
    }
    [/code]

    tburcham
  • i have also seen such example
    at w3schools.com

    but the problem is
    how objects img1 and img2 are associated
    with embedded images in html code.

    there must be some link

    other way I had tried this
    it didn't work


    secondly u send me few codes
    every code example contains the following line at top
    I hav seen this on many other sites too

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    what is the purpose of above line



  • I have a problem too, I want users to be able to resize text (View >> Text Size) but it is not working i'm using a CSS how could i do this?
  • u r using CSS
    then use following code
    [code]

    font {font-size: 10pt}
    p{font-size: 10pt}
    td {font-size: 10pt}

    [/code]

    u can use this property with any tag
    u can also make a class for this purpose
    Tell me if any probes

  • it does not seem to work below it the CSS file coding can you edit it as necesssary

    h1 {color: #003399; font-family:tahoma,arial,sans-serif; font-size: 13px bold }
    h2 {color: #003399; font-family:tahoma,arial,sans-serif; font-size: 12px bold}
    h3 {color: #003399; font-family:tahoma,arial,sans-serif; font-size: 11px bold}
    p {color: black; font-family:verdana,helvetica,sans-serif; font-size:11.5px}


    a:link { color: blue; text-decoration: none; font-family: verdana,helvetica,sans-serif; font-size:11.5px; #id1{cursor: hand}}
    a:active { color: blue; text-decoration: none; font-family: verdana,helvetica,sans-serif; font-size:11.5px;#id1{cursor: hand}}
    a:visited { color: blue; text-decoration: none; font-family: verdana,helvetica,sans-serif; font-size:11.5px;#id1{cursor: hand}}
    a:hover {color:blue; text-decoration:none; background:lime; font-family: verdana,helvetica,sans-serif;font-size:11.5px;#id1{cursor: hand}}

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories