PDA

View Full Version : Issue involving frames and font size


jalves18
01-22-2003, 05:57 PM
Ok here is my issue... I run a site that is designed primarily in frames with pictures surrounded by text... an issue just came up where if the font settings for internet explorer are set to anything other than medium the text overlays the images and other text... I was wondering if there is a way or script to change the internet explorer settings when the page is accessed to go to the medium settin or a way to make the font size change to the option selected... "smallest, smaller, medium, larger, larget"... you can see what I am talking about by going to http://www.titanroofing.com and changing the internet explorer font settings... thanks for your help everyone...

justame
01-22-2003, 06:59 PM
jal...
/me took just a look® @ your linked site n' ummm thattt link isnt in just a frame® setup...:O(((

/me did notice though that thisss pic...RowesWharf.jpg...is just a overlapping® the text below it...:O(((

n' your 'images' @ the bottom of the just a ssociations® is overtop of your counter...:O(((

/me would just a do® the page in just a table®...
n' thennn have your vertical links in the lefthand <td> n' your 'content' in the righthand <td>...you could thennn just a lign® your roweswarf image like this...
<img src="roweswarf.jpg" width="xx" height="xx" border="0" alt="Roweswarf" align="right"> n' it twouldnt just a mess/cover® your text like it is now...:O)))

just a suggestion® from just a netscrap4.7® user...:O)))

duniyadnd
01-23-2003, 01:15 PM
Simple idea with tables

<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3">
Menu and that whole column
</td>
<td>
Some Information (Paragraph 1-4)
</td>
<td>
Image Goes Here
</td>
</tr>
<tr><td colspan="2">
Rest of text
</td></tr>
<tr><td colspan="2">
Information after text
</td></tr>
</table>

justame is right, your site is not in frames, maybe you're just thinking of it in terms of frames.

--------------------------

As for answering your question to finding out what browswer we're using, use Javascripting

Here's an idea of how to go about it..

<script language="javascript" type="text/javascript">
<!--

var btype = navigator.appName;
var bver = parseInt(navigator.appVersion); /*you can convert the information into an integer by also doing "navigator.appVersion + 0;" */

if (btype == "Microsoft Internet Explorer")
{
//script works if you're in IE.
}

else if (bver == "Netscape")
{
//script works if you're in Netscape
}

/*
To figure out which version you have, you've already collected the information in the variable "bver", so you can easily just choose what you want to do depending on the versions.
*/

Hope it helps
Duniyadnd

ronaldb66
01-23-2003, 03:06 PM
Jalves18,

the problem lies not in resizable text, so don't try to solve that.
It seems to me the problem lies more in the extensive use of absolute positioned divs.
I'm a novice on the subject of absolute positioning, but even to me it seems peculiar that certain divs run over and under eachother when text is resized.
Considering the page layout, if you want to avoid using tables for layout (which is a good thing), consider using relative positioning and the float property; if done correctly, all problems should be solvable.

duniyadnd
01-23-2003, 03:11 PM
if you want to avoid using tables for layout (which is a good thing)

Why do you consider that??

Thanks
Duniyadnd

ronaldb66
01-23-2003, 03:50 PM
In respect to your question i'd like to refer to this thread (http://www.codingforums.com/showthread.php?s=&threadid=13083) concerning that subject. Also, i'm just lazy! :D

jalves18
01-23-2003, 07:12 PM
thanks for all the help everyone... in my original post i meant to type layers not frames... sorry for that confusion. I have talked to the company and we have decided to undergo a redesign of the site. I think this is better because the site as it is now is too cluttered and most people I talk to agree with me... thanks for all the help from all of you it was greatly appreciated