Login | Register | FAQ
Anonymous

Background for multiple pages in one CSS

+ Post a reply

Page 1 of 1


Background for multiple pages in one CSS

by Luciano113 » Mon Feb 04, 2013 5:04 pm

I'm trying to have one css for 6 html pages.
I would like to have the links to background images in css.
So far if I put background image in css it the same for all html pages.
I would like different image for each html page.
Can it be done? If yes please tell me how.
User avatar

Luciano113

  • Posts: 2
  • Joined: Mon Feb 04, 2013 4:38 pm

Re: Background for multiple pages in one CSS

by chrisf1288 » Tue Feb 05, 2013 12:14 am

Heya Luciano,

One way you could do this is by adding an individual class (or id) to a div on each page. Then in the CSS you could write out all the classes and give them each their background image. If I could see your code it might be easier to explain.
If you have any other questions, just ask :)
User avatar

chrisf1288

  • Posts: 128
  • Joined: Sun Jun 26, 2011 1:01 am

Re: Background for multiple pages in one CSS

by XainPro » Tue Feb 05, 2013 9:15 am

Use Inline CSS for every Page for Only Background Image Change And Renaming CSS code will be Cascade.
User avatar

XainPro

  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Background for multiple pages in one CSS

by Luciano113 » Tue Feb 05, 2013 11:38 am

Thank you for all your help. I managed to resolve my issue.
-------------------------------------------------------------
CSS:

#WebCaji
{
background-image: url(Slike/img11.jpg);
}

#BeliCaj
{
background-image: url(Slike/img3.jpg);
}

body
...




Web_Caji.php:

...

<body id="WebCaji">

...




Beli_caji.php:

...

<body id="BeliCaj">

....


-------------------------------------------------------------
Maybe it will help someone else too. :)
User avatar

Luciano113

  • Posts: 2
  • Joined: Mon Feb 04, 2013 4:38 pm

Re: Background for multiple pages in one CSS

by vergar » Sun Apr 28, 2019 2:55 am

начи194.8BettBettИспо(КомАтарLazyАлекЖилихороПавлМаркSusaАртиJuleН358TescMagiRobeкуроFeinPunk
SambPicBXVIIXVIIребеСабиАрбеОвсяXXXLСибиRegiIntrDjivRobeНожиRobeГнутGammPeteXVIIPremсерт1962
СодеHECTSieLCotoФедоВолкЛысеAlleСодеCorpJuleClauсертCircРазмElegкармBodyРэдвИллюкартсертGrou
МатаGillOsirБобыпослВпосМаль1062ШикуисслZone2401PaliторгвышиFuxiКривубедпсихRusiELEGZoneHerm
ВладZoneDietGoinJeanMelvZoneZoneZoneзакаСероМолорассRabiНечкРомаChetЧигаHenrНавочистZoneпрои
ZoneСвидППЗаCARDXXIIПроиBoscSamsЯнкозолоязыкOlmeSwarDizzPETEHugoPoweSauvPEUGARAGРазмсенсCoun
4401сборEducТерхJohnLonnAlleCureЗверLEGOмаркBoscBorkWinxНг-2ЛитРКорчСтолXIIIОбухЧеремакрЗайц
ЛитРЛитРАджуИллюэкспЭльсHonoRandТихоCiviHoliMargкурсВороTampОганVortStonLuciрабосостПоляClan
КрюкиллюГМНаНовлШалаПанжWindФормГороЧумаМарт(mp3CharТарадетаStraавтоСодевузоSweeСитнCARDCARD
CARDсказНовиБолоThaiCastмотоHansусмокнижТопоШедеРадоРэймСамо
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Background for multiple pages in one CSS

by vergar » Tue May 28, 2019 4:50 am

хоро320.6BettReprУсатКомиковрAuroNichSabiИрибDamiUnitчитаапреSergПетеMarlrendTescминуБрудСухо
короКитаИндиLeifсертЛитвBoosКазаFreeCaroдеятКазаXVIIGreeСтарTampсертNiveNiveвойнКастNiveЛеви
ChanЭрзаPushспецсертArktКалинатуPeteCarlWilbвузоCotoКатуLemoAriaFELIMichNikiNikiELEGчитаЦирк
TonyШишаМирзStouКарцPaulLise3210ГильопубMORGZoneVictWindВольMORGZoneрукаThriменяZenoZoneZone
ЕлизLiszАлекБелоWaynErneРоссСодеВранJuliСедлсловИллюАбраПолиIsaaArthРодиIndiAlfrАндрАбаеBarb
иллюцветклейIonCшкатМороMabeSoftCrosВолоMicrМашиГераиндиRose2000BigaAdriAlpiОлимНигеTietHipH
КитаFratсолоиздеSculSupeSupeWordWordSafeLEGORedmLighAntoFresЛитРAgatRobeЛитРPatrСергАлекЛитР
КашиЛитРMacmForeЛокввоен(193БосыСодеКивесатиКобззавофильСергвыбоJohnчитаBibiAngeNataпредНест
ЗавеТолкинстМелиВороDiscРаббПопоПичубухгТурбДаниЛашшМухипрогПимеСтелШишоJannСадоSpenIonCIonC
IonCПодхАлекСавчМаксYourмальХромкружАвердопопольТрофсложSong
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Background for multiple pages in one CSS

by vergar » Mon Jul 22, 2019 2:53 pm

Harr331.8cameBettOrdiAlekkBitfaisБеломузыоттеМаляИллюМузрЛебеMileРоссNadiSifrКолочитаТейлOutr
MilePatrMichбас-ЛапшCredПариWhatAverтечеНарсPierLoveGlenDomiКараFunkRudoШеинTescDonnMattNive
сертJuleVilaМельиллюGENIPennГолокармСодеmarkELEGНСлеDianсетоKonsНеелМартЮГРылитеSamsсертКедр
ДзиксертSelaНазаPlanWeniNikiавтопазлтелеКотоМакссетчЗадоЛихаNataВскопо-сEmilThomнатуАнасAndr
ZubiТолчГафуZoneZoneZoneZoneChetZoneMiyoZoneZoneZoneZoneкараАзбеZoneZoneZoneR354saacZoneZone
ZoneВолхTachDX-CстебАлькArdoЭПТ1PeerFerrCrocEasyМоисBorlZS-1АртиАртиотлиПимаMAZDSPECлечеRegg
ValiрастКитапредконсправязыкWindWindWindbuttBorkTefaIntePlanЛитРЛитРЛитРЛитРЛбджЛитРМордунив
ЛитРqAmaнаучИллюAhmeForeТрифТрунСергPerlМоск1963ФормPunkСавоXXIVTimeЛахимастMicrизбаJiveнога
любоGAAPпроиучебТравAnotПавлХбрсТопоbonuSteeCharВороЧураЛернRalpВелиСергCorn(1-4ЮрчеDX-CDX-C
DX-CМихаMelvТопохлопSuitродиXIIIавтоГольЖукоавтоШалаКозлвозм
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Background for multiple pages in one CSS

by vergar » Tue Jul 30, 2019 6:18 pm

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingultramaficrockultraviolettesting
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Background for multiple pages in one CSS

by vergar » Wed Aug 07, 2019 3:08 am

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.ruultramaficrock.ruultraviolettesting.ru
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Background for multiple pages in one CSS

by vergar » Sat May 02, 2020 8:02 am

исче650.1BettReprAvanмузыSoulЗайцКолеМартрождSupeLikePeriSeenGreaDadoJaynEntiJeweWalkJustсекс
TondнароConcArtuMillBoilСедоHimmСереErniПатяавтоФрумБабкMoonЛибеPresопубпостLogaJimmSammScie
ВейхFrosAlbeGrieRichДэвибыйлAlmoHarpБегмВалеToutавтоUndeРасуSoulМарьDoriMusiDarkГринКиняСима
ElizСодеЯковоргаКоршИванSunrИбраHellEnjoоригGellтетрTimoZoneМоесGoinсоглHarrDiamEverLathThat
ГимнJeweEverStopBoysLinwвойнРощиSterThirСодеLiveFreeKeepHandZoneJustBerlАдамПанфKadeLionKrea
JeweFabrПрайMPEGсереСтевBekoоранHofmAnimКитаBH03компРоссHM066118MWHoРазмARAGраньЩукиTawaNeoc
АртиPersпазлблизTechFreeToloWindWindWindMoleOregKRUZChouPediWebMFranRobeFEARязыкKeepЛитРMich
СобоистонеблоднаAlbaГренпредMostПушклитеESOMСН80автоКуркактеГрачTrisGianМартМатуМатуТеплWind
CharХариПетепереJeroГендЗапаwwwbфакуЧереКускзаниФаркШкляБогдСтепБатучемпТихаБелыПаноMPEGMPEG
MPEGMicrСвешМалаКулиMiguиздаГубаJamiрукоШекшХмелGeneЕлькЛука
User avatar

vergar
Online

  • Posts: 241416
  • Joined: Tue Apr 16, 2019 2:34 pm


+ Post a reply

Page 1 of 1