arasuworld
asked on
make text smaller by default.
is there a way to make text smaller in a webpage which appearing in a iframe in my webpage. in safari u can make a website's text smaller by clicking view>make text smaller.(similar in other browers). but how to do that by default in a iframe webpage?
ASKER
the script is making all the text in my page smaller. it also resizes the search field smaller.now i can't make a search in the search field. how do i make the text smaller only the webpages in iframe.
<html>
<head>
<title></title>
<script>
x="<body>this text is small</body>"
</script>
<style>
.smallest { font-size:smallest }
</style>
</head>
<body onLoad="top.iframe1.docume nt.body.st yle.fontSi ze='6pt'">
Normal text
<iframe id="iframe1" src="javascript:top.x"></i frame>
</body>
</html>
<head>
<title></title>
<script>
x="<body>this text is small</body>"
</script>
<style>
.smallest { font-size:smallest }
</style>
</head>
<body onLoad="top.iframe1.docume
Normal text
<iframe id="iframe1" src="javascript:top.x"></i
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
* { font-size:smaller }
</style>