Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-15-2005, 10:23 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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)?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:24 AM   #2
Robertf
Confirmed User
 
Join Date: Feb 2004
Posts: 392
www.w3.org -> css
__________________
....
Robertf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:26 AM   #3
xerex
Confirmed User
 
Industry Role:
Join Date: Jan 2005
Location: icq.336487572
Posts: 751
you can use cascading styLe sheet..
__________________
336487572
xerex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:28 AM   #4
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
[HTML]
<style type="text/css">
body {
font-size: 12px;
}
</style>
[/HTML]
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:29 AM   #5
Rob
I'm a great bowler.
 
Rob's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: Right Outside of Normal.
Posts: 13,309
Stylesheets rock the house!
__________________
Rob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:32 AM   #6
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
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]
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:32 AM   #7
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:33 AM   #8
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
You have to put style tags in between the head tags.
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:34 AM   #9
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2005, 10:35 AM   #10
Rob
I'm a great bowler.
 
Rob's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: Right Outside of Normal.
Posts: 13,309
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?
__________________
Rob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.