Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
HTML and CSS in one file?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Markshall" data-source="post: 210629" data-attributes="member: 1872"><p>Header styling looks awful. It's possible by following <a href="http://devbest.com/members/sherlock.9520/" target="_blank">Sherlock</a> 's post but it's not recommended.</p><p> </p><p>Most people use separate files for CSS because if they have, say 4 pages on their website which all consist of the same CSS coding but then you decide you need to add/edit/remove something from the CSS, you will have to do it 4 times to make your website consistent.</p><p> </p><p>It's much better to use a separate CSS file because then you only have to update the CSS once and then it updates on every page it is linked to via <link type="text/css" rel="stylesheet" href="<em>css/global.css</em>" /></p></blockquote><p></p>
[QUOTE="Markshall, post: 210629, member: 1872"] Header styling looks awful. It's possible by following [URL='http://devbest.com/members/sherlock.9520/']Sherlock[/URL] 's post but it's not recommended. Most people use separate files for CSS because if they have, say 4 pages on their website which all consist of the same CSS coding but then you decide you need to add/edit/remove something from the CSS, you will have to do it 4 times to make your website consistent. It's much better to use a separate CSS file because then you only have to update the CSS once and then it updates on every page it is linked to via <link type="text/css" rel="stylesheet" href="[i]css/global.css[/i]" /> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
HTML and CSS in one file?
Top