adobe dreamweaver training - link css
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » adobe dreamweaver training - Link - CSS

adobe dreamweaver training - Link - CSS

resolvedResolved · Low Priority · Version Standard

replyReply Mon 18 Jun 2007, 15:35Delegate Amanda said...

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

Link - CSS

How do I link to a CSS from someone else's website?

For upcoming training course dates see: Pricing & availability

replyReply Tue 19 Jun 2007, 09:25Trainer Rich said...

RE: Link - CSS

Hi Amanda,

I guess you could link to someone else's CSS, assuming their CSS code is in a separate (linked) .css file.

View the Source of their web page, and look for the line that looks like this:
<link href="/asset/css/global.css" rel="stylesheet" type="text/css">

That line indicates the file global.css is located in their /asset/css folder on their web site.

Now on your web page, insert the same line of code (must be between the HEAD tags) but href to include their full domain name URL, like this:
<link href="http://www.microsofttraining.net/asset/css/global.css"; rel="stylesheet" type="text/css">

I'm not sure if this will work, but it should, as CSS is just plain text file.

A better option is to type that full HREF URL into your browser to see the CSS file. You can then save it as your own .css file on to your machine and use it on your own site, making changes whenever you want.

Let me know how you get on!

Regards, Rich

 

Dreamweaver tip:

JumpMenu in new window

When inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.

To change the jumpmenu to open in a new window, change the target parameter of the selectbox in your code to 'window.open()'.

eg.
<select name="menu1" onChange="MM_jumpMenu('window.open()',this,0)">


source:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166&sliceId=1

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard