Click here to Skip to main content
16,013,322 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: VBScript for ASP Pin
Nick Parker9-Jul-02 8:30
protectorNick Parker9-Jul-02 8:30 
GeneralForm in table - height Pin
peterchen9-Jul-02 6:11
peterchen9-Jul-02 6:11 
GeneralRe: Form in table - height Pin
Roger Wright9-Jul-02 6:49
professionalRoger Wright9-Jul-02 6:49 
GeneralRe: Form in table - height Pin
Richard Deeming10-Jul-02 1:17
mveRichard Deeming10-Jul-02 1:17 
GeneralRe: Form in table - height Pin
peterchen10-Jul-02 2:45
peterchen10-Jul-02 2:45 
GeneralCSS Newbie Pin
Michael Martin9-Jul-02 0:51
professionalMichael Martin9-Jul-02 0:51 
GeneralRe: CSS Newbie Pin
hotlemonade9-Jul-02 3:41
hotlemonade9-Jul-02 3:41 
GeneralRe: CSS Newbie Pin
Paul Watson9-Jul-02 3:41
sitebuilderPaul Watson9-Jul-02 3:41 
Michael Martin wrote:
@import url(my.css);

Which is the best method to use, either by standard or browser compatibility.


The @import way is a more recent invention and so is not supported by older browsers like Netscape 4.x.

However this is a good thing as you can then have two different style sheets, one for Netscape 4.x and one for more recent browsers. Netscape 4.x will ignore the @import line and so effectively ignore the more modern CSS file. Modern browsers will pick up both links, but if you place the @import after the link rel="stylesheet" href="my.css" line then the @import overrides the older one.

Useful stuff for browser compatibility problems.

So to answer your question: Both are perfectly acceptable, but really for now only use @import if you know what you are doing.


Michael Martin wrote:
seem to be getting the everything except the colour. Any idea what I am doing wrong?

Ditch the equal signs (font-size=18pt) and go back to using the colon (font-size:18pt)

Smile | :)

regards,
Paul Watson
Bluegrass
Cape Town, South Africa

The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge

Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
GeneralRe: CSS Newbie Pin
Michael Martin9-Jul-02 4:12
professionalMichael Martin9-Jul-02 4:12 
GeneralRe: CSS Newbie Pin
Paul Watson9-Jul-02 4:27
sitebuilderPaul Watson9-Jul-02 4:27 
GeneralRe: CSS Newbie Pin
Roger Wright9-Jul-02 4:14
professionalRoger Wright9-Jul-02 4:14 
GeneralRe: CSS Newbie Pin
Domenic Denicola9-Jul-02 4:41
Domenic Denicola9-Jul-02 4:41 
GeneralRe: CSS Newbie Pin
Roger Wright9-Jul-02 4:49
professionalRoger Wright9-Jul-02 4:49 
GeneralRe: CSS Newbie Pin
Michael Martin10-Jul-02 3:16
professionalMichael Martin10-Jul-02 3:16 
GeneralDiscarding Objects Pin
Roger Wright8-Jul-02 6:17
professionalRoger Wright8-Jul-02 6:17 
GeneralRe: Discarding Objects Pin
Steven Szelei8-Jul-02 8:10
Steven Szelei8-Jul-02 8:10 
GeneralRe: Discarding Objects Pin
Roger Wright8-Jul-02 8:15
professionalRoger Wright8-Jul-02 8:15 
GeneralRe: Discarding Objects Pin
Jeremy Falcon8-Jul-02 10:30
professionalJeremy Falcon8-Jul-02 10:30 
GeneralGet Host Address Pin
Jason Weibel8-Jul-02 5:11
Jason Weibel8-Jul-02 5:11 
GeneralRe: Get Host Address Pin
Richard Deeming9-Jul-02 2:46
mveRichard Deeming9-Jul-02 2:46 
GeneralRe: (PHP) Destroying variables Pin
Not Active8-Jul-02 3:21
mentorNot Active8-Jul-02 3:21 
GeneralRe: (PHP) Destroying variables Pin
Not Active8-Jul-02 4:37
mentorNot Active8-Jul-02 4:37 
GeneralRe: (PHP) Destroying variables Pin
Rickard Andersson208-Jul-02 4:56
Rickard Andersson208-Jul-02 4:56 
GeneralRe: (PHP) Destroying variables Pin
Jeremy Falcon8-Jul-02 5:16
professionalJeremy Falcon8-Jul-02 5:16 
GeneralRe: (PHP) Destroying variables Pin
Nnamdi Onyeyiri8-Jul-02 6:06
Nnamdi Onyeyiri8-Jul-02 6:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.