|
Posted by one.1more on 03/06/07 00:05
>Who knows? We cannot see your markup...no URL!
here is css3.css
-----------------------------------------------------
body {
font-family:arial,helvetica,sans-serif;
font-size:12px;
}
#header {
border: 1px solid #bbb;
height: 80px;
padding: 10px;
font-size: 12px;
}
#content {
border: 1px solid #bbb;
height: 600px;
padding: 10px;
font-size: 14px;
target-new:window;
}
-------------------------------------------------------------------------------------
here is index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css3.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<a href="http://google.com">link in header
</a>
</div>
<div id="content">
<a href="http://yahoo.com">Link in footer
</a>
</div>
</body>
</html>
--------------------------------------------------------------------------------------------------------------------------
On Mar 5, 6:28 pm, "Jonathan N. Little" <lws4...@centralva.net> wrote:
> one.1m...@gmail.com wrote:
> > I was researching for a way and i actually found it
> > the solution is { target-new:window} ref:http://www.w3.org/TR/css3-
> > hyperlinks/#the-target-new
>
> That CSS3, IE still doesn't support all of CSS2.1 you're going to get
> very spotty support for CSS3.
>
> > But it created a new problem
> > in the style.css, i have two styles #header and #content. all the
> > pages are divided into a div with header style and a div with content
> > style
>
> > After using the method. this is how my style looks ( i condensed it)
> > #header { font-size:18;}
>
> ^^^> #content{font-size:14;target-new:window;}
>
> ^^^
> Invalid, 18 and 14[what]? Miles? Need units for most CSS value lengths.
>
> > The problem: all the links in the header part of my pages open into
> > new windows too. i just want the content windows' hyperlinks to open
> > in new windows. how do i fix this?
>
> Who knows? We cannot see your markup...no URL!
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|