473,473 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Website Masthead and Ad unit

1 New Member
Is it possible to have the (728x90 pixles) leaderboard ad in the website masthead that does not scroll? So as you scroll down the page the masthead with the ad unit will always remain visible.
Sep 15 '11 #1
1 2139
Rabbit
12,516 Recognized Expert Moderator MVP
Yes, you can use fixed positioning to do that.

Expand|Select|Wrap|Line Numbers
  1. <style>
  2.    #header { position: fixed;
  3.              top: 0px;
  4.              left: 0px;
  5.            }
  6. </style>
  7.  
  8. ................
  9.  
  10. <div id="header">This is fixed</div>
Sep 15 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: newbiecpp | last post by:
I am looking for a C++ unit testing program. I googled and found there are quite a few there, such as CppTest, C++Test, and DejaGnu. Can someone give me a recommendation among these programs? I...
5
by: Pete | last post by:
Hi folks, I've been looking at unit testing frameworks (csUnit, NUnit, etc) and have gathered some info on them (see the older thread on c# 2004). My question is this: how do they work with...
72
by: Jacob | last post by:
I have compiled a set og unit testing recommendations based on my own experience on the concept. Feedback and suggestions for improvements are appreciated: ...
25
by: acemtp | last post by:
Hello, I would like to show you a new collaborative website for javascript programmer. It's quite hard to know if some specific code you wrote will work on all browsers, and if not, why it...
5
by: Lee | last post by:
Hi, Using the propertygrid, is it possible to have a user selectable 'unit of measure' for a field. For example, I am looking at using a propertygrid for defining inputs into a calculation. ...
8
by: Eric | last post by:
I've spent some time this morning looking into unit testing frameworks for ASP.NET 2.0, but none seem satisfactory. I don't have Visual Studio Team Edition, so apparently I can't use Microsoft's...
0
by: murry69er | last post by:
Hey everyone!!..i was wondering if you people out there could help me out??...heres the problem, i have made a masthead in CSS but i really need to find out how to add a SWF movie into that area, is...
4
by: sharkyboy | last post by:
Hi, I am slightly confused. On our website www.the-ark.net there is a an advert strip down the right hand side. When viewed with IE or FF with windows XP the ad strip is visible. However the ad...
2
by: dmeglio | last post by:
Hello, I've just ported an ASP.NET project from VS 2003 to 2008. In 2003, I was using NUnit to test. Under 2008, I don't get a single DLL for my website, so I can't use NUnit anymore....
2
by: Fresno Bob | last post by:
Hi I am used to using the App_Code folder to put my DAL and BLL classes. However I want to move toward using separate dll's so I can start doing things like Unit Tests and using Sandcastle for...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.