Suppose having a frameset consisting of two frames, both with dark
background colors. One of the frames is a sort of menu and the other
one contains the content. When someone clicks a menu item in the first
frame, another page is loaded in the second frame. I know it is not a
nice solution, but given this situation, is it possible to set the
background color of the second frame, so that in between loading the
pages with a dark background color, you don't get the white background,
until the page starts loading? 8 3778
Veerle wrote: Suppose having a frameset
Stop there. Frames are usually harmful, and solve problems usually better
solved with other technologies. http://allmyfaqs.net/faq.pl?Problems_with_using_frames
(and switching away from frames should solve your problem)
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
To further the education of mankind, "Veerle" <ve*********@hotmail.com>
vouchsafed: Suppose having a frameset consisting of two frames, both with dark background colors. One of the frames is a sort of menu and the other one contains the content. When someone clicks a menu item in the first frame, another page is loaded in the second frame. I know it is not a nice solution, but given this situation, is it possible to set the background color of the second frame, so that in between loading the pages with a dark background color, you don't get the white background, until the page starts loading?
In addition to what David said, it's not possible to get rid of that white
interchange background, anyway.
--
Neredbojias
Infinity has its limits.
> To further the education of mankind, "Veerle" <veerleve...@hotmail.com> vouchsafed:
Suppose having a frameset consisting of two frames, both with dark background colors. One of the frames is a sort of menu and the other one contains the content. When someone clicks a menu item in the first frame, another page is loaded in the second frame. I know it is not a nice solution, but given this situation, is it possible to set the background color of the second frame, so that in between loading the pages with a dark background color, you don't get the white background, until the page starts loading?
In addition to what David said, it's not possible to get rid of that white interchange background, anyway.
-- Neredbojias Infinity has its limits.
Ok, I'll get rid of the frames. I did some research on the div-tag and
how to use with it (and css) to achive what I want. Actually there are
three solutions:
(1) I could have used a table construction for layout. Easy, but this
is a very dirty solution, so I didn't want to use it. W3C clearly says
it is not done (in its WAI guidelines).
(2) So, since the frameset exists and seems to be valid html (also by
W3C), I thought I'd use that. Don't know what WAI says about it, but
probably, they will not encourage it as well.
(3) I create a div element for each frame in my frameset and use CSS to
make every page and click behave like it did before with the frameset.
And it looks great.
I should probably be less lazy next time, because eventually, I had to
do everything twice...
To further the education of mankind, "Veerle" <ve*********@hotmail.com>
vouchsafed: In addition to what David said, it's not possible to get rid of that white interchange background, anyway. Ok, I'll get rid of the frames. I did some research on the div-tag and how to use with it (and css) to achive what I want. Actually there are three solutions:
(1) I could have used a table construction for layout. Easy, but this is a very dirty solution, so I didn't want to use it. W3C clearly says it is not done (in its WAI guidelines). (2) So, since the frameset exists and seems to be valid html (also by W3C), I thought I'd use that. Don't know what WAI says about it, but probably, they will not encourage it as well. (3) I create a div element for each frame in my frameset and use CSS to make every page and click behave like it did before with the frameset. And it looks great.
3 seems to be the best choice.
I should probably be less lazy next time, because eventually, I had to do everything twice...
Hehe, I think my pages are pretty good, but how many times do you think I
did (/do) them? Nobody knows 'it' well in the beginning.
--
Neredbojias
Infinity has its limits.
> Hehe, I think my pages are pretty good, but how many times do you think I did (/do) them?
I would like to see them. Can you give me your url?
> (3) I create a div element for each frame in my frameset and use CSS to make every page and click behave like it did before with the frameset. And it looks great.
I created 2 div-blocks, gave them a width (35% and 65%) and set them to
float left. Looks great, but I still want it different. I want my div
blocks next to each other, but the first one to have a fixed width
(270px) and the second one to use all the remaing space. Seems like a
very common thing to do, but I can't get it right...
I tried doing it like below, but both internet explorer en firefox take
the 100% width litteraly and make the "content" block the same width as
the browser, and move it to the next line to be able to do that. What
do I have to set for width for the "content" block so that it uses all
the remaing space on the right?
html:
<body>
<div id="menu">menu</div>
<div id="content">content</div>
</body>
css:
html {
height: 100%;
}
body {
height: 100%;
margin: 0px;
padding: 0px;
}
#menu {
background-color: #FF0000;
width: 270px;
height: 100%;
float: left;
}
#content {
background-color: #00FF00;
width: 100%;
height: 100%;
float: left;
}
To further the education of mankind, "Veerle" <ve*********@hotmail.com>
vouchsafed: (3) I create a div element for each frame in my frameset and use CSS to make every page and click behave like it did before with the frameset. And it looks great. I created 2 div-blocks, gave them a width (35% and 65%) and set them to float left. Looks great, but I still want it different. I want my div blocks next to each other, but the first one to have a fixed width (270px) and the second one to use all the remaing space. Seems like a very common thing to do, but I can't get it right...
I tried doing it like below, but both internet explorer en firefox take the 100% width litteraly and make the "content" block the same width as the browser, and move it to the next line to be able to do that. What do I have to set for width for the "content" block so that it uses all the remaing space on the right?
You should probably search the "Googlives" for 2-column layout. One
prob with this example is that 100% + 270px != 100%. Leaving the 100%
off is a step in the right direction, but I'm prett' sure more is
needed. html: <body> <div id="menu">menu</div> <div id="content">content</div> </body>
css: html { height: 100%; } body { height: 100%; margin: 0px; padding: 0px; } #menu { background-color: #FF0000; width: 270px; height: 100%; float: left; } #content { background-color: #00FF00; width: 100%; height: 100%; float: left; }
--
Neredbojias
Infinity has its limits.
To further the education of mankind, "Veerle" <ve*********@hotmail.com>
vouchsafed: Hehe, I think my pages are pretty good, but how many times do you think I did (/do) them?
I would like to see them. Can you give me your url?
Mais oui! :)
One good example is: http://www.neredbojias.com/beta/mars.html#p1
I don't use a lot of columns on my site, but the index page (source) can be
informative: http://www.neredbojias.com/
If you browse around, you'll find little bits of "esoteria" here and there,
too.
--
Neredbojias
Infinity has its limits. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Howard Lightstone |
last post by:
Is there any way to display a photoimage background in a toplevel/frame?
I tried replacing my topmost widget with a canvas but the ripple effects on
placement and other widgets got too high.
...
|
by: Gil |
last post by:
I'm trying to write a page that allows me to change the background
midi that's playing.
I've been going crazy consulting Google Groups, and coming up with
ingenious solutions, some of which kind...
|
by: Martin |
last post by:
Dear Experts!
I'd be grateful if you can help me with this.
I'm having an inline frame which points to 'www.externalsite.com'. The
page which contains the inline frame has an orange...
|
by: Mark |
last post by:
ASP.NET: Any suggestions on how to display an animated .gif file on a web
page while a stored procedure is running in the background? For example, on
some of the airline sites, it asks you to...
|
by: Viken Karaguesian |
last post by:
Hello all,
I need somehelp with background tiling. I have a sneaking suspicion that
what I want to do is not possible, but I'll ask anyway. :>) First some
background: Here's the site in...
|
by: seaberry |
last post by:
I am trying to design a page that is a frames page - horizontally split through the middle. The bottom frame contains the images that will link to completely new page. But before clicking on image...
|
by: alokw |
last post by:
Hi everyone,
Here's my problem. I'd like to revamp my web site, and I have this
idea.
I want to create essentially a border around the screen of about 100
pixels of just black.
Heres where...
|
by: Hans Mull |
last post by:
Hi!
How can I change the background color of a wxWidgets frame?
Thanks
|
by: dazzler |
last post by:
How do I add "background text" into MDI parent frame, the text will be now erased if I move the MDI Parent frame, or I can also erase text with moving MDI Child frame, need to somehow refresh the...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |