Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > HTML, XML, Javascript, AJAX
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 11-02-2006, 06:13 AM   #1 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 167
DavH27 is on a distinguished road
CSS changing default text in BODY tag

I'm having serious problems with using CSS to change the way all text appears by default.

I would appreciate if people could lend a hand.

I want CSS to change the text even if it's not in a P tag. I can change the P tag but not if it's outside the P tag. If I remember, I should be changing the text formating using the BODY tag in the CSS file but it's a complete disaster.

http://www.geocities.com/davy_boy2000uk/dev/
http://www.geocities.com/davy_boy2000uk/dev/style.css
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 11-02-2006, 08:16 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
that is weird.. it may be something to do with geocities.

try this:
HTML Code:
<style> * { font-family: Courier New; } </style>
__________________
testing 1 2 3
sde is offline   Reply With Quote
Old 11-02-2006, 08:35 AM   #3 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 167
DavH27 is on a distinguished road
Great scott, it worked!! You, sir, are a freaking GENIUS! Now, how does this work if it doesn't designate a tag to format? Does the * act a a wildcard and cover ALL the tags?
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 11-02-2006, 08:57 AM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
Quote:
Originally Posted by DavH27 View Post
Does the * act a a wildcard and cover ALL the tags?
yes, it covers all elements.
__________________
testing 1 2 3
sde is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Include file shown correctly in FF not in IE Stoner HTML, XML, Javascript, AJAX 2 04-21-2006 07:56 AM
CSS: Using hover with style tag inline wolf99 HTML, XML, Javascript, AJAX 0 01-20-2006 05:10 AM
Text format changing DavH27 HTML, XML, Javascript, AJAX 3 11-09-2004 03:10 PM
Changing all the Text Size on a page buchannon HTML, XML, Javascript, AJAX 5 11-03-2004 01:15 PM
An Introduction to XHTML/CSS Rie HTML / CSS 0 03-07-2003 06:50 PM


All times are GMT -8. The time now is 09:53 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle