PC Review


Reply
Thread Tools Rate Thread

CSS - link vs. @import

 
 
Dan E
Guest
Posts: n/a
 
      6th Feb 2005
I'm experiencing problems with linked external style sheets (some styled
elements don't always appear as they ought), and, thinking some of those
problems may be to do with the different ways linking and @importing work, I
tried changing from linking to @import. However, when I changed my HTML
from link (the stylesheet) to "<!--import url(st11.css)-->" it screwed up
the appearance of the page - seemed to change inheritance or precedence or
something. I've published the two (identical) web pages in a test site here
http://dellis.biz/sites/compare - the linked page is index.html, which comes
up when opening the site, and index2.html uses @import. Actually, both
pages are attached to dynamic web templates, which themselves use the same
external style sheet. Index.html attaches to st11.dwt, which links to
st11.css, and index2.html uses st11_2.dwt, which @imports st11.css but is
otherwise identical. I've put a hyperlink to index_2 in the home page for
convenience. Note that URLs for this site are case-sensitive. If anyone
would care to take a look and point out the problem(s), I'd be REALLY
grateful.... What I'm trying to do (among other things) is to control the
appearance of all the link bar links, so that they use black or Teal as
normal appearance, changing to red underlined on mouseover/hover - the top
(immediately above the <h1> heading) and third link bar down (the one
starting with a link to a payment calculator) are particularly puzzling.
Then of course there's the very different appearance of the two pages due (I
presume) to the different ways linking and @importing are handled. Any
guidance or enlightenment VERY gratefully received.

TIA,

Dan
--
Dan E
webbie(removethis)@preferredcountry.com


 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      6th Feb 2005
See my previous response. Your syntax is wrong.

--
Murray

"Dan E" <webbie(removethis)@preferredcountry.com> wrote in message
news:(E-Mail Removed)...
> I'm experiencing problems with linked external style sheets (some styled
> elements don't always appear as they ought), and, thinking some of those
> problems may be to do with the different ways linking and @importing work,
> I tried changing from linking to @import. However, when I changed my HTML
> from link (the stylesheet) to "<!--import url(st11.css)-->" it screwed up
> the appearance of the page - seemed to change inheritance or precedence or
> something. I've published the two (identical) web pages in a test site
> here http://dellis.biz/sites/compare - the linked page is index.html,
> which comes up when opening the site, and index2.html uses @import.
> Actually, both pages are attached to dynamic web templates, which
> themselves use the same external style sheet. Index.html attaches to
> st11.dwt, which links to st11.css, and index2.html uses st11_2.dwt, which
> @imports st11.css but is otherwise identical. I've put a hyperlink to
> index_2 in the home page for convenience. Note that URLs for this site
> are case-sensitive. If anyone would care to take a look and point out the
> problem(s), I'd be REALLY grateful.... What I'm trying to do (among other
> things) is to control the appearance of all the link bar links, so that
> they use black or Teal as normal appearance, changing to red underlined on
> mouseover/hover - the top (immediately above the <h1> heading) and third
> link bar down (the one starting with a link to a payment calculator) are
> particularly puzzling. Then of course there's the very different
> appearance of the two pages due (I presume) to the different ways linking
> and @importing are handled. Any guidance or enlightenment VERY gratefully
> received.
>
> TIA,
>
> Dan
> --
> Dan E
> webbie(removethis)@preferredcountry.com
>



 
Reply With Quote
 
Dan E
Guest
Posts: n/a
 
      6th Feb 2005
Thanks again, Murray.

Dan
"Murray" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> See my previous response. Your syntax is wrong.
>
> --
> Murray
>
> "Dan E" <webbie(removethis)@preferredcountry.com> wrote in message
> news:(E-Mail Removed)...
>> I'm experiencing problems with linked external style sheets (some styled
>> elements don't always appear as they ought), and, thinking some of those
>> problems may be to do with the different ways linking and @importing
>> work, I tried changing from linking to @import. However, when I changed
>> my HTML from link (the stylesheet) to "<!--import url(st11.css)-->" it
>> screwed up the appearance of the page - seemed to change inheritance or
>> precedence or something. I've published the two (identical) web pages in
>> a test site here http://dellis.biz/sites/compare - the linked page is
>> index.html, which comes up when opening the site, and index2.html uses
>> @import. Actually, both pages are attached to dynamic web templates,
>> which themselves use the same external style sheet. Index.html attaches
>> to st11.dwt, which links to st11.css, and index2.html uses st11_2.dwt,
>> which @imports st11.css but is otherwise identical. I've put a hyperlink
>> to index_2 in the home page for convenience. Note that URLs for this
>> site are case-sensitive. If anyone would care to take a look and point
>> out the problem(s), I'd be REALLY grateful.... What I'm trying to do
>> (among other things) is to control the appearance of all the link bar
>> links, so that they use black or Teal as normal appearance, changing to
>> red underlined on mouseover/hover - the top (immediately above the <h1>
>> heading) and third link bar down (the one starting with a link to a
>> payment calculator) are particularly puzzling. Then of course there's the
>> very different appearance of the two pages due (I presume) to the
>> different ways linking and @importing are handled. Any guidance or
>> enlightenment VERY gratefully received.
>>
>> TIA,
>>
>> Dan
>> --
>> Dan E
>> webbie(removethis)@preferredcountry.com
>>

>
>



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      7th Feb 2005
You're welcome.

Go Eagles.... 8)

--
Murray

"Dan E" <webbie(removethis)@preferredcountry.com> wrote in message
news:(E-Mail Removed)...
> Thanks again, Murray.
>
> Dan
> "Murray" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> See my previous response. Your syntax is wrong.
>>
>> --
>> Murray
>>
>> "Dan E" <webbie(removethis)@preferredcountry.com> wrote in message
>> news:(E-Mail Removed)...
>>> I'm experiencing problems with linked external style sheets (some styled
>>> elements don't always appear as they ought), and, thinking some of those
>>> problems may be to do with the different ways linking and @importing
>>> work, I tried changing from linking to @import. However, when I changed
>>> my HTML from link (the stylesheet) to "<!--import url(st11.css)-->" it
>>> screwed up the appearance of the page - seemed to change inheritance or
>>> precedence or something. I've published the two (identical) web pages
>>> in a test site here http://dellis.biz/sites/compare - the linked page is
>>> index.html, which comes up when opening the site, and index2.html uses
>>> @import. Actually, both pages are attached to dynamic web templates,
>>> which themselves use the same external style sheet. Index.html attaches
>>> to st11.dwt, which links to st11.css, and index2.html uses st11_2.dwt,
>>> which @imports st11.css but is otherwise identical. I've put a
>>> hyperlink to index_2 in the home page for convenience. Note that URLs
>>> for this site are case-sensitive. If anyone would care to take a look
>>> and point out the problem(s), I'd be REALLY grateful.... What I'm
>>> trying to do (among other things) is to control the appearance of all
>>> the link bar links, so that they use black or Teal as normal appearance,
>>> changing to red underlined on mouseover/hover - the top (immediately
>>> above the <h1> heading) and third link bar down (the one starting with a
>>> link to a payment calculator) are particularly puzzling. Then of course
>>> there's the very different appearance of the two pages due (I presume)
>>> to the different ways linking and @importing are handled. Any guidance
>>> or enlightenment VERY gratefully received.
>>>
>>> TIA,
>>>
>>> Dan
>>> --
>>> Dan E
>>> webbie(removethis)@preferredcountry.com
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link to XLS or Import DBF Bob Barnes Microsoft Access 3 16th Oct 2009 06:47 PM
LINK OR IMPORT =?Utf-8?B?YW5naWU=?= Microsoft Access External Data 1 13th Oct 2006 03:38 PM
Link/import/drop link DBF file via VBA =?Utf-8?B?S2hvYQ==?= Microsoft Access External Data 0 6th Aug 2006 03:20 PM
To link, or to import? =?Utf-8?B?dGF1c3lzb3A=?= Microsoft Access 3 16th Dec 2004 04:36 AM
Is it better to import ot to link? HERNAN CASTRO Microsoft Access External Data 3 11th Feb 2004 04:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 AM.