Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
how to position the text box and other component in html independent to the browser size?
i have used this code
.center {
position: fixed;
bottom: 200px;
right: 400px;
}
but the component change the pos when i minimize the browser or just change its size
3 Answers
- SilentLv 79 years agoFavorite Answer
That's because you're using pixel units. Use percentages instead, e.g.:
bottom: 10%;
right: 20%;
Adjust to taste.
- Anonymous9 years ago
Just set a width/height for a text box div and use percents. Could use relative positioning, but better sometimes to tell the browsers exactly how you want your page laid out.
Choosing Dimensions for Your Web Page Layout:
In Search of the Holy Grail: http://www.alistapart.com/articles/holygrail/
Introduction to Responsive Web Design: http://www.linkedin.com/news?actionBar=&articleID=...
http://www.elated.com/articles/choosing-dimensions...
How to create flexible sites quickly using standards like CSS and XHTML: http://www.ibm.com/developerworks/web/library/wa-r...
Care With Font Size: http://www.w3.org/QA/Tips/font-size
Designing for the Web: Resolution and Size: http://sitepointcom.createsend4.com/t/y/l/ydlyuyd/...
Websites Shouldn’t Look The Same Across Different Browsers: http://www.noupe.com/design/websites-shouldnt-look...
Ron
- florkowskiLv 45 years ago
be conscious has a characteristic that facilitates you to create a be conscious record with fill in style fields. the fast start up approach may be to start up your record. once you get to the element which you relatively choose a style container, suitable-click on any toolbar and from the record of obtainable toolbars, p.c. "varieties." this offers you with varieties toolbars with different forms of style fields which you will insert into your record. you are able to further customize the style container, when you insert it, through suitable-clicking on it and going to "residences" on the pop up menu. as quickly as your style record is finished, you will could "defend" the style. on the menu, bypass to kit, defend, and set the innovations to guard the style fields, set a password. you are able to now deliver this record to all of us and characteristic them fill in basically the fields interior the style. for extra data on a thank you to apply style, press F1 for help and seek for "using varieties."