Css?

Status
Not open for further replies.

modlovecat

New Member
Messages
30
Reaction score
0
Points
0
Sorry I didnt know where the most appropriote area to post this was, but I was just wondering id x10hosting supported CSS coding? I cant get it to work in my cpanel.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
CSS is browser (Client) side. So yes you can use it.

*Moved to Programming Help*
 

modlovecat

New Member
Messages
30
Reaction score
0
Points
0
Well its not showing up for me, can you give me some advice as to what I am missing? like how html needs the <html> code, does css need that?

here is what it shows up as: modlovecat.x10hosting.com/Csslayout.html
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
A CSS file needs to have a .css file extension (rename the file changing .html to .css)
and then you need to include the css file into your HTML page using this code:
<link rel="stylesheet" href="path/to/css/file.css" type="text/css" />
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Either that or
HTML:
<style type="text/css">
/* CSS code here */
</style>
in your head tag
 
Status
Not open for further replies.
Top