• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Resolution problem(pl.. help)

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,
I have used <pre>&<p> tags wiht my text for alignment,color(texts are of different color )& i have set font- sanserif of size3.Using <pre> & <p> tag is must for me.
The required font size is got by me in 1024x768 resolution.But when the same is used in 800x600 resolution the text is bigger in size & the screen looks distored.what can be done.How can i make same coding for both 1024x768 & 800x600 resolution.
If i use <br> &   instead of <pre> & <p> tag the view is same in both resolution but this solution doesn't seem to fine enough for my problem.
If someone has a better solution pl.. do the favour immediately.
Ur's Friendly,
Sonara.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the real bugger about HTML. It is only supposed to describe the elements of the page in relative terms. It isn't designed to describe them in absolute terms. That's the nature of the beast.
That being said, you could try using CSS and absolute positioning. It would be messy, but you could also make the size of your elements (including <FONT>s) relative to the screen width and height.
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
without seeing your page, all i can do is give a general advice. dont set font size.
 
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic