Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Internet
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Reply Start New Thread
 
Old 12-30-2014, 09:55 AM
 
24,488 posts, read 41,141,698 times
Reputation: 12920

Advertisements

Quote:
Originally Posted by Peregrine View Post
No they are not. There is usually just one css file that handles the whole site and multiple pages of html.
To have one CSS file for the entire site would be unusual.... and wildly inefficient.
Reply With Quote Quick reply to this message

 
Old 12-30-2014, 09:59 AM
 
Location: Denver
9,963 posts, read 18,499,454 times
Reputation: 6181
Don't ignore the JavaScript .js files, today's sites have many dynamic features (Ajax, node) that will effect the look and feel of the page.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:04 AM
 
24,488 posts, read 41,141,698 times
Reputation: 12920
Quote:
Originally Posted by Mach50 View Post
Don't ignore the JavaScript .js files, today's sites have many dynamic features (Ajax, node) that will effect the look and feel of the page.
node? In the browser?
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:14 AM
 
Location: Denver
9,963 posts, read 18,499,454 times
Reputation: 6181
Quote:
Originally Posted by NJBest View Post
node? In the browser?
You can write shared node modules for the browser and server.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:20 AM
 
24,488 posts, read 41,141,698 times
Reputation: 12920
Quote:
Originally Posted by Mach50 View Post
You can write shared node modules for the browser and server.
When a node module is run on the browser, it isn't a node module. It's a standard javascript (CommonJS) module. There's no node on the browser.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:23 AM
 
41,813 posts, read 51,051,710 times
Reputation: 17864
I prefer Firebug over the built in developer console in FF but I have been using it for years. You can just right click any part of the page and select inspect element(inspect element with firebug if it's installed). That will take you right to the HTML and corresponding CSS.


Firebug


Quote:
While we are on the subject, aren't CSS and HTML found in different places? They aren't found in the same group of code, are they?
You can find it in three places. Either in the head of the document, inline or external file. Preferably you want it in an external file. The beauty of CSS is you assign classes to your HTML, suppose you have right side DIV for navigation.

Quote:
<div class="rightnav"> ... </div>
In your external stylesheet:
Quote:
.rightnav
{
width: 20%;
}
You only need to change that single line in your external file and it's site wide. Also keep in mind it's Cascading Style Sheet.
Quote:
<p>Some Text</p>

<p class="spcialparagraph">Some Text</p>
Quote:
p
{
font-weight: normal;
}


p.spcialparagraph
{
font-weight: bold;
}
Each of those paragraphs would have different formatting.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:30 AM
 
24,488 posts, read 41,141,698 times
Reputation: 12920
I'm a big fan of Chrome's built-in inspector tools (which is what I use).

I do like how FireFox's solution is a browser built for developers from the ground up and how it integrates with your text editor, etc.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:31 AM
 
41,813 posts, read 51,051,710 times
Reputation: 17864
Quote:
Originally Posted by NJBest View Post
To have one CSS file for the entire site would be unusual.... and wildly inefficient.
That really depends, you're robbing peter to pay paul with the increased requests.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:33 AM
 
Location: Wandering.
3,549 posts, read 6,664,675 times
Reputation: 2704
Quote:
Originally Posted by thecoalman View Post
I prefer Firebug over the built in developer console in FF but I have been using it for years. You can just right click any part of the page and select inspect element(inspect element with firebug if it's installed). That will take you right to the HTML and corresponding CSS.

Firebug
I second the Firebug recommendation. It's a really great tool.
Reply With Quote Quick reply to this message
 
Old 12-30-2014, 10:38 AM
 
24,488 posts, read 41,141,698 times
Reputation: 12920
Quote:
Originally Posted by thecoalman View Post
That really depends, you're robbing peter to pay paul with the increased requests.
Only on the first load.
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Internet
Similar Threads

All times are GMT -6. The time now is 03:16 AM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top