q.q
Bueno, quize hacerle un nuevo diseño, más dinámico a:
http://www.i-kiwi.com.ar
Durante el proceso de creación, todo bien, el "Preview" (que según tengo entendido se asemeja a la visualización de Firefox) se veía perfectamente.
Pero en cuanto subo la página encuentro que en ningún navegador se ve como debería.
Problema 1: (creo que éste problema es mio y no de los navegadores) el borde no sigue todo el contenido, aunque debería.
El resto de los problemas los pueden ver en éstas imágenes:
HTML-KIT:
[contenido no disponible]
IE:
[contenido no disponible]
FF:
[contenido no disponible]
Si alguien me puede ayudar se lo agradecería un MONTÓN. =)
Códigos:
reset.css
/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>I-Kiwi</title>
<meta name="keywords"
content="kiwi, internet, buscador, inicio, link, google, facebook, twitter, yahoo, msn, wikipedia, youtube, acceso directo" >
<meta name="description"
content="web que facilita links de uso frecuente, utilizada como pagina de inicio" >
<meta name="Autor" content="Kiwi" >
<meta name="Language" CONTENT="Spanish" >
<meta name="Revisit" content="1 day" >
<meta name="Distribution" CONTENT="Global" >
<link rel="stylesheet" href="reset.css" media="all" >
<link rel="stylesheet" href="estilo-index.css" type="text/css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18085920-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="stylesheet" href="estilo-index.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/interface.js"></script>
<!--[if lt IE 7]>
<style type="text/css">
.dock img { behavior: url(iepngfix.htc) }
</style>
<!-->
</head>
<body>
<div id="global">
<div id="curva-superior"></div>
<div id="cabecera">
<div id="logotipo">
[contenido no disponible]
</div>
<div id="publicidad"><h1>Internet-Kiwi es una web creada con el objetivo de facilitarle al usuario links de uso frecuente.</h1></div>
</div>
<div id="contenido">
[contenido no disponible]
<div id="googlesearch">
<center>
<FORM method=GET name= google action="http://www.google.com.ar/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor=""><tr><td>
<INPUT TYPE=text name=q id=cuadro size=70 maxlength=255 value="" onFocus="this.select()">
<INPUT type=submit name=btnG VALUE="Buscar">
</td></tr></TABLE>
</FORM>
</center>
</div>
<div id="allmaceffect">
<div class="dock" id="dock2">
<div class="dock-container2">
<span>Youtube</span>[contenido no disponible]
<span>Facebook</span>[contenido no disponible]
<span>Twitter</span>[contenido no disponible]
<span>Wikipedia</span>[contenido no disponible]
<span>Yahoo</span>[contenido no disponible]
<span>Msn</span>[contenido no disponible]
</div>
</div>
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 90,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 70,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);
</script>
</div>
</div>
<div id="pie">Establecer como página de inicio.</div>
</div>
</div>
<div id="curva-inferior"></div>
</div>
</body>
</html>
estilo-index.css
* {text-indent: 0px ; margin:0px ; padding:0px ; border: 0px}
p {text-align: justify}
h1 {font-size: 0.9em; color:green ; font-weight: bold ; text-decoration: none ; text-align: center}
h2 {font.size: 1.1em; color:blue ; font-weight: bold ; text-decoration: none ; text-align: center}
body {text-align: center}
#global {width:800px ; margin: 4px auto }
#curva-superior { background-image: url(objetos/curva-superior[1].gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ; overflow : hidden }
#cabecera { background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; height:85px }
#logotipo {width:280px ; float:left }
#publicidad {width:518px ; float:right ; margin-top:25px}
#contenido {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid }
#googlesearch { background-color: #ADD8E6 ; border-top: black 1px solid ; border-bottom: black 1px solid ; margin-bottom: 200px}
#allmaceffect {}
img {
border: none;
}
/* dock2 - bottom */
#dock2 {
width: 100%;
bottom: 350px;
position: absolute;
left: 200px;
}
.dock-container2 {
position: absolute;
height: 50px;
background: url(images/dock-bg.gif);
padding-left: 20px;
}
a.dock-item2 {
display: block;
font: bold 12px Arial, Helvetica, sans-serif;
width: 40px;
color: #000;
bottom: 0px;
position: absolute;
text-align: center;
text-decoration: none;
}
.dock-item2 span {
display: none;
padding-left: 20px;
}
.dock-item2 img {
border: none;
margin: 5px 10px 0px;
width: 100%;
}
#pie {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; border-top: black 1px solid ; padding-top: 30px }
a {color: #4682B4 ; text-decoration:none}
a:link {}
a:visited {}
a:hover {}
a:active {}
#curva-inferior { background-image: url(objetos/curva-inferior[1].gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ; overflow: hidden }
iepngfix.htc
<public:component>
<public:attach event="onpropertychange" onevent="doFix()" />
<script type="text/javascript">
// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com
// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
// This must be a path to a blank image. That's all the configuration you need.
if (typeof blankImg == 'undefined') var blankImg = 'images/blank.gif';
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
function filt(s, m)
{
if (filters)
{
filters.enabled = s ? true : false;
if (s) with (filters) { src = s; sizingMethod = m }
}
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
}
function doFix()
{
// Assume IE7 is OK.
if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
(event && !/(background|src)/.test(event.propertyName))) return;
var bgImg = currentStyle.backgroundImage || style.backgroundImage;
if (tagName == 'IMG')
{
if ((/\.png$/i).test(src))
{
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
filt(src, 'scale');
src = blankImg;
}
else if (src.indexOf(blankImg) < 0) filt();
}
else if (bgImg && bgImg != 'none')
{
if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
{
var s = RegExp.$1;
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
style.backgroundImage = 'none';
filt(s, 'crop');
// IE link fix.
for (var n = 0; n < childNodes.length; n++)
if (childNodes.style) childNodes.style.position = 'relative';
}
else filt();
}
}
doFix();
</script>
</public:component>
También tengo una carpeta js (javascript) y objetos.
Bueno, quize hacerle un nuevo diseño, más dinámico a:
http://www.i-kiwi.com.ar
Durante el proceso de creación, todo bien, el "Preview" (que según tengo entendido se asemeja a la visualización de Firefox) se veía perfectamente.
Pero en cuanto subo la página encuentro que en ningún navegador se ve como debería.
Problema 1: (creo que éste problema es mio y no de los navegadores) el borde no sigue todo el contenido, aunque debería.
El resto de los problemas los pueden ver en éstas imágenes:
HTML-KIT:
[contenido no disponible]
IE:
[contenido no disponible]
FF:
[contenido no disponible]
Si alguien me puede ayudar se lo agradecería un MONTÓN. =)
Códigos:
reset.css
/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>I-Kiwi</title>
<meta name="keywords"
content="kiwi, internet, buscador, inicio, link, google, facebook, twitter, yahoo, msn, wikipedia, youtube, acceso directo" >
<meta name="description"
content="web que facilita links de uso frecuente, utilizada como pagina de inicio" >
<meta name="Autor" content="Kiwi" >
<meta name="Language" CONTENT="Spanish" >
<meta name="Revisit" content="1 day" >
<meta name="Distribution" CONTENT="Global" >
<link rel="stylesheet" href="reset.css" media="all" >
<link rel="stylesheet" href="estilo-index.css" type="text/css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18085920-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="stylesheet" href="estilo-index.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/interface.js"></script>
<!--[if lt IE 7]>
<style type="text/css">
.dock img { behavior: url(iepngfix.htc) }
</style>
<!-->
</head>
<body>
<div id="global">
<div id="curva-superior"></div>
<div id="cabecera">
<div id="logotipo">
[contenido no disponible]
</div>
<div id="publicidad"><h1>Internet-Kiwi es una web creada con el objetivo de facilitarle al usuario links de uso frecuente.</h1></div>
</div>
<div id="contenido">
[contenido no disponible]
<div id="googlesearch">
<center>
<FORM method=GET name= google action="http://www.google.com.ar/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor=""><tr><td>
<INPUT TYPE=text name=q id=cuadro size=70 maxlength=255 value="" onFocus="this.select()">
<INPUT type=submit name=btnG VALUE="Buscar">
</td></tr></TABLE>
</FORM>
</center>
</div>
<div id="allmaceffect">
<div class="dock" id="dock2">
<div class="dock-container2">
<span>Youtube</span>[contenido no disponible]
<span>Facebook</span>[contenido no disponible]
<span>Twitter</span>[contenido no disponible]
<span>Wikipedia</span>[contenido no disponible]
<span>Yahoo</span>[contenido no disponible]
<span>Msn</span>[contenido no disponible]
</div>
</div>
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 90,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 70,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);
</script>
</div>
</div>
<div id="pie">Establecer como página de inicio.</div>
</div>
</div>
<div id="curva-inferior"></div>
</div>
</body>
</html>
estilo-index.css
* {text-indent: 0px ; margin:0px ; padding:0px ; border: 0px}
p {text-align: justify}
h1 {font-size: 0.9em; color:green ; font-weight: bold ; text-decoration: none ; text-align: center}
h2 {font.size: 1.1em; color:blue ; font-weight: bold ; text-decoration: none ; text-align: center}
body {text-align: center}
#global {width:800px ; margin: 4px auto }
#curva-superior { background-image: url(objetos/curva-superior[1].gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ; overflow : hidden }
#cabecera { background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; height:85px }
#logotipo {width:280px ; float:left }
#publicidad {width:518px ; float:right ; margin-top:25px}
#contenido {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid }
#googlesearch { background-color: #ADD8E6 ; border-top: black 1px solid ; border-bottom: black 1px solid ; margin-bottom: 200px}
#allmaceffect {}
img {
border: none;
}
/* dock2 - bottom */
#dock2 {
width: 100%;
bottom: 350px;
position: absolute;
left: 200px;
}
.dock-container2 {
position: absolute;
height: 50px;
background: url(images/dock-bg.gif);
padding-left: 20px;
}
a.dock-item2 {
display: block;
font: bold 12px Arial, Helvetica, sans-serif;
width: 40px;
color: #000;
bottom: 0px;
position: absolute;
text-align: center;
text-decoration: none;
}
.dock-item2 span {
display: none;
padding-left: 20px;
}
.dock-item2 img {
border: none;
margin: 5px 10px 0px;
width: 100%;
}
#pie {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; border-top: black 1px solid ; padding-top: 30px }
a {color: #4682B4 ; text-decoration:none}
a:link {}
a:visited {}
a:hover {}
a:active {}
#curva-inferior { background-image: url(objetos/curva-inferior[1].gif) ;
background-repeat: no-repeat ;
width:800px ;
height: 12px ; overflow: hidden }
iepngfix.htc
<public:component>
<public:attach event="onpropertychange" onevent="doFix()" />
<script type="text/javascript">
// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com
// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
// This must be a path to a blank image. That's all the configuration you need.
if (typeof blankImg == 'undefined') var blankImg = 'images/blank.gif';
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
function filt(s, m)
{
if (filters)
{
filters.enabled = s ? true : false;
if (s) with (filters) { src = s; sizingMethod = m }
}
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
}
function doFix()
{
// Assume IE7 is OK.
if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
(event && !/(background|src)/.test(event.propertyName))) return;
var bgImg = currentStyle.backgroundImage || style.backgroundImage;
if (tagName == 'IMG')
{
if ((/\.png$/i).test(src))
{
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
filt(src, 'scale');
src = blankImg;
}
else if (src.indexOf(blankImg) < 0) filt();
}
else if (bgImg && bgImg != 'none')
{
if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
{
var s = RegExp.$1;
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
style.width = offsetWidth + 'px';
style.backgroundImage = 'none';
filt(s, 'crop');
// IE link fix.
for (var n = 0; n < childNodes.length; n++)
if (childNodes.style) childNodes.style.position = 'relative';
}
else filt();
}
}
doFix();
</script>
</public:component>
También tengo una carpeta js (javascript) y objetos.