December 20, 200817 yr Inline is in the page, exteral is in a seperate document External CSS saves you time, and saves download time
December 20, 200817 yr Inline is in the page, exteral is in a seperate documentExternal CSS saves you time, and saves download time Also inline css will take precedence over an external stylesheet. Pat
December 21, 200817 yr Also inline css will take precedence over an external stylesheet. Pat Wrong, What ever comes last is used. Example: <style> h1 { color: #fff; } </style> <link rel="stylesheet" type="text/css" media="all" href="index.css" /> <h1>WELCOME</h1> The external document will be used to color the title.
December 21, 200817 yr Wrong,What ever comes last is used. Example: <style> h1 { color: #fff; } </style> <link rel="stylesheet" type="text/css" media="all" href="index.css" /> <h1>WELCOME</h1> The external document will be used to color the title. Not sure if I am right here but I am sure inline means actually inline example. <p font-size="16px">Text</p> Will then overwrite whatever was in the external stylesheet for the p tag.
December 22, 200817 yr There's also the cardinal sin of: <p style=" color: red; font-size: 16pt; ">Some text</p> This is what most people refer to as inline styles.
December 22, 200817 yr I know what you mean. Tried to code a table for the first time recently and couldn't for the life of me figure it out immediately. Took some time and a bit of reference material before I could get it running right!
December 22, 200817 yr Ahh! okay! In that case inline CSS is only useful for testing, only time I use it.
December 23, 200817 yr Ahh! okay!In that case inline CSS is only useful for testing, only time I use it. Just don't use it at all! Editing the external style sheet rather than the main HTML document has to be much easier for building and testing IMHO.
December 23, 200817 yr You've had quite enough of people's time already with these one line questions. Now JFGI for more...
Create an account or sign in to comment