Hi. I have simple page with "rubber" header and footer 20% each, 60% is my content space. Text should stay in the content right in the middle and take spase of 20% of the screen as well as header or footer (or 1/3 of the content region). Anybody can help me plz?
Here how my page should look like http://img854.imageshack.us/img854/2417/webj.jpg
I need text to stay not just in the center of the line, but in the center of the whole page and size to be not in pixels, but in %, 20% of the screen, I don't know if it is possible at all. Can anybody help me with code?
but how about top and bottom? And I need it to be always 1/3 of the content (or 20% of the whole page). So when you restore down the window the text would stay in line and would not divide in two or three lines.
here is the example http://img854.imageshack.us/img854/2417/webj.jpg (if this link doesn't work for some reason from this forum, try to copy and paste plz)
I'm guessing you want the content text to be center and 1/3 of space between the header and footer. If that's what you meant you need to apply this to the content area?
HTML Code:
margin-top: 33.3%;
margin-bottom: 33.3%;
can you be a bit more specific?
that would help us solve ur problem
If you want something to remain 'glued' to the bottom of the page, look at the CSS on my robots generator page. The link is in my signature.
I have 'glued' an advert for my MetaTagGenerator in the footer on the right hand side and it stays there. You can use this same technique to fix your header or footer.
I've used a static menu like this on TheSearchEngineList.com - go and have a look to see how it works with a header.
No, I don't want a template, and there are no such template I need. Here is the test page http://design.pindosiya.com/ I need this text in the middle to stay in one line and take about 20% of the whole page all the time, I mean when you restore down the page this text should not split.
And another question, I need to do menu in the middle of that footer to look like three columns, and I don't want it to look like links.
And I need it to look the same in every browser.
Guys I will really appreciate the full code. Thank you
Bookmarks