hi everybody, this is my first time posting something. And I'm sorry because my english is far from perfect.
I'm trying to make a fullscreen transparent div but I have some restrictions on the way to do it. My div should be inside another div. As the containig div isn't full screen I think the inside div can't be full screen. . . .
I try to achive this in several steps to reduce complexity. The first step was to make a transparent 100% width, 100% height div inside anotherone, this should be portable to IE6+ and Firefox. In firefox it works fine, but in IE6 is a mess, the contained div height is much less than 100% of the container div.
Can anybody help me to make this work on IE6?
Can anybody tell me if is posible to make the transparent div fullscreen inside the other div?
Here is the code: - <html>
-
-
</html>
-
<body>
-
<form>
-
<input type="text" size="20"/>
-
<input type="buttom" value="Enviar"/>
-
</form>
-
-
<div style="position:relative; top: 0; left:0; background-color:#0000ff; border:1;">
-
-
<div style="position:absolute; top:0;left:0; height:100%; width:100%; background-color:#aaaaaa; filter: alpha(opacity=80, finishopacity=10; style=0);z-index:999;opacity:0.8">
-
-
</div>
-
<div style="position:relative; background-color:#ffffff; opacity:1; margin: 0 auto 0 auto; width:220; height:200; text-align:center; z-index:1000">
-
First trial
-
</div>
-
-
-
</div>
-
-
</body>
6 11916 Markus 6,050
Recognized Expert Expert
Hey there, hdsk.
When posting code on the forums, be sure to use [code] tags. [code] .. code goes here [/code]. If you neglect to do so, you will be given a warning and possibly a temporary ban. Please read the Posting Guidelines on How To Ask A Question
Markus.
Hey there, hdsk.
When posting code on the forums, be sure to use [code] tags. [code] .. code goes here [/code]. If you neglect to do so, you will be given a warning and possibly a temporary ban. Please read the Posting Guidelines on How To Ask A Question
Markus.
Thanks for the advice Markus, I didn't know that.
You will never get IE to attempt to perform like modern browsers without a proper doctype. See the article about doctypes under the Howto section at the top.
You will never get IE to attempt to perform like modern browsers without a proper doctype. See the article about doctypes under the Howto section at the top.
Hi,
Thanks for your answer.
I try all the doctypes in the howto section and none of them work for me. Using them changes how the div looks. Their width and height seem to change but they doesn't make the right efect. In firefox with those doctypes I can't see the gray background. It seem all div be the same width/height and the top one hidding the others.
In IE almost same problem as before :-(.
Hi,
Thanks for your answer.
I try all the doctypes in the howto section and none of them work for me. Using them changes how the div looks. Their width and height seem to change but they doesn't make the right efect. In firefox with those doctypes I can't see the gray background. It seem all div be the same width/height and the top one hidding the others.
In IE almost same problem as before :-(.
Sorry. Don't think your construct will work. Even if the CSS was valid. Even without a doctype. Even with a doctype. Even with doctype and valid HTML and valid CSS.
I try all the doctypes in the howto section and none of them work for me. Using them changes how the div looks. Their width and height seem to change but they doesn't make the right efect.
Of course it does. The doctype is the set of rules you are telling the browser you are using. Change the doctype, change the rules. But you have to get all the browsers on the same set of rules and IE is the one that's in outer space.
Use the html 4.01 strict doctype, validate your html and css, fix the errors there, then see where we are.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Larry R Harrison Jr |
last post by:
I have pull-down menus in javascript and I have the code for opening a link
in a new window. But I want it to open a full-sized window. I can't figure
out the syntax. What I have so far:
Menu5_5_1=new Array("'Lonely Church","javascript:window.open
('http://www.photo.net/photodb/photo?photo_id=2640310')","",0,20,300);
That works fine, except I can't figure out how to modify it to make it open
full-screen.
|
by: pow67 |
last post by:
Is there a javascript statement which can be incorporated in a
hyperlink which will open a new page that fills the screen while
leaving the page with the link open?
Thanks in advance.
CW
|
by: Nick Weekes |
last post by:
Hi all,
Is there any javascript function/s that will tell me if the current
browser window is in full screen mode or not? I don't want to resize
the window, just size content based on full screen/not full screen.
Cheers,
Nick
|
by: Pat Sheen |
last post by:
Is there some setting in Access so when I get help it will display
full screen and not part screen with my Access window. I've Googled
and checked help but can't find anything.
Thanks
Pat
|
by: Tony Liu |
last post by:
Hi, when switched to the full screen mode in VS.NET IDE, is there any way to
hide the main menu bar?
Thanks
Tony
| |
by: Nicky |
last post by:
hi,all
We are going to develop a program and when it is running, we need it full
screen and also, user can not switch to other place before exit our program.
I am thinking, we can make a window full screen, but how to avoid user
switching to other program or windows? And also, there are many hot keys, how
to capture or disable these things?
Thanks
|
by: Jensen bredal |
last post by:
Is there any way i can view my web page in full screen mode?
F11 still hhas the internet explorer tool bar.
Many thanks in advance
JB
|
by: Franklin M. Gauer III |
last post by:
Hi,
We have an application running that uses FULL SCREEN ANCHORING in Windows
Forms. The application runs fine on all of our desktops and some laptops.
We are having problems with certain Dell laptops using an Nvidia Go graphics
driver (multi screen). When the app goes full screen - .NET does not detect
the right and bottom boundary of the screen - therefore all of the buttons
etc. that are anchored to either the right and/or the...
|
by: EreN |
last post by:
Hi!
Im new in this group so i dont know if that topic has been opened
before..
I want to ask that how can i make my console program open in full
screen mode?
Thanx...
|
by: MC felon |
last post by:
i worked and compiled programs in code::blocks. These .exe's do not
have full screen modes in them!
how do i get them to work full screen?even properties of these exe's do
not have full screen modes in them. (right click -properties). what
do i do to enable full screen?
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |