Viewing link formatting

link formatting



User: Connie B. 12 years ago
hey there, I couldn't find a possibility of "strikethrough" when formatting a link, e.g. when visited.
any help?
thanks, co.
User: Roddy 12 years ago
You would need to create the link styles, paste them into the Site Wide Head Code and use HTML to create the actual text hyperlinks.

In CSS "strike through" is expressed as "line-through" so the styles would go something like this…

<style type="text/css">
a {
/* normal link styles*/
color:blue;
text-decoration:underline
}
a:visited {
/* visited link styles */
color:purple;
text-decoration:line-through;
}
a:hover {
/* normal link styles*/
color:red;
text-decoration:none
}
</style>

Note that the "visited" style MUST come before the "hover" style.

Visited link styles are not often used because they tend to look messy and can create confusion. Line through kind of adds to this and gives the visitor the impression that the website is full of mistakes!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Connie B. 12 years ago
hmmm. okay, thanks for the answer. I will probably not be able to program this (too complicated for me ;-)
I just wanted to transfer my website which i did in iWeb into an updated version, so that it's faster for loading.
it's very simple and I like the "line-through" ;-)

www.medea-prod.at

thanks, connie
User: Roddy 12 years ago
You're not actually using "visited" on your iWeb created website. You have created a navigation in a text box and are simulating "current" by applying the line through on the link for the current page.

You can't do this at the moment with the EverWeb self generating navigation just in the same way that you couldn't do it with the iWeb one since the style has to be applied on a per page basis.

I seem to remember that the feature has been requested for EverWeb and it wouldn't do any harm if you made a request too as it is a useful feature which is used a lot on professional sites.

With EW's code insertion you can create a far better custom navigation than you ever could in iWeb. Example…

http://everwebcodebox.com/links/vertical-navbar.html

All you do is create a "current" class in the styles and apply it to the HTML on the appropriate link on each page. If you need some help with this then all you need to say is the word "help"!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 12 years ago
Here's a little Tutorial.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.