external embedded or inline

S

shank

I use an external style sheet mostly.
But if I have attributes on my home page that will never be used elsewhere,
does it really make a difference if I just use the inline CSS and move on?
Are there potential hazards with inline? It just seems like embedded is
overkill and external just adds clutter to the *.css file.

thanks!
 
T

Toby A Inkster

shank said:
I use an external style sheet mostly.
But if I have attributes on my home page that will never be used elsewhere,
does it really make a difference if I just use the inline CSS and move on?
Are there potential hazards with inline? It just seems like embedded is
overkill and external just adds clutter to the *.css file.

Better to put page-specific styles into a <style>...</style> block in the
document head. Opera does weird things with inline styles if the user
enables their own style sheet.
 
W

William Tasso

shank said:
I use an external style sheet mostly.
But if I have attributes on my home page that will never be used
elsewhere, does it really make a difference if I just use the inline
CSS and move on? Are there potential hazards with inline? It just
seems like embedded is overkill and external just adds clutter to the
*.css file.

the 'hazards' are apparent rather than real until you repeat the style.

in addition it is a waste of bandwidth in situations where css is not
supported - your favourite se spider for example.
 
J

Jordge W. L.

shank said:
I use an external style sheet mostly.
But if I have attributes on my home page that will never be used elsewhere,
does it really make a difference if I just use the inline CSS and move on?
Are there potential hazards with inline? It just seems like embedded is
overkill and external just adds clutter to the *.css file.
i use inline styles if it's just one page. I havn't had any problems
with it so far...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top