PDA

View Full Version : minor questions


dlee
06-02-2000, 11:08 PM
I have two minor questions for the "experts"[nbsp][nbsp]:)

I have seen many times the code target="_top" recommended for opening a link in a seperate window. I have always used target="_blank" and it has always worked fine for me in Netscape 4.5[nbsp][nbsp]Since I have seen the target="_top" recommended so many times I thought, "It must be better so[nbsp][nbsp]I should change to that"[nbsp][nbsp]but it wouldn't work for me.

Is there a difference between the two? (other than one works for me and one doesn't ;)[nbsp][nbsp])

Also...........

Anyone know how to get rid of the line under links??? I have 5 links I want to list on one line in the footer of my page, but when I do there is one continuous line under them, instead of spaced like the text. This is inside a table if that makes a difference.....

Dolly

jimbo
06-02-2000, 11:21 PM
target="_top" doesn't open a new window, it assures that a link in a framed environment is not opened in a frame, but the whole page.[nbsp][nbsp]target="_blank" is what I typically use for opening links in a new window.

As for the links, you can certainly do this via CSS, but there might be another way that somebody else knows.[nbsp][nbsp]But it would look something like this:

a:link { text-decoration: none }

Hope this helps.

Fiend
06-03-2000, 02:45 AM
Ok here's a run down of the possible sources for the target property...

_blank - Loads the link in a new windonw....

_parent - Loads the content in the parent of the frame that the link is in...

_ self - Loads the content into the frame that the link is in...

_top - Loads the content into the top most frame in the frameset...

"FrameName" - loads the frame into the fame that is specified by the frame's name.

Hope that helps explain the settings!

PS. there are browser specific settings like _search etc but they should only be used if you are designing your page to work with only one browser...

dlee
06-03-2000, 08:29 AM
Thanks much!!

I got a great lesson on the target property and the
a:link { text-decoration: none }[nbsp][nbsp]worked like a charm!![nbsp][nbsp][nbsp][nbsp]One more question though....... will this work in most browsers?? I have "browser incompatibility phobia"...always worried about how many browsers out there show my pages totaly screwed up!!

Thanks again.
Dolly
------------------

jimbo
06-04-2000, 12:08 AM
I'm not sure offhand, but I believe I remember hearing that Netscape doesn't support CSS as well as other browsers.[nbsp][nbsp]I could be wrong.[nbsp][nbsp]I think latter versions of NS handle it okay.

wolfstalks
06-04-2000, 12:23 AM
You're right Jimbo, NS thru the 4+ series doesn't support CSS as well as IE.[nbsp][nbsp]On the other hand IE supports some CSS that isn't standard.[nbsp][nbsp]NS will render some CSS differently then IE and in some case doesn't at all.[nbsp][nbsp]NS 6.0 supports CSS fully, but only Standards based CSS.[nbsp][nbsp]Hopefully IE will start supporting Standards and not just their propietary standards.[nbsp][nbsp]Most CSS information locations will tell you what is supported by which browser!

Hope this helps.
Bob