web site course - css link behaviour
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » web site course - CSS - Link Behaviour

web site course - CSS - Link Behaviour

The UK's most regular instructor-led training courses.
Training information: web site course · Dreamweaver training · Adobe dreamweaver training

resolvedResolved · Low Priority · Version Standard

CSS - Link Behaviour

Duncan has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course

by - delegate Duncan bronze contributer[25 posts] (2007 Jun 15 Fri, 10:35) replyReply

Hi

I'm using CSS to style my pages, successfully so far with regards to fonts and background etc. However I can't find an option for the link styles. In page properties you can define hover colour, visted colour, underlined or not etc, but in css these options appear to be absent. Am I missing something here? At the moment I am having to change all the link appearances page by page.

Also if I'm setting up a framed page with a top and nested right frame how do i make the link (selected from a table in the left frame) appear in the CENTRE of the main frame?

I can make it appear but it is on the left of the frame, is there a way i can choose it's position?

sorry to keep on bothering you!

Thanks

Duncan :)

Dreamweaver CS3 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
CS3 2009 Jan 15 Thu + 16 Fri Bloomsbury 6 book now £495 £495
CS3 2009 Feb 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Mar 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Apr 16 Thu + 17 Fri Bloomsbury 8 book now £395 £415
CS3 2009 May 14 Thu + 15 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Jun 11 Thu + 12 Fri Bloomsbury 8 book now £395 £415
Full Schedule: See all 11 Dreamweaver CS3 course dates.
Bookings currently available until 12th November 2009.

RE: CSS - Link Behaviour

by - trainer Rich platinum contributer[744 posts] (2007 Jun 18 Mon, 09:37) replyReply

Hi Duncan,

I posted the answer to your Frames question here.

To adjust the hover, visited and active colours in CSS, you need to use what's called Selector Class. This is covered in our Dreamweaver Intermediate course.

To do this, you start with the tag itself (A), put a colon, and then the selector type. Then add parameters as normal. For example:

a:hover {
color: red;
weight: bold;
}

a:visited {
color: grey;
}

The above will make all links hover colour red and bold. Visited links will be grey. You may need to refresh your browser if you make changes to your CSS file to flush out your browser's cache of your CSS file.

If you use the dialogue boxes to set up CSS, go to 'new css style', type 'CSS Selector', then from the drop-down box choose your selector type, then press OK to bring up the style dialogue box and adjust your styles.

The page properties setting for these colours is the 'old way'. Once you've set up the CSS correctly, I would remove the colours from the page properties settings (or delete the parameters from the BODY tag, as this is where the settings are stored).

Hope this helps, let me know how you get on.

Regards, Rich


Related articles

· The Importance of a Professionally Designed Website
· Macromedia Dreamweaver: An Introduction
· Powerhouse Tips from Dreamweaver Training
· Six Reasons to Outsource Dream Weaver Training
· Dreamweaver: Business Benefits of Web Design Skills

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz