Forum Moderators: open

Message Too Old, No Replies

Dreamweaver MX -2 probs

css/browser prob & css linking

         

elaineb

7:00 am on Oct 2, 2003 (gmt 0)

10+ Year Member



For some reason when I view my site in the browser it's not showing any of the css, although it looks fine in the editing window - this has just happened so I'm a bit worried about uploading the changes incase the correct version is overwritten - does that make sense. I'm in the process of launching a new site and been struggling with DW. My existing site [mysite.co.uk] is made using FP, and I will be transferring that to DW eventually - is there any easy way of doing this?
Also - sorry I did say I was struggling - how the heck can I have 2 different sorts of rollovers for hyperlinks - I want to use one for the main body content, and a another one for the index's. At the moment I'm using the flash media thingy for the index.
Replies in words of one syllable please - I am a lady of a certain age and the ginkyo biloba's good but not a miracle worker!
Thanks in advance

[edited by: caine at 3:36 pm (utc) on Oct. 2, 2003]
[edit reason] no url's allowed. please see sticky. [/edit]

richardb

7:30 am on Oct 2, 2003 (gmt 0)

10+ Year Member



elaineb

You are breaking the TOS with the URL’s, stick them in your profile.

Have you checked the first site in different browsers? You might find it easier to strip the site down and ditch the “flash media thingy”…

The second site works much better.

benihana

8:25 am on Oct 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the easiest way to have two styles of hover effects for links is to use a class.
The best way to achieve this is by opening up your style sheet for manual editing, and create entries something like e.g:

a:link,
a:visited {
font:72% verdana, arial, sans-serif;
color:#900;
}
a:hover {
text-decoration:none;
}

...and...

a.other:link,
a.other:visited {
font:80% times, serif;
color:#690;
}

a.other:hover {
text-decoration:none;
}

now in your HTML anywhere you have

<a href="foo.html">text</a>

you will get a link that is 72% of the default size in dark red verdana and the underline will disappear on hover.

BUT if you put

<a href="foo.html" class="other">text</a>

you will get a link in the times font in a horrible green color, and the the underline will again disappear when you move the mouse over.

just change the styles to suit.

ben

elaineb

3:15 pm on Oct 2, 2003 (gmt 0)

10+ Year Member



Thanks for that info - must apologise for including the url - should have known better, but it was early morning and I'd been puzzling this problem all night.