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?

Recommended Answers

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.

Jump to Post

All 2 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.