Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-05-29 21:37:00
- mpspace
- New Member
- Registered: 2008-05-29
- Posts: 1
Top yellow horizontal bar
Hi,
i ‘ve seen that in textpattern.com web site it’s possible to see a yellow band at the top of the page acting like a frame top (the rest of the page scroll below this yellow horizontal bar) but this is not a real frame. Can anyone help me to undesrtand how to realiza such a horizontal bar in my site with textpattern (i’ve installed the original version but it does not have this function)?
Thank you very much.
Mpspace
Offline
Re: Top yellow horizontal bar
html {
border-top: 15px solid #fc3;
}
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#3 2008-05-29 22:31:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Top yellow horizontal bar
I think what mspace means is that it seems to have a fixed position in IE6 (that’s the only browser in which I’ve seen this behaviour of the yellow bar). It doesn’t do that in modern browsers, and I also don’t know why it does in IE6.
mspace, google for css fixed position and you will find lots of examples.
Offline
Re: Top yellow horizontal bar
Probably (I haven’t seen the CSS, but MattD may have copy-pasted that chunk form TXP.com), it’s fixed because it’s applied to the <html>
. (I don’t find myself usually putting visual styles to that element).
Offline
Re: Top yellow horizontal bar
Ah… I was at work and only had access to IE6 so I didnt even think about that. Thanks Julian.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Pages: 1