r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Sunanda
3-Feb-2005
[322]
Try putting the footer inside the other div:
<div class="processingtime">some processing time
<div class="footer">some trademarks stuffs</div></div>
and as inline or (in this case) <span>
yeksoon
3-Feb-2005
[323x3]
I manage to get it looks with this..

--
.footer {
	display:inline;
	font:10px verdana, arial, helvetica, sans-serif;
	color: #666;
	background: transparent;
             position:absolute;
             right:0; 
}



<span class="processingtime"><? echo round($current_time, 3) ?></span>

<span class="footer">&copy;&nbsp; NEUSTEPS TECHNOLOGIES PTE LTD, 
2003-2005</span>
--


not too sure if it is logically correct... but it looks the way I 
wants..
get it looks = get it to look the way I want
end of the day... type and thoughts not in sync
Chris
3-Feb-2005
[326x3]
.footer {width: 50%; float: right; text-align: right;}
.processingtime {width: 50%;}


Should be enough on the face of it.  Adding margins or padding will 
need a little recalculation...
D'oh!  The footer comes second.  Anyway, try --

.processingtime {width: 50%; float: left;}
.footer {width: 50%; float: right; text-align: right;}
.processingtime {width: 50%; float: left; margin-right: -1px;}  -- 
last part for IE...
Tomc
3-Feb-2005
[329]
a bit early for me to be thinking but  I know I have used  "no break" 
tags  aroud things I did not want new lines between
Sunanda
3-Feb-2005
[330]
Tom, Yeksoon is trying one of those things that look simple, but 
take a little care -- two bits of text on the same line, with different 
justifications (left and right). 
Easy with a one-row, two-column table -- but that's overkill.

Easy with three divs -- one containing the other two, but that's 
close to overkill.
Otherwise, a bit of lateral thinking is called for.
Volker
4-Feb-2005
[331]
Found a tool for css and firefox. Opens an editor in the sidebar 
with css for the main-page. and updates main-page on the fly on edit. 
https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&version=1.0&os=MacOSX&category=DeveloperTools&numpg=10&id=179>EditCSS
Chris
4-Feb-2005
[332]
Volker, I'm not certain, but it may have been incorporated into this 
extension: http://www.chrispederick.com/work/firefox/webdeveloper/
Pekr
4-Feb-2005
[333x3]
Could anyone help me to understand following? We currently don't 
have time write own webshop, so few of our dealers offered us to 
be hosted. We simply want, that ppl visiting our hosted website would 
still see only http://www.xidyscomp.czin the url bar and not - http://xidys.ekatalog.biz/katalog.aspx
One of my friends suggested me to use frames trick as can be seen 
here - http://pes.eunet.cz, but I don't know what URL, redirection 
etc should I see where ... maybe the trick is in calling dynamic 
script (here php), so user will not be able to recognise real domain?
I would like to know, what is second frame tag for, referring to 
/no.html and when can I obtain message of "your browser does not 
support frames" - is there any browser not supporting frames? (talking 
about source of http://pes.eunet.cz)
Chris
4-Feb-2005
[336]
Are you using Apache?
Pekr
4-Feb-2005
[337]
yes
Chris
4-Feb-2005
[338x2]
You could create an .htaccess file with the following:
DirectoryIndex katalog.aspx
Pekr
4-Feb-2005
[340]
that is all? :-) What will it do? How will it work?
Chris
4-Feb-2005
[341]
I believe it is a simple alternative to %index.html being the default 
document...
Pekr
4-Feb-2005
[342]
well, but katalog.aspx is on different server ...
Chris
4-Feb-2005
[343]
Ah, I didn't notice that.  In that case you could use mod_rewrite, 
I think...
Pekr
4-Feb-2005
[344x5]
mod_rewrite? Never used something like that ... so shold I edit httpd.conf?
<HTML>
<HEAD>
<TITLE>NEVIDITELNÝ PES</TITLE>
<FRAMESET rows="*,0" frameborder=0 framespacing=0 border=0>
<FRAME SRC="./index.php3">
</FRAME>
<FRAME scrolling=no SRC="./no.html">
</FRAME>
<NOFRAMES>

Your browser does not support frames, please click <a href="./index.php3">here</a> 
!
</NOFRAMES>
</FRAMESET>
</HEAD>
<BODY>
</BODY>
</HTML>
why is there second frame tag, referring to no.html?
I got it working with links inside FRAME tag ... but what should 
I put into rebol cgi script to hide target site URL? I mean - <FRAME 
SRC="/cgi-bin/shop-redir.cgi"> - what should I put into rebol script 
to redirect it to target site?
some time ago I used some meta redirect tag syntax, but I can't remember 
it right now ...
Chris
4-Feb-2005
[349x4]
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirectmatch
-- This would also go in .htaccess
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
Redirect / http://xidys.ekatalog.biz/katalog.aspx
There's lots of server-side options with Apache...
Pekr
4-Feb-2005
[353x2]
and if I use multiple virtual domain? hmm, that should not matter 
....
so user will not see target adress in url bar with redirect?
Chris
4-Feb-2005
[355]
I don't know -- haven't tried it.
Pekr
4-Feb-2005
[356x3]
hmm, tried redirect, it does not keep original url ....
going back to frames trick ...
just need to find out, how to handle it in rebol cgi script ....
Sunanda
4-Feb-2005
[359]
You put the "your browser does not support" message in the noframes 
section.

Many elderly browsers don't support them. All modern ones do -- though 
support can be turned off as a user-selected option.

Search engines are still very patchy at indexing frames -- and that 
is unlikley to get better given the inherent problems with frames
Pekr
4-Feb-2005
[360x3]
I now need to solve that redirection issue. I really don't know what 
should I put into rebol cgi script to return in above source, so 
that I could use <FRAME SRC="/cgi-bin/shop-redir.cgi">
I want that url to be returned internally by rebol cgi script, so 
that displaying source of main site will not reveal target site ...
If i put short html source with meta tag and redirection, I get endless 
loop of redirects ...
Gabriele
4-Feb-2005
[363x3]
petr: so the people hosting the shop do not offer you the ability 
to have your own domain name?
anyway - from your server you could create a reverse proxy. this 
is not very efficient (browser > your server > shop server   instead 
of browser > shop server   for all requests), but to the user it 
will really look like the shop is on your server (noone would be 
able to tell the difference)
alternatively, use frames as you do; though, this way users have 
no way to link to a specific page in your shop, because all urls 
are hidden.
Pekr
4-Feb-2005
[366x2]
yes, I know - the links part is not good of course, but I prefer 
shadowing of domain ... If there would be way how to do that using 
mod_rewrite, I would like to use it, but looking at Apache docs I 
am not able to tell if something like that is possible ...
now the only problem for me is, that in above code, I want to call 
cgi, so that looking at frame source target site is not easily revealed 
....
Gabriele
5-Feb-2005
[368x4]
petr: it's possible to crate a reverse proxy even without using mod_rewrite. 
you'll need mod_rewrite only if you want to somewhat change the urls 
to make them look different
example from the apache docs (2.0):
ProxyPass /mirror/foo/ http://backend.example.com/
ProxyPassReverse /mirror/foo/ http://backend.example.com/
you'd use: