Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › CSS Question: True or False
New Posts  All Forums:Forum Nav:

CSS Question: True or False

post #1 of 20
Thread Starter 
Hey,

I have a question that I need help with:
Quote:
A cascading style sheet (CSS) is a list of statements that defines in multiple locations how to display HTML/XHTML elements.

Would this statement be true or false?

The key word here is "in multiple locations" --> does this refer to the CSS file, or the HTML/XHTML files? Would you say that this term is ambiguous?

If "in multiple locations" refers to the CSS file, then the question would technically be false. If it refers to the HTML files, then it would be true. This is what I think.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 @ 4.35GHz Asus Rampage II Extreme + NBMAX 2 x EVGA GTX 295 G.SKILL Trident 6GB 2000mhz 
Hard DriveOptical DriveOSMonitor
WD Caviar Black + OCZ Agility 120GB SSD Samsung External Blu-Ray Vista 64-Bit Premium / Windows 7 Ultimate 64 Acer H243H 24" @ 1920x1080 
KeyboardPowerCaseMouse
Logitech Classic Keyboard 200 Corsair HX1000W yes Razer Mamba 
Mouse Pad
QcK+ 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 @ 4.35GHz Asus Rampage II Extreme + NBMAX 2 x EVGA GTX 295 G.SKILL Trident 6GB 2000mhz 
Hard DriveOptical DriveOSMonitor
WD Caviar Black + OCZ Agility 120GB SSD Samsung External Blu-Ray Vista 64-Bit Premium / Windows 7 Ultimate 64 Acer H243H 24" @ 1920x1080 
KeyboardPowerCaseMouse
Logitech Classic Keyboard 200 Corsair HX1000W yes Razer Mamba 
Mouse Pad
QcK+ 
  hide details  
Reply
post #2 of 20
I would have to say TRUE
CHILZ - Lan Rig
(17 items)
 
CANARY - Main Rig
(16 items)
 
CADILLAC - HTPC
(14 items)
 
CPUMotherboardGraphicsRAM
Intel i5-4570s Asus H97M-Plus AMD R9 280 G.Skill RipjawsX 16 GB (2x8) 
Hard DriveHard DriveHard DriveCooling
250 GB Samsung 840 240 GB Kingston 3 TB USB 3.0 Drive Custom Loop 
OSMonitorKeyboardPower
Windows 10 Preview BenQ GL2450 Filco MajesTouch2 Ninja PC P&C Silencer Mk III 600 W 
CaseMouseMouse PadAudio
Fractal Design Core 1000 Mionix Castor Monoprice XXL JL Amps + Custom Morel Bookshelf speakers 
Other
Scythe Kama-Panel 3 
CPUMotherboardGraphicsRAM
FX-8150 @ 4.6 GHz Fatal1ty 990FX Pro 9800 GTX+ 512 MB G.Skill Ripjaws X 1866 CL9 
Hard DriveHard DriveCoolingOS
120 GB OCZ Vertex 3 1 TB WD Black 5x 120mm + MCP350 + EK Supreme HF + MicroRes Windows 8 Consumer Preview 
MonitorKeyboardPowerCase
2x Dell U2212HM Logitech G110 Cooler Master 850W Silent Pro Cooler Master 690 II Adv. 
MouseMouse PadAudio
Razer Death Adder 3.5G Staples Gel Cushion Asus Xonar DG + Senn. PC333D 
CPUMotherboardGraphicsRAM
Q6600 Acer X1800 ATI 5670 2 GB Kingston 
Hard DriveOptical DriveOSMonitor
2 TB WD Green Asus BD-R Windows 7 Home Premium Sony 50" LCD 
KeyboardPowerCaseMouse
Acer Media 220 W SFF Acer X1800 Acer Optical 
Mouse PadAudio
The TV cabinet Denon 2808 7.1 AVR + Dahlquist 350W 8" Sub + Kl... 
  hide details  
Reply
CHILZ - Lan Rig
(17 items)
 
CANARY - Main Rig
(16 items)
 
CADILLAC - HTPC
(14 items)
 
CPUMotherboardGraphicsRAM
Intel i5-4570s Asus H97M-Plus AMD R9 280 G.Skill RipjawsX 16 GB (2x8) 
Hard DriveHard DriveHard DriveCooling
250 GB Samsung 840 240 GB Kingston 3 TB USB 3.0 Drive Custom Loop 
OSMonitorKeyboardPower
Windows 10 Preview BenQ GL2450 Filco MajesTouch2 Ninja PC P&C Silencer Mk III 600 W 
CaseMouseMouse PadAudio
Fractal Design Core 1000 Mionix Castor Monoprice XXL JL Amps + Custom Morel Bookshelf speakers 
Other
Scythe Kama-Panel 3 
CPUMotherboardGraphicsRAM
FX-8150 @ 4.6 GHz Fatal1ty 990FX Pro 9800 GTX+ 512 MB G.Skill Ripjaws X 1866 CL9 
Hard DriveHard DriveCoolingOS
120 GB OCZ Vertex 3 1 TB WD Black 5x 120mm + MCP350 + EK Supreme HF + MicroRes Windows 8 Consumer Preview 
MonitorKeyboardPowerCase
2x Dell U2212HM Logitech G110 Cooler Master 850W Silent Pro Cooler Master 690 II Adv. 
MouseMouse PadAudio
Razer Death Adder 3.5G Staples Gel Cushion Asus Xonar DG + Senn. PC333D 
CPUMotherboardGraphicsRAM
Q6600 Acer X1800 ATI 5670 2 GB Kingston 
Hard DriveOptical DriveOSMonitor
2 TB WD Green Asus BD-R Windows 7 Home Premium Sony 50" LCD 
KeyboardPowerCaseMouse
Acer Media 220 W SFF Acer X1800 Acer Optical 
Mouse PadAudio
The TV cabinet Denon 2808 7.1 AVR + Dahlquist 350W 8" Sub + Kl... 
  hide details  
Reply
post #3 of 20
I also think it's true.
Quote:
Style rules can be specified for a single element occurrence, multiple elements, an entire document, or even multiple documents at once.
Fractal Design
(15 items)
 
775 4 life
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 2600K Biostar TP67XE NVidia GTX 570 Crucial Ballistix 
Hard DriveHard DriveCoolingOS
Crucial C300 RealSSD SDD Samsung F4 2TB Noctua NH-D14 Windows 7 Professional x64 
MonitorMonitorKeyboardPower
Asus VH202T 20'' 1600x900 Acer P244W 24" 1920 x 1080 Apple Keyboard with Numeric Keypad SeaSonic M12II 620W 
CaseMouseAudio
Fractal Design Define XL Titanium Grey Razor Abyssus Creative Sound Blaster X-FI Xtreme Gamer 
CPUMotherboardGraphicsRAM
Intel X3350 3.2Ghz @ 1.25v Gigabyte-GA-P35-DS3L (rev 2) XFX 4870 1GB 4GB OCZ Reaper PC2-6400 
RAMHard DriveHard DriveOptical Drive
2GB Corsair XMS2 PC2-6400 Crucial C300 64GB SSD 2TB Samsung Spinpoint F4 Sony Super Multi 
OSMonitorPowerCase
Windows 7 Professional x64 SP1 Asus VH202T 20'' 1600x900 SeaSonic M12II 620W Cooler Master Centurion 5 
Mouse
Razor Abyssus 
CPUMotherboardGraphicsRAM
Core i5-520M Lenovo 2522BF3 NVIDIA® Quadro® NVS3100M  Ramaxel Technology 4Gb DDR3 
Hard DriveOptical DriveOSMonitor
Samsung SSD 128GB 1.8" Micro SATA  hl-dt-st dvdram gu10n Windows 7 Enterprise (64-bit) 14.1" WXGA (1280x800) display, anti-glare, LED ... 
Power
9-cell plus Slice battery 
  hide details  
Reply
Fractal Design
(15 items)
 
775 4 life
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 2600K Biostar TP67XE NVidia GTX 570 Crucial Ballistix 
Hard DriveHard DriveCoolingOS
Crucial C300 RealSSD SDD Samsung F4 2TB Noctua NH-D14 Windows 7 Professional x64 
MonitorMonitorKeyboardPower
Asus VH202T 20'' 1600x900 Acer P244W 24" 1920 x 1080 Apple Keyboard with Numeric Keypad SeaSonic M12II 620W 
CaseMouseAudio
Fractal Design Define XL Titanium Grey Razor Abyssus Creative Sound Blaster X-FI Xtreme Gamer 
CPUMotherboardGraphicsRAM
Intel X3350 3.2Ghz @ 1.25v Gigabyte-GA-P35-DS3L (rev 2) XFX 4870 1GB 4GB OCZ Reaper PC2-6400 
RAMHard DriveHard DriveOptical Drive
2GB Corsair XMS2 PC2-6400 Crucial C300 64GB SSD 2TB Samsung Spinpoint F4 Sony Super Multi 
OSMonitorPowerCase
Windows 7 Professional x64 SP1 Asus VH202T 20'' 1600x900 SeaSonic M12II 620W Cooler Master Centurion 5 
Mouse
Razor Abyssus 
CPUMotherboardGraphicsRAM
Core i5-520M Lenovo 2522BF3 NVIDIA® Quadro® NVS3100M  Ramaxel Technology 4Gb DDR3 
Hard DriveOptical DriveOSMonitor
Samsung SSD 128GB 1.8" Micro SATA  hl-dt-st dvdram gu10n Windows 7 Enterprise (64-bit) 14.1" WXGA (1280x800) display, anti-glare, LED ... 
Power
9-cell plus Slice battery 
  hide details  
Reply
post #4 of 20
I'm with you, I think the question is ambiguous. I'd clarify it with your prof/teacher first. I hate trick questions.
 
dm1z
(13 items)
 
 
CPUMotherboardGraphicsRAM
2500K P8P67 Evo MSI RX 480 Sniper|1600 
Hard DriveCoolingOSMonitor
Intel 330 Hyper 212+ Win8-x64 P2310H + P2311H 
PowerCase
CMPSU-650TX NZXT S340 
CPUGraphicsRAMHard Drive
Dual-Core E-350 Radeon HD 6310M 3GB DDR3 HDD 
Optical DriveOSMonitorMouse
HP External BluRay/DVD Windows 7 Home Premium 11.6" LED (1366 x 768) Touch 
CPUMotherboardGraphicsRAM
Phenom II 840T 880GM-LE GTS 450 Corsair XMS2 2x2GB 
Hard DriveOptical DriveCoolingOS
Caviar Green 1TB LG Scythe KATANA 3 Windows 7 Professional 32-bit 
PowerCase
CX430 V2 Dell 
  hide details  
Reply
 
dm1z
(13 items)
 
 
CPUMotherboardGraphicsRAM
2500K P8P67 Evo MSI RX 480 Sniper|1600 
Hard DriveCoolingOSMonitor
Intel 330 Hyper 212+ Win8-x64 P2310H + P2311H 
PowerCase
CMPSU-650TX NZXT S340 
CPUGraphicsRAMHard Drive
Dual-Core E-350 Radeon HD 6310M 3GB DDR3 HDD 
Optical DriveOSMonitorMouse
HP External BluRay/DVD Windows 7 Home Premium 11.6" LED (1366 x 768) Touch 
CPUMotherboardGraphicsRAM
Phenom II 840T 880GM-LE GTS 450 Corsair XMS2 2x2GB 
Hard DriveOptical DriveCoolingOS
Caviar Green 1TB LG Scythe KATANA 3 Windows 7 Professional 32-bit 
PowerCase
CX430 V2 Dell 
  hide details  
Reply
post #5 of 20
Quote:
Originally Posted by onoz View Post

I'm with you, I think the question is ambiguous. I'd clarify it with your prof/teacher first. I hate trick questions.


 

Yep. Needs to be clarified.

Nostromo
(16 items)
 
Dogstar-8
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5 2500K Gigabyte Z68XP-UD4 2 Sapphire 6850 Xfire Gskill 10666 
Hard DriveHard DriveHard DriveOptical Drive
Corsair Force 3 3x 150GB Velociraptor RAID 0 wd 1001fals LightScribe 22x DVD-RW 
OSMonitorKeyboardPower
W7x64 Ultimate 7600 3X Samsung 2333 23'' Ducky YOTD Blue Led / Cherry Blues + Belkin n52te Corsair HX750w 
CaseMouseMouse PadAudio
Obsidian 700D Razer Lachesis Razer Goliathus Creative X-Fi 
CPUMotherboardGraphicsRAM
E7500 Zotac 9300-G-E Zotac 9800GT 4 GB Corsair DDR2 800 
Hard DriveOptical DriveOSMonitor
OCZ Vertex 30GB, WD1001fals Liteon Blu-Ray Reader Windows 7 Pro x64 Samsung 42'' Plasma 
PowerCase
Enermax Liberty 400w Lian-Li Q07 
  hide details  
Reply
Nostromo
(16 items)
 
Dogstar-8
(13 items)
 
 
CPUMotherboardGraphicsRAM
i5 2500K Gigabyte Z68XP-UD4 2 Sapphire 6850 Xfire Gskill 10666 
Hard DriveHard DriveHard DriveOptical Drive
Corsair Force 3 3x 150GB Velociraptor RAID 0 wd 1001fals LightScribe 22x DVD-RW 
OSMonitorKeyboardPower
W7x64 Ultimate 7600 3X Samsung 2333 23'' Ducky YOTD Blue Led / Cherry Blues + Belkin n52te Corsair HX750w 
CaseMouseMouse PadAudio
Obsidian 700D Razer Lachesis Razer Goliathus Creative X-Fi 
CPUMotherboardGraphicsRAM
E7500 Zotac 9300-G-E Zotac 9800GT 4 GB Corsair DDR2 800 
Hard DriveOptical DriveOSMonitor
OCZ Vertex 30GB, WD1001fals Liteon Blu-Ray Reader Windows 7 Pro x64 Samsung 42'' Plasma 
PowerCase
Enermax Liberty 400w Lian-Li Q07 
  hide details  
Reply
post #6 of 20
it is false.. the question sounds like its referring to the css code snipet... which is designed so that all the styling can be controlled in ONE PLACE. that is why it is used over the conventional HTML styling. Also a properly formatted website can have thousands of pages.. with only one css file controlling them all... this makes it fast and easy to locate and change any part of a web site from one location

did you leave out a comma
Quote:
A cascading style sheet (CSS) is a list of statements, that defines in multiple locations, how to display HTML/XHTML elements.

Edited by Onions - 4/4/12 at 1:23pm
post #7 of 20
Quote:
Originally Posted by Onions View Post

it is false.. the question sounds like its referring to the css code snipet... which is designed so that all the styling can be controlled in ONE PLACE. that is why it is used over the conventional HTML styling. Also a properly formatted website can have thousands of pages.. with only one css file controlling them all... this makes it fast and easy to locate and change any part of a web site from one location

What about with my personal website where I have a main.css for positioning and multiple .css for different colour themes that the user can select?
CHILZ - Lan Rig
(17 items)
 
CANARY - Main Rig
(16 items)
 
CADILLAC - HTPC
(14 items)
 
CPUMotherboardGraphicsRAM
Intel i5-4570s Asus H97M-Plus AMD R9 280 G.Skill RipjawsX 16 GB (2x8) 
Hard DriveHard DriveHard DriveCooling
250 GB Samsung 840 240 GB Kingston 3 TB USB 3.0 Drive Custom Loop 
OSMonitorKeyboardPower
Windows 10 Preview BenQ GL2450 Filco MajesTouch2 Ninja PC P&C Silencer Mk III 600 W 
CaseMouseMouse PadAudio
Fractal Design Core 1000 Mionix Castor Monoprice XXL JL Amps + Custom Morel Bookshelf speakers 
Other
Scythe Kama-Panel 3 
CPUMotherboardGraphicsRAM
FX-8150 @ 4.6 GHz Fatal1ty 990FX Pro 9800 GTX+ 512 MB G.Skill Ripjaws X 1866 CL9 
Hard DriveHard DriveCoolingOS
120 GB OCZ Vertex 3 1 TB WD Black 5x 120mm + MCP350 + EK Supreme HF + MicroRes Windows 8 Consumer Preview 
MonitorKeyboardPowerCase
2x Dell U2212HM Logitech G110 Cooler Master 850W Silent Pro Cooler Master 690 II Adv. 
MouseMouse PadAudio
Razer Death Adder 3.5G Staples Gel Cushion Asus Xonar DG + Senn. PC333D 
CPUMotherboardGraphicsRAM
Q6600 Acer X1800 ATI 5670 2 GB Kingston 
Hard DriveOptical DriveOSMonitor
2 TB WD Green Asus BD-R Windows 7 Home Premium Sony 50" LCD 
KeyboardPowerCaseMouse
Acer Media 220 W SFF Acer X1800 Acer Optical 
Mouse PadAudio
The TV cabinet Denon 2808 7.1 AVR + Dahlquist 350W 8" Sub + Kl... 
  hide details  
Reply
CHILZ - Lan Rig
(17 items)
 
CANARY - Main Rig
(16 items)
 
CADILLAC - HTPC
(14 items)
 
CPUMotherboardGraphicsRAM
Intel i5-4570s Asus H97M-Plus AMD R9 280 G.Skill RipjawsX 16 GB (2x8) 
Hard DriveHard DriveHard DriveCooling
250 GB Samsung 840 240 GB Kingston 3 TB USB 3.0 Drive Custom Loop 
OSMonitorKeyboardPower
Windows 10 Preview BenQ GL2450 Filco MajesTouch2 Ninja PC P&C Silencer Mk III 600 W 
CaseMouseMouse PadAudio
Fractal Design Core 1000 Mionix Castor Monoprice XXL JL Amps + Custom Morel Bookshelf speakers 
Other
Scythe Kama-Panel 3 
CPUMotherboardGraphicsRAM
FX-8150 @ 4.6 GHz Fatal1ty 990FX Pro 9800 GTX+ 512 MB G.Skill Ripjaws X 1866 CL9 
Hard DriveHard DriveCoolingOS
120 GB OCZ Vertex 3 1 TB WD Black 5x 120mm + MCP350 + EK Supreme HF + MicroRes Windows 8 Consumer Preview 
MonitorKeyboardPowerCase
2x Dell U2212HM Logitech G110 Cooler Master 850W Silent Pro Cooler Master 690 II Adv. 
MouseMouse PadAudio
Razer Death Adder 3.5G Staples Gel Cushion Asus Xonar DG + Senn. PC333D 
CPUMotherboardGraphicsRAM
Q6600 Acer X1800 ATI 5670 2 GB Kingston 
Hard DriveOptical DriveOSMonitor
2 TB WD Green Asus BD-R Windows 7 Home Premium Sony 50" LCD 
KeyboardPowerCaseMouse
Acer Media 220 W SFF Acer X1800 Acer Optical 
Mouse PadAudio
The TV cabinet Denon 2808 7.1 AVR + Dahlquist 350W 8" Sub + Kl... 
  hide details  
Reply
post #8 of 20
Quote:
If "in multiple locations" refers to the CSS file, then the question would technically be false.

I'm not seeing how it doesn't refer to the CSS file. Also, I'm not seeing how it "would technically be false," either.

In short: True
post #9 of 20
Thread Starter 
the question is, word for word, from an online quiz I took. I put True as an answer but I got it wrong, so I wanted to see if it was worth arguing to get the mark.

THanks everyone!
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 @ 4.35GHz Asus Rampage II Extreme + NBMAX 2 x EVGA GTX 295 G.SKILL Trident 6GB 2000mhz 
Hard DriveOptical DriveOSMonitor
WD Caviar Black + OCZ Agility 120GB SSD Samsung External Blu-Ray Vista 64-Bit Premium / Windows 7 Ultimate 64 Acer H243H 24" @ 1920x1080 
KeyboardPowerCaseMouse
Logitech Classic Keyboard 200 Corsair HX1000W yes Razer Mamba 
Mouse Pad
QcK+ 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 @ 4.35GHz Asus Rampage II Extreme + NBMAX 2 x EVGA GTX 295 G.SKILL Trident 6GB 2000mhz 
Hard DriveOptical DriveOSMonitor
WD Caviar Black + OCZ Agility 120GB SSD Samsung External Blu-Ray Vista 64-Bit Premium / Windows 7 Ultimate 64 Acer H243H 24" @ 1920x1080 
KeyboardPowerCaseMouse
Logitech Classic Keyboard 200 Corsair HX1000W yes Razer Mamba 
Mouse Pad
QcK+ 
  hide details  
Reply
post #10 of 20
Quote:
Originally Posted by axipher View Post

What about with my personal website where I have a main.css for positioning and multiple .css for different colour themes that the user can select?

well do most websites allow you to change your theme wink.gif and you could do it all in one file jsut id the style tags
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › CSS Question: True or False