GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   very quik and basic HTML question (https://gfy.com/showthread.php?t=456197)

alex79 04-15-2005 10:23 AM

very quik and basic HTML question
 
how do i setup the default font size=2 to entire html page (that i don't have to enter font tags on every paragraph)?

Robertf 04-15-2005 10:24 AM

www.w3.org -> css

xerex 04-15-2005 10:26 AM

you can use cascading styLe sheet..

psili 04-15-2005 10:28 AM

[HTML]
<style type="text/css">
body {
font-size: 12px;
}
</style>
[/HTML]

Rob 04-15-2005 10:29 AM

Stylesheets rock the house!

viki 04-15-2005 10:32 AM

Quote:

Originally Posted by psili
[HTML]
<style type="text/css">
body {
font-size: 12px;
}
</style>
[/HTML]


That works, but if you also have tables on your site you'll have to add this as well to apply it to them:

[HTML]
<style type="text/css">
table {
font-size: 12px;
}
</style>
[/HTML]

alex79 04-15-2005 10:32 AM

Quote:

Originally Posted by psili
[HTML]
<style type="text/css">
body {
font-size: 12px;
}
</style>
[/HTML]


this code don't do nothing... i've tryed with different numbers but no change on text size :(

viki 04-15-2005 10:33 AM

You have to put style tags in between the head tags.

alex79 04-15-2005 10:34 AM

Quote:

Originally Posted by viki
That works, but if you also have tables on your site you'll have to add this as well to apply it to them:

[HTML]
<style type="text/css">
table {
font-size: 12px;
}
</style>
[/HTML]


ok..thanks :)

Rob 04-15-2005 10:35 AM

Quote:

Originally Posted by alex79
this code don't do nothing... i've tryed with different numbers but no change on text size :(

lol. That's pretty funny.

Did you attach the stylesheet first?


All times are GMT -7. The time now is 02:29 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123