css frame targeting

They have: 1 posts

Joined: Dec 2004

i'm having trouble with my css layout. i dont know the code for targeting the links on my left menu on to my center area. i'm a bit of a starter so please reply asap! so far the only targeting code i know is for html ( target="page")what is the css version of this?please help! Confused

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

CSS is used for styleing. I don't think it is possible to do this with CSS.

They have: 4 posts

Joined: Dec 2004

If you want to target a link to another frame you need to modify the html, not the css file. Open your frameset file (the one you double click to open the frames page). In the code you should see something like this:

The important parts are the "name" attributes. When you create a link in the left frame, you should tell the link to load a page in the right frame. You do that by giving a " target="mainFrame" " attribute to the "link

Of course, you can give another name in the "target" attribute but it has to be identical with the frame name you've specified in the frameset page. No way to do this in a css file and why would you need to do it there anyway?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.