Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1649 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

CSS/Font Problems

Thread title: CSS/Font Problems
Closed Thread    
    Thread tools Search this thread Display Modes  
11-15-2005, 01:58 AM
#1
Mr. Cheeky is offline Mr. Cheeky
Status: I love this place
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 739
iTrader: 0 / 0%
 

Mr. Cheeky is on a distinguished road

  Old  CSS/Font Problems

Links involved
http://www.desihilife.com/
http://www.desihilife.com/home.html

Problem
Even though I change the font size for home.html, it doesn't change and show up in the index.php file.

I made the size 12pt to begin with and realized its too big, so I lowered it down to 8pt or so using the internal stylesheet. I refreshed the index.php file a few times as well as clearing my cache/cookies and still nothing. The message takes up 2 lines whereas it should take up only 1 line with the size 8pt font.

Does anyone know whats wrong?

11-15-2005, 03:36 AM
#2
seen.to is offline seen.to
seen.to's Avatar
Status: unusual suspect ™
Join date: Feb 2005
Location: Lancaster, PA from London UK
Expertise:
Software:
 
Posts: 1,814
iTrader: 0 / 0%
 

seen.to is on a distinguished road

  Old

Ahh mate, what a mess!

2 body tags, 2 html tags, tables and spacers everywhere... Sort your HTML out before worrying about anything else.

11-15-2005, 01:37 PM
#3
Jhin is offline Jhin
Jhin's Avatar
Status: Member
Join date: Nov 2005
Location: Ontario, Canada
Expertise:
Software:
 
Posts: 303
iTrader: 0 / 0%
 

Jhin is on a distinguished road

Send a message via ICQ to Jhin Send a message via AIM to Jhin Send a message via MSN to Jhin Send a message via Yahoo to Jhin

  Old

Well, first it would help to put your text into a paragraph.

Code:
<center><p>Hello and welcome to Desi Hi-Life. 
This site is currently under construction, please check 
back later for info and updates.</p>
Then in your CSS file put the following:

Code:
P {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 9pt;
	color: #FFFFFF;
}
Change as needed in the CSS and you should be fine. Remember this will affect all paragraphs in the HTML document. If you want to change one or two from the default again use the CSS sheet and add a new class that you can identify special paragraphs with.

The <FONT> attribute is being depreciated and so it's best to stay away from it if at all possible.

Edit: I agree with Seen.To the code needs to be fixed up. Spacers are aweful...

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed