Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Make a Fixed Banner

Make a Fixed Banner


Introduction - A double yew tay eff?! Guide to fixed banners.

This tutorial will eventually give the effect that Popup blockers come up with when they block something.

It's based on div design, and it's quite a sneaky way to get someone's attention, although it can be annoying.

Make a Fixed Banner

First of all we've got to get our CSS code ready to go.

#fixedBanner {<br

/>
position: fixed; /* Obviously.. */
top: 0;
left: 0;
padding: 3px;
font-family:

Tahoma, Verdana, Arial;
background: red;
border: 1px solid #666;
}
#fixedBanner:hover

{
background: #AAA;
padding: 3px;
border: 1px solid #666;
}


Paste that in your <head> tag inside some <style> tags, or paste it in your CSS file.

Now in your page, put this in somewhere:

<div id="fixedBanner">AvengeX.com - Web Development Community</div>

And you're off!



Author's URL: Will
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Reader's comments
comments GONZALEZMelody October 07, 2011 says:
I had got a dream to make my own organization, however I did not have got enough of money to do that. Thank God my close colleague suggested to use the <a href=" loans</a>. Thus I received the small business loan and made real my dream.
Reply
Add comments to "Make a Fixed Banner"

Captcha