HighDots Forums  

css and links

alt.html.tags alt.html.tags


Discuss css and links in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris
 
Posts: n/a

Default css and links - 12-09-2004 , 08:21 AM






Hi, I'm trying to do something and I think it's not that difficult,
but my knowledge of html and css is very limited.
On my site I have two large DIVisions: left the navigation div and
right the main content div.
I have a little menu script running in the navigation div. So far so
good.
My question: when I click one of the links in the menu, how can I make
sure that the new content (seperate html file) will be displayed in
the main content div?

Thanks!
Kris

Reply With Quote
  #2  
Old   
chihuahua
 
Posts: n/a

Default Re: css and links - 12-09-2004 , 09:09 AM






i've just gotten into this myself...
ive used frames..... and then in the a-tag, after the ref, u write
target="<the name of the frame>"
ex:
<a href=about.htm target="main">

hope this helps...
u can also take a look at http://www.w3schools.com/ if u havent been
there... they might just help..

Chihuahua

"Kris" <kvdv (AT) easynet (DOT) be> wrote

Quote:
Hi, I'm trying to do something and I think it's not that difficult,
but my knowledge of html and css is very limited.
On my site I have two large DIVisions: left the navigation div and
right the main content div.
I have a little menu script running in the navigation div. So far so
good.
My question: when I click one of the links in the menu, how can I make
sure that the new content (seperate html file) will be displayed in
the main content div?

Thanks!
Kris



Reply With Quote
  #3  
Old   
David Dorward
 
Posts: n/a

Default Re: css and links - 12-09-2004 , 03:03 PM



Kris wrote:

Quote:
My question: when I click one of the links in the menu, how can I make
sure that the new content (seperate html file) will be displayed in
the main content div?
CSS doesn't do that. Frames do, but they have serious problems (because they
do that). The solution is to create pages with identical menus on them.
This is made easy by sourcing the shared content from a single location.

http://www.allmyfaqs.com/faq.pl?Incl...ile_in_another

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #4  
Old   
David Dorward
 
Posts: n/a

Default Re: css and links - 12-09-2004 , 03:05 PM



chihuahua wrote:

Quote:
i've just gotten into this myself...
ive used frames.....
Bad idea: http://www.allmyfaqs.com/faq.pl?Prob...h_using_frames

Please see also: http://www.allmyfaqs.com/faq.pl?How_to_post

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.