riverock1 Posted December 18, 2003 Share Posted December 18, 2003 <_< When I ad text it will not stay the same size as the rest of the text on the page. example....when the browser view text size is changed the only text that changes is the text I added. I do not want the text to change. I think it is a stylesheet thing but I am Not sure. Look Here For Example Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
TerryK Posted December 18, 2003 Share Posted December 18, 2003 You must have fixed this? The font size seems to me to change when I resize it in my browser... Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
gaia Posted December 18, 2003 Share Posted December 18, 2003 Changing the text size works fine for me as well (using Mozilla). If the issue isn't fixed yet, it might be a browser specific problem. If you still need help, try posting some more info (like what browser and browser version you are experiencing these problems with) and possibly even a screenshot or two. Link to comment Share on other sites More sharing options...
riverock1 Posted December 18, 2003 Author Share Posted December 18, 2003 I Do Not want the text to change size. Browser Avant 8.01 Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
berkedam Posted December 18, 2003 Share Posted December 18, 2003 I Do Not want the text to change size. Browser Avant 8.01 You are not in control. If it's my wish to change your font-size in and with my browser I can do so at my will. "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
TerryK Posted December 18, 2003 Share Posted December 18, 2003 If you're absolutely DETERMINED to force a visitor to view text the way *you* want it displayed, the only solution I can think of would be to convert all of your text to images. (Not exactly a user- or search-engine-friendly solution...) Otherwise, I think you'll just have to accept that you do not have total control over the visitor's browsing experience and design around that as best you can. HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
riverock1 Posted December 20, 2003 Author Share Posted December 20, 2003 It's not that I want to control a visitor to my site I just fell that it keeps the site uniform for folks that don't even know how to control their browser options. I have seen text control do on many sites and not by coverting text to image maps. check this site for an example: view this site you will note that this text is an add in to the page but does not change size. this is what I am looking for, if you know how this was done thats great if not and you happen to find out please let me know. Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
berkedam Posted December 20, 2003 Share Posted December 20, 2003 riverock1 Posted on Dec 20 2003, 06:09 AM check this site for an example: view this site you will note that this text is an add in to the page but does not change size pls. look at amber_big and amber_small for 2 #'s screenshots. #1/ with a large and #2/ with a small font-size. :D No special tricks used, just screenshots. "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2003 Share Posted December 20, 2003 I suspect that we are talking to cross purposes here. Your example site's fonts are resizable on a whole page basis. However, you were saying that you were having one section resize and the rest stay the same. At a guess, perhaps you had a section of text that was using the browser default font and are changing your browser default to get the effect that you want to avoid? You can fix this by adding a class="main" to the definition of the controlling element, which will usually be a <td>. I.e. change from <td> to <td class="main">. Then it will use that CSS class. You can change properties by picking a different CSS class. You can even create your own CSS class (in stylesheet.css) and use that. Hth, Matt Link to comment Share on other sites More sharing options...
riverock1 Posted December 20, 2003 Author Share Posted December 20, 2003 Thank you, This is what I was looking for, I wil try this later tonight when I get home. If the text does change size I would like all text on the page to change and I beleave this is what your telling me. I.e. change from <td> to <td class="main"> :D Also If I mis-typed something sorry, I should have typed "change evenly". In the furture I will review my post better befor I submit. Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
riverock1 Posted December 22, 2003 Author Share Posted December 22, 2003 Hi, I tryed the replacing <td> with <td="main"> in a few places but still my text size changes unevenly. This is what I am working with, it,s just some html that I added to my default page to so the artist and if I get this text thing worked out will have bio ionfo. Below is code............................................................................ ........................ <?php /* $Id: default.php,v 1.3 2003/02/15 22:14:46 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', ' </HEAD> <BODY> <P><CENTER><TABLE WIDTH="405" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="304"> <TD/> <TD WIDTH="38%" BGCOLOR="#ffffff" HEIGHT="23"> <B><FONT COLOR="#000000" FACE="Arial">Jacki Palvelka</FONT></B><TD/> <TD WIDTH="62%" BGCOLOR="#ffffff"> </TD> </TR> <TR> <TD WIDTH="38%" BGCOLOR="#ffffff" HEIGHT="112" VALIGN="TOP"> <A HREF="http://sunshowerart.chainreactionweb.com/default.php?manufacturers_id=3"><IMG SRC="http://sunshowerart.chainreactionweb.com/images/jackich_manufacturer.gif" ALIGN="BOTTOM" BORDER="0"></A> </TD> <TD WIDTH="62%" VALIGN="BOTTOM" BGCOLOR="#ffffff"></TD> </TR> <TR> <TD WIDTH="38%" BGCOLOR="#ffffff" HEIGHT="23"> <B><FONT COLOR="#000000" FACE="Arial">Gaerld Scott</FONT></B></TD> <TD WIDTH="62%" BGCOLOR="#ffffff"> </TD> </TR> <TR> <TD WIDTH="38%" HEIGHT="112" VALIGN="TOP" BGCOLOR="#ffffff"> <A HREF="http://sunshowerart.chainreactionweb.com/default.php?manufacturers_id=4"><IMG SRC="http://sunshowerart.chainreactionweb.com/images/me_small_osc.gif" ALIGN="BOTTOM" BORDER="0"></A> </TD> <TD WIDTH="62%" VALIGN="BOTTOM" BGCOLOR="#ffffff"></TD> </TR> </TABLE></CENTER> </BODY> </HTML> '); define('TABLE_HEADING_DEFAULT_SPECIALS', 'Specials For %s'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); define('TABLE_HEADING_FEATURED_PRODUCTS', 'Featured Products'); if (($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id'])) { define('HEADING_TITLE', 'Header'); define('TABLE_HEADING_IMAGE', ' Artist'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL', 'All');} elseif ($category_depth == 'top') {define('HEADING_TITLE', 'Thanks for visiting our store!');} elseif ($category_depth == 'nested') {define('HEADING_TITLE', 'Categories');} define('TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY', 'Featured Products in %s '); ?> ................................................................................ ....................................... Thank you for your help :rolleyes: Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
berkedam Posted December 22, 2003 Share Posted December 22, 2003 I tryed the replacing <td> with <td="main">Matt said change it into <td class="main"> and so you did ... but you also threw in a lot of rubbish: <font face="arial, geneva, san serif" size=2> please remove that a.s.a.p (san serif?) and you will have the illusion that while using a crappy browser everything is working like you want it. Please also be informed that visitors to your site with bad-eyesight and the same crappy type of browser (IE-type) will not be able to enlarge the text so they will probably be leaving your shop for another one. On the other hand you may gamble that visitors with bad eyesight have meanwhile switched to a decent browser like Mozilla (freeware) or Opera (freeware) or Firebird (freeware). With those browsers one can enlarge the text like one wants and you can definitively not do anything against it. "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
riverock1 Posted December 23, 2003 Author Share Posted December 23, 2003 John, Please cool-out I really just want to learn not trade works with you, thank you. However you may be rihgt about my browsers, I will load the other browsers (Mozilla, Opera, Firebird) and check the outcome. As for the <td="main"> where does it go. I will remove this I see how it would be in conflect <font face="arial, geneva, san serif" size=2> THANKS............ Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
berkedam Posted December 23, 2003 Share Posted December 23, 2003 riverock1 Posted on Dec 23 2003, 04:17 PM As for the <td="main"> where does it go. It's not <td="main"> It's <td class="main"> and that is what you have inserted. At the moment the centre-text in the URL you gave earlier <http://www.sunshowerart.com/shipping.php> looks like: <table cellpadding="2" cellspacing="0" width="100%" border="0"> <tbody><tr> <td class="main"> <font size="2" face="arial, geneva, san serif"> <b>Sun Shower Art</b><br> We Ship our products via <a target="_blank" href="http://www.ups.com/WebTracking/track?loc=en_US">UPS</a> or <a target="_blank" href="http://www.usps.com/shipping/trackandconfirm.htm?from=home&page=0035trackandconfirm">US Postal Service.</a> Items are shipped within 48 hours of confermed payment. <br> <font size="2" face="arial, geneva, san serif"> <b>Tracking Information.</b><br> etc. etc. Pls. remove <font size="2" face="arial, geneva, san serif"> everywhere you have inserted it and find it because it is in conflict with class="main". "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
riverock1 Posted December 23, 2003 Author Share Posted December 23, 2003 Very cool, thank you................ :D Gerald Scott Jr. Knoxville, TN Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.