Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-05-29 22:06:30

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Top yellow horizontal bar

html {
	border-top: 15px solid #fc3;
}

My Plugins

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

#4 2008-05-29 22:35:39

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2008-05-30 03:17:10

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB