Previous Message
Next Message

WG: Problem with overlapping a form element

Sent by Oliver Hodgson on 14 March 2006 15:03


> -----Original Message-----
> From: Peter Neu
> Subject: [css-d] WG: Problem with overlapping a form element
> 
> What is wrong?

Firstly, you've floated the iframe to the left, which means it will appear to the left of anything
after it in the html. Secondly, you haven't actually positioned the iframe anywhere. Try this
instead:

iframe{
	z-index: 2;
	position: absolute;
	top: 0;
	left: 0;

	width:  15%;
	height: 700px;
}

That should place it in the top left of the document (unless it's parent element is positioned, in
which case it will appear in the top left of it's parent).

As asides:

1. display: no; - I think you mean display: none;
2. SRC="javascript:false;" - What's that do?

Cheers,


-- 
Olly Hodgson
Web Designer, Sesame

This e-mail is private and confidential and is protected by copyright. It may also be privileged or
otherwise protected by other legal rules. Access by or disclosure to anyone other than the intended
recipient for any reason other than the business purpose for which the message is intended, is
unauthorised. If you receive it in error, notify us, delete it and do not make use of or copy it.

Internet communications are not secure and therefore the Sesame Group companies (Sesame Group
Limited, Sesame Limited, Sesame Services Limited and Sesame General Insurance Services Limited) do
not accept legal responsibility for the contents of this message. Any views or opinions presented
are solely those of the author and do not necessarily represent those of Sesame Group companies
unless otherwise specifically stated.
_______________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message