You are here: Re: CSS & Div Tag, Hyperlinked? « HTML « IT news, forums, messages
Re: CSS & Div Tag, Hyperlinked?

Posted by Vaxius on 10/09/06 04:52

On Thu, 05 Oct 2006 15:33:38 -0400, Yogi_Bear_79 wrote:

> I created a floating window with the code below. I call it with <div
> id="Uleft"></div>. It contains a table with text and one image. I would
> like to make the entire container clickable. When I click on it I want the
> parent page to change to another page on my website. How?
>
> #Uleft {
> float:left;
> background:#F7D469;
> padding-top:1%;
> border:1px solid #336699;
> color:#000;
> width:50%;
> height:35%;
> cursor:pointer;
> }

Divs were never meant for being used as links, but I guess you could stick
the standard href tags around Uleft, although I don't think that will work
quite the way you want it to.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация