954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Css Text

I am having a bit of rouble trying to sort this out. Basically im creating a header for my website and I want the text to be a certain size when the page loads. If the current window is resized I want the text to change also. I cannot seem to do this. Can anyone help?

ZeroEddy
Newbie Poster
16 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

I'm not sure it can be done in straight css - even if you don't set a base font size, the browsers all have them built in.

There may be a javascript solution - check the window size and set the font-size of the element based on that.

Dandello
Posting Whiz in Training
263 posts since May 2010
Reputation Points: 28
Solved Threads: 23
 

hi,This can be done by using the window event handler using java script.if the window get any change the cintrol goes to script inside u can set desire header size..

know: http://www.eclouds.net or
http://www.javascriptkit.com/jsref/window.shtml

suresh ma
Newbie Poster
4 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: