chrisp Posted November 7, 2007 Report Share Posted November 7, 2007 Kā piesaistīt css failu php lapai tā, lai php lapā vājadzētu mainīt tikai class Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 7, 2007 Report Share Posted November 7, 2007 chrisp --> neka ... jo PHP nav nekada sakara ar CSS ... un class nozime pavisam ko citu ...... Link to comment Share on other sites More sharing options...
Vebers Posted November 7, 2007 Report Share Posted November 7, 2007 Laps augšā (<head> sadaļā ) ieliec <link href="style.css" type="text/css" rel="stylesheet" /> iekš faila style.css ieliec a { color: red; } PHP / html failā ieliec to stylesheet. un ieksh body daļas <a href="#">zaļš links</a> Link to comment Share on other sites More sharing options...
andrisp Posted November 7, 2007 Report Share Posted November 7, 2007 Grey_Wolf, tu pat saprati, ko viņš grib ? :) Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 7, 2007 Report Share Posted November 7, 2007 andrisp --> jaa sapratu gan , bet ja varesi paskaidrot kaa ieksh PHP izmantot CSS tad tev zetons.... //Kā piesaistīt css failu php lapai tā, lai php lapā vājadzētu mainīt tikai class // Un es godigi atbildeju ka PHP ar CSS nav nekada sakara... Jebshu varbut es kljudos? Link to comment Share on other sites More sharing options...
Vebers Posted November 7, 2007 Report Share Posted November 7, 2007 Gandrīz vai var saprast ko viņš vēlas.. Link to comment Share on other sites More sharing options...
andrisp Posted November 7, 2007 Report Share Posted November 7, 2007 Nez, es vienalga nesaprotu, ko viņš grib izdarīt. :) Ja tikai piesaistīt css failu visām lapām, tad atbilde #3 jau visu pateica. Link to comment Share on other sites More sharing options...
Delfins Posted November 7, 2007 Report Share Posted November 7, 2007 Nu vispār jāsāk ar - kas ir PHP lapa!? Tik pat labi PHP varētu ģenerēt ASM kodu, kuru vēlāk kompilēs.. Link to comment Share on other sites More sharing options...
Kavacky Posted November 7, 2007 Report Share Posted November 7, 2007 Ai, Delfīn, netēlo tak galīgu dauni. (: Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 7, 2007 Report Share Posted November 7, 2007 Delfins --> uz PHP bazets ASM editors ;) Kruta ... (bet vispar kapec gan ne ...) Jo kursh gan ir teicis ka ar PHP obligati javeido Web lapas.... es teiksim esmu izmantojis PHP lai pardzitu / modificetu datus starp divam DB... un nekads HTML vispar netika izvadits..... , ta ka.... Link to comment Share on other sites More sharing options...
chrisp Posted November 7, 2007 Author Report Share Posted November 7, 2007 thank U Link to comment Share on other sites More sharing options...
Kavacky Posted November 7, 2007 Report Share Posted November 7, 2007 Yeah, un es ar PHP nodrošinu lustras ieslēgšanu/izslēgšanu, lai no gultas pa mobilo varētu gaismu regulēt, ja slinkums celties un iet 3m līdz slēdzim. Bet pamatdoma tad tai padarīšanai ir cita... Link to comment Share on other sites More sharing options...
Recommended Posts