[advanced search]
NamePros Domain Auction
Live Event This Thursday at 6PM EST - Prebidding open now
25 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 06-21-2003, 04:08 PM   · #1
SAMSON
New Member
 
Trader Rating: (0)
Join Date: Jun 2003
Posts: 4
NP$: 7.00 (Donate)
SAMSON is an unknown quantity at this point
text sizing

Im making a site and design looks food... But if anyone will change text parameters in his browser (increase size, etc) then the whole design will be deformed...

Is there any java code or simply an html command that will forbid changing size of the text?
Im a beginner in web making so I will really appresiate your help.

Regards.


Please register or log-in into NamePros to hide ads
SAMSON is offline   Reply With Quote
Old 06-21-2003, 04:38 PM   · #2
deadserious
Senior Member
 
Trader Rating: (13)
Join Date: Aug 2002
Posts: 1,300
NP$: 2.85 (Donate)
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
You can do that with CSS



If you add something like this to the head section of your page, then all the text in the body section of your page will be sized to 10px and when someone tries to increase their font size it shouldn't change, or atleast I don't think so.

<style type="text/css">
body {
font-size: 10px;
}
</style>

It can get alot more complex than that though, but it's really not to hard to learn.

Here's how my example would look:

<html>
<head>
<style type="text/css">
body {
font-size: 10px;
}
</style>
</head>
<body>
Your content here
</body>
</html>

You can give it a try and experiment with it and see if it works. :webdev:
deadserious is offline   Reply With Quote
Old 06-22-2003, 05:21 AM   · #3
SAMSON
New Member
 
Trader Rating: (0)
Join Date: Jun 2003
Posts: 4
NP$: 7.00 (Donate)
SAMSON is an unknown quantity at this point

it didnt work. but thx anyways. i'll have to look more...
SAMSON is offline   Reply With Quote
Old 06-22-2003, 06:00 AM   · #4
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
Breast Cancer
imo if the text size changes make the site look wrong i think thats thats bad web design what if someone with bad eyesight visits your site and they can only use this small font?
adam_uk is offline   Reply With Quote
Old 06-22-2003, 06:36 AM   · #5
SAMSON
New Member
 
Trader Rating: (0)
Join Date: Jun 2003
Posts: 4
NP$: 7.00 (Donate)
SAMSON is an unknown quantity at this point
YES, it works now... but i had to use dreamweaver to make it work...
SAMSON is offline   Reply With Quote
Old 07-08-2003, 07:48 PM   · #6
Xxzibit
New Member
 
Trader Rating: (0)
Join Date: Jul 2003
Posts: 13
NP$: 20.00 (Donate)
Xxzibit is an unknown quantity at this point
Re: text sizing

Quote:
Originally posted by SAMSON
design looks food...




Mmmm.... Food design... 2 of my favourite things
__________________
-Posted by Xxzibit of RDB Designs

http://www.rdbdesigns.com/
Xxzibit is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
RealTechNetwork Website Header Design Buy Flash Arcade Game Script
Advertise your business at NamePros
All times are GMT -7. The time now is 03:57 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0