Problem with html object in header.
Автор: Łukasz S.
Просмотрено 2288,
Подписчики 2,
Размещенный 0
Hi i make a web www.blackleaf.co with two sites inside. I wan't to make an shortcut to changesite, first of site, but i have problem with that. I put html object at my header place like this:
[a href="http://www.blackleaf.co/"><img alt="" src="http://www.salarias.pl/blackleaf/images/logo.jpg" style="width: 224px; height: 139px; " position: absolute /></a]
But this isn't work correctly, if you go to f.e. http://www.blackleaf.co/creativeagency/ half graphic work as link :( don;t know how to make it correctly in this place wher logo is.
Размещено
Hello,
the correct code are:
<a href="http://www.blackleaf.co/"><img alt=""src="http://www.salarias.pl/blackleaf/images/logo.jpg"style="width: 224px; height: 139px; "position: absolute /></a>
not [ and ] for first and last clip, correct < and >
greats
JBr.
Автор
omg it's the same i put the wrong first and last [] becouse page change my code into www. It's the same, still wrong :(
Hello Łukasz,
The code you placed in your header is wrong. Looking into the source code of your site I see there are some errors.
First, don't open again the <body> tag (and, of course, don't close it).
Second, don't use the <font> tag because it is deprecated so it doesn't work anymore.
Moreover, where you close the <body> tag, there's also a </div> which shouldn't be there.
Keep me informed.
Автор
So how should I make this thing? Can you write correct html code for this html object in my header? :(
Just type:
<ahref="http://blackleaf.co/creativeagency/" style="text-decoration: none" onMouseOver="logo30.src='http://blackleaf.co/images/on.jpg'"onMouseOut="logo30.src='" target="_blank" rel="nofollow">http://blackleaf.co/images/off.jpg'"><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo30"> Polski (PL) </a>
<ahref="http://blackleaf.co/creativeagency/eng/" style="text-decoration: none" onMouseOver="logo32" src='http://blackleaf.co/images/on.jpg' " onMouseOut="logo32.src='http://blackleaf.co/images/off.jpg' "><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo32"> English (ENG) </a>
<ahref="http://blackleaf.co/creativeagency/ger/" style="text-decoration: none" onMouseOver="logo33.src='http://blackleaf.co/images/on.jpg' " onMouseOut="logo33.src='http://blackleaf.co/images/off.jpg' "><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo33"> Deutsch (GER)</a>
Then style the links using CSS instead of the <font> tag.
Автор
That;s not the problem, problem is leaf on left, it should be shortcut to first site but it works in half :(
(Linguaggio Italiano ) --------------------------------------------- -
... LINK sul LOGO, regolare con IE; ... parziale con CHROME ...!...
... provare con :
#imHeader {position:relative; z-index: 99999; ... ; ... ; ... }
...
... oppure posizionare il logo senza interferire con la barra del MENU...
... oppure usare un LOGO in formato SWF (Flash), con azione link incorporata...
.
.
bye, KoloAsim
Kolasim is right. You should also remove the properties "absolute="" position:=""" from the img tag.
In the site header, you can place an image with a link simply using the template editor included in WebSite X5 (step 1 -> edit template).
Автор
"In the site header, you can place an image with a link simply using the template editor included in WebSite X5 (step 1 -> edit template)." - i made this with this methode, but as you see this logo is half on menu and menu cut's! rest part of logo is on background of all site. Still don't know how to make that and wish you now understand my problem :(
From what I can see in your site, you used a custom HTML code to show the leaf.
You should put an image object in your header, load inside it the belack leaf and then add a link on it. In this way you will get the black leaf together with the correct link.
Автор
I made as you write, but it didn't work as you see. Blackleaf in the middle is on the menu with with subsites and it cuts leaf as url ;(
(Linguaggio Italiano ) --------------------------------------------- -
... hai gà provato come ho detto prima...?...
#imHeader {position:relative; z-index: 99999;}
.
bye KolAsim
Use a transparency in the header and resize it to what you want over any graphic/drawing/image....
Then insert the link function to it...... NO CODE IS NEEDED!!
.
www.frankscybercafe.com
Автор
KolAsim - thx only your method works correct! Thank you man!!!
... grazie ...
Автор
Grrr have still problem with that, look : http://blackleaf.co/blackbecomeswhite/index.html it moves when i change size of window and it's crooked :(
(Linguaggio Italiano ) --------------------------------------------- -
... ci sono degli errori nella pagina, per esempio un tag <body>***</body> replicato e che invece deve essere univoco nel codice...
...
... attualmente il BODY ha il margine sinistro impostato a "0px", (zero pixel)...
... provare ad impostare 38px per avere un allineamento compatibile con l'immagine dello sfondo del sito...
...
... consiglierei un approccio diverso, per esempio, provando a creare il LOGO in formato SWF, che dovrebbe sovrastare tutti i livelli del HEADER, come quello che gira in questa pagina: http://www.zspace.it/kolasim/wsx5_v8/altobasso/
.
ciao, KolAsim
Łukasz, Kolasim means that in the custom HTML code you used for the menu, there's still the old <body> and </body> tag I was talking about right here: http://answers.websitex5.com/post/36580#3
That can cause a lot of troubles. You should fix it like I've described here: http://answers.websitex5.com/post/36580#5