Code2Design.com

User login

The Layout

Programming

Graphic Design

Resources

Navigation

C2D Projects

Unsystematic Affiliates

Tutorials-db phpBB AK Pro Tutorial Search 

Change Language

Who's online

There are currently 0 users and 1 guest online.

Getting stuff to overlap...

I'm new here, and I love the site! I'm just hoping to find out how to make pieces of a site overlap one another. Specifically text boxes and buttons, right now. Could anyone help me?


Submitted by Ataru on October 18, 2007 - 11:39pm.
printer friendly version

Overlap

Would you mind explaining a little more? Do you mean using something like CSS to get something to "float" over something else?

.item1 {
postilion: absolute;
margin-top: -100px;
float: left;
z-index: 9999;
}
.item2 {
top: 0px;
postilion: absolute;
float: left;
}


Clarification...

Oh, sorry, I guess I definitely didn't clarify enough... that's not exactly what I meant, though thanks for the code, it will definitely be useful! What I meant is that I would like to know how to make things overlap one another when the window is resized, if there is a way to do that.


Still not clear

I am still not sure what you are trying to do. Do you mean something like getting the left column to overlap the content area if the screen is less than 800px? Or do you mean getting things like images or links to overlap?

Actually, I don't think that I have ever needed to do something like this in my designs. So... If you tell me why you want to do this I might have better idea for you.


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br /> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use BBCode tags in the text, URLs will be automatically converted to links
More information about formatting options



Like what you see?

Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say. Contact Us

delicious   digg   reddit   magnoliacom   newsvine   furl   google   yahoo   technorati